Mark messages as read
Marks the given messages as read. Read more about message engagement statuses here.
Request body
Example request
{
"message_ids": [
"2w3YUpTTOxuDvZFji8OMsKrG176",
"2w3YVRbPXMIh8Zq6oBFcVDA5xes"
]
}Response
OK
Example response
[
{
"__typename": "Message",
"actors": [
"user_123"
],
"archived_at": null,
"channel_id": "123e4567-e89b-12d3-a456-426614174000",
"clicked_at": null,
"data": {
"foo": "bar"
},
"engagement_statuses": [
"seen",
"read"
],
"id": "1jNaXzB2RZX3LY8wVQnfCKyPnv7",
"inserted_at": "2021-01-01T00:00:00Z",
"interacted_at": null,
"link_clicked_at": null,
"metadata": {
"external_id": "123e4567-e89b-12d3-a456-426614174000"
},
"read_at": "2025-01-01T00:02:00Z",
"recipient": "user_123",
"scheduled_at": null,
"seen_at": "2025-01-01T00:01:00Z",
"source": {
"__typename": "NotificationSource",
"categories": [
"collaboration"
],
"key": "comment-created",
"version_id": "123e4567-e89b-12d3-a456-426614174000"
},
"status": "sent",
"tenant": "tenant_123",
"updated_at": "2021-01-01T00:00:00Z",
"workflow": "comment-created"
}
]Changes
Changed in 5 of the 30 revisions of this API.15
- ○
added the optional property
items/allOf[subschema #1: Message]/source/workflow_recipient_run_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/allOf[subschema #1: Message]/source/workflow_run_idto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
items/allOf[subschema #1: Message]/channelto the response with the200statusresponse-optional-property-added
- ○
response property
items/allOf[subschema #1: Message]/channel_iddeprecatedresponse-property-deprecated
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the optional property
items/allOf[subschema #1: Message]/source/typeto the response with the200statusresponse-optional-property-added
- ○
- ○
the response property
items/allOf[subschema #1: Message]/__typenamebecame required for the status200response-property-became-required
- ○
the response property
items/allOf[subschema #1: Message]/channel_idbecame required for the status200response-property-became-required
- ○
the response property
items/allOf[subschema #1: Message]/engagement_statusesbecame required for the status200response-property-became-required
- ○
the response property
items/allOf[subschema #1: Message]/idbecame required for the status200response-property-became-required
- ○
the response property
items/allOf[subschema #1: Message]/inserted_atbecame required for the status200response-property-became-required
- ○
the response property
items/allOf[subschema #1: Message]/recipientbecame required for the status200response-property-became-required
- ○
the response property
items/allOf[subschema #1: Message]/sourcebecame required for the status200response-property-became-required
- ○
the response property
items/allOf[subschema #1: Message]/statusbecame required for the status200response-property-became-required
- ○
the response property
items/allOf[subschema #1: Message]/updated_atbecame required for the status200response-property-became-required
- ○
- ○
added the optional property
items/allOf[subschema #1: Message]/source/step_refto the response with the200statusresponse-optional-property-added
- ○