List all origin external messages for a ticket. These are messages that originated from external systems and were synced into Serval. This helps you understand which messages came from which external channels.
cURL
curl --request GET \ --url https://public.api.serval.com/v2/tickets/{ticket_id}/external-messages \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "<string>", "externalMessageId": "<string>", "messageId": "<string>", "sourceType": "EXTERNAL_MESSAGE_SOURCE_TYPE_UNSPECIFIED", "sourceId": "<string>", "isOrigin": true, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the Serval ticket to list external messages for
Success
Show child attributes
Was this page helpful?