Skip to main content

Mark all inbox messages

POST 

/api/v1/notifications/mark-all-inbox-messages

Marks all inbox messages as seen, read, unseen, or unread. Optionally scoped to specific feed IDs.

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​

Messages marked successfully

Mark all inbox messages in the selected user scope as read.​

Section ID: DOC-CP-notifications-api-markAllInboxMessagesAs#example-notifications-markAllInboxMessagesAs-request

Request example

{
"markAs": "MESSAGE_STATUS_READ"
}

Illustrative response shape; omitted default fields and actual outcomes depend on the operation.​

Section ID: DOC-CP-notifications-api-markAllInboxMessagesAs#example-notifications-markAllInboxMessagesAs-response

Response example

{
"updatedCount": 1
}

Document ID: DOC-CP-notifications-api-markAllInboxMessagesAs. Section identities and revisions.

SectionStable reference
Mark all inbox messagesDOC-CP-notifications-api-markAllInboxMessagesAs#overview
RequestDOC-CP-notifications-api-markAllInboxMessagesAs#request
ResponsesDOC-CP-notifications-api-markAllInboxMessagesAs#responses