Messages
Mark messages as interacted
Marks the given messages as interacted with by the user. This can include any user action on the message, with optional metadata about the specific interaction. Cannot include more than 5 key-value pairs, must not contain nested data. Read more about message engagement statuses here.
post/v1/messages/batch/interacted
Request body
Example request
{
"message_ids": [
"1jNaXzB2RZX3LY8wVQnfCKyPnv7"
],
"metadata": {
"key": "value"
}
}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",
"interacted"
],
"id": "1jNaXzB2RZX3LY8wVQnfCKyPnv7",
"inserted_at": "2021-01-01T00:00:00Z",
"interacted_at": "2025-01-01T00:03:00Z",
"link_clicked_at": null,
"metadata": {
"external_id": "123e4567-e89b-12d3-a456-426614174000"
},
"read_at": null,
"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"
}
]