Mark a single inbox message
POST/api/v1/notifications/mark-inbox-message
Marks a specific inbox message as seen, read, unseen, or unread.
The following access conditions are preserved as declared intent and are not implemented by generated code: Authorized scoped domain action.
Use this in a guide: Build an in-app inbox
Request
Responses
- 200
Message marked successfully
Mark an existing inbox message as read.
Section ID: DOC-CP-notifications-api-markInboxMessageAs#example-notifications-markInboxMessageAs-request
Request example
{
"messageId": "msg_123",
"markAs": "MESSAGE_STATUS_READ"
}
Illustrative response shape; omitted default fields and actual outcomes depend on the operation.
Section ID: DOC-CP-notifications-api-markInboxMessageAs#example-notifications-markInboxMessageAs-response
Response example
{
"messages": [
{
"messageId": "example_123",
"channel": "example",
"read": true,
"seen": true,
"archived": true,
"content": "Example text",
"subject": "example",
"status": "example",
"createdAt": "example",
"lastReadDate": "example",
"lastSeenDate": "example"
}
]
}
Document ID: DOC-CP-notifications-api-markInboxMessageAs. Section identities and revisions.
| Section | Stable reference |
|---|---|
| Mark a single inbox message | DOC-CP-notifications-api-markInboxMessageAs#overview |
| Request | DOC-CP-notifications-api-markInboxMessageAs#request |
| Responses | DOC-CP-notifications-api-markInboxMessageAs#responses |