List messages for a ticket.
cURL
curl --request GET \ --url https://public.api.serval.com/v2/tickets/{ticket_id}/messages \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "<string>", "user": { "id": "<string>", "email": "<string>" }, "authorRole": "USER_ROLE", "content": "<string>", "createdAt": "2023-11-07T05:31:56Z", "attachments": [ { "id": "<string>", "name": "<string>", "contentType": "<string>", "url": "<string>" } ] } ], "nextPageToken": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the ticket to list messages for.
Maximum number of results to return.
Token for pagination.
Success
Show child attributes
Was this page helpful?