Mark message as read
Marks a message as read. This indicates that the user has read the message content. Read more about message engagement statuses here.
Path parameters
The unique identifier for the message.
Response
OK
Example response
{
"__typename": "Message",
"actors": [
"mr_arnold",
"mr_muldoon"
],
"archived_at": null,
"channel_id": "123e4567-e89b-12d3-a456-426614174000",
"clicked_at": null,
"data": {
"affected_areas": [
"visitor_center",
"raptor_pen",
"trex_paddock"
],
"attraction_id": "paddock_rex_01",
"evacuation_protocol": "active",
"message": "Life finds a way",
"severity": "critical",
"system_status": "fences_failing"
},
"engagement_statuses": [
"read",
"seen"
],
"id": "2w3YUpTTOxuDvZFji8OMsKrG176",
"inserted_at": "1993-06-11T21:15:00Z",
"interacted_at": null,
"link_clicked_at": null,
"metadata": {
"external_id": "123e4567-e89b-12d3-a456-426614174000"
},
"read_at": "1993-06-11T21:30:00Z",
"recipient": "dr_grant",
"scheduled_at": null,
"seen_at": "1993-06-11T21:29:45Z",
"source": {
"__typename": "NotificationSource",
"categories": [
"security",
"emergency"
],
"key": "security-breach-alert",
"step_ref": "alert_step_1",
"version_id": "123e4567-e89b-12d3-a456-426614174000",
"workflow_recipient_run_id": "def01234-a56b-78c9-d012-345678901bcd",
"workflow_run_id": "789e0123-f45a-67b8-c901-234567890abc"
},
"status": "sent",
"tenant": "ingen_isla_nublar",
"updated_at": "1993-06-11T21:30:05Z",
"workflow": "security-breach-alert"
}Changes
Changed in 5 of the 30 revisions of this API.15
- ○
added the optional property
allOf[subschema #1: Message]/source/workflow_recipient_run_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #1: Message]/source/workflow_run_idto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
allOf[subschema #1: Message]/channelto the response with the200statusresponse-optional-property-added
- ○
response property
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
allOf[subschema #1: Message]/source/typeto the response with the200statusresponse-optional-property-added
- ○
- ○
the response property
allOf[subschema #1: Message]/__typenamebecame required for the status200response-property-became-required
- ○
the response property
allOf[subschema #1: Message]/channel_idbecame required for the status200response-property-became-required
- ○
the response property
allOf[subschema #1: Message]/engagement_statusesbecame required for the status200response-property-became-required
- ○
the response property
allOf[subschema #1: Message]/idbecame required for the status200response-property-became-required
- ○
the response property
allOf[subschema #1: Message]/inserted_atbecame required for the status200response-property-became-required
- ○
the response property
allOf[subschema #1: Message]/recipientbecame required for the status200response-property-became-required
- ○
the response property
allOf[subschema #1: Message]/sourcebecame required for the status200response-property-became-required
- ○
the response property
allOf[subschema #1: Message]/statusbecame required for the status200response-property-became-required
- ○
the response property
allOf[subschema #1: Message]/updated_atbecame required for the status200response-property-became-required
- ○
- ○
added the optional property
allOf[subschema #1: Message]/source/step_refto the response with the200statusresponse-optional-property-added
- ○