Messages
List events
Returns a paginated list of events for the specified message.
get/v1/messages/{message_id}/events
Path parameters
message_idstring required
The ID of the message to fetch events for.
Query parameters
afterstring
The cursor to fetch entries after.
beforestring
The cursor to fetch entries before.
page_sizeinteger
The number of items per page (defaults to 50).
Response
OK
Example response
{
"items": [
{
"__typename": "MessageEvent",
"data": null,
"id": "2FVHPWxRqNuXQ9krvNP5A6Z4qXe",
"inserted_at": "2021-01-01T00:00:00Z",
"recipient": "user_123",
"type": "message.sent"
}
],
"page_info": {
"__typename": "PageInfo",
"after": null,
"before": null,
"page_size": 25
}
}Changes
Changed in 2 of the 30 revisions of this API.111
- ●
added the new
message.createdenum value to theitems/items/typeresponse property for the response status200response-property-enum-value-added
- ●
- ▲
removed the required property
entriesfrom the response with the200statusresponse-required-property-removed
- ○
added the required property
itemsto the response with the200statusresponse-required-property-added
- ▲