cURL
curl --request GET \ --url https://core.api.ravennahq.com/api/ticket-messages \ --header 'x-ravenna-api-token: <api-key>'
{ "items": [ { "id": "<string>", "content": "<string>", "authorId": "<string>", "author": { "firstName": "<string>", "lastName": "<string>", "email": "jsmith@example.com", "image": "<string>" }, "ticketId": "<string>", "source": "<string>", "status": "<string>", "slackChannelId": "<string>", "slackMessages": [ { "id": "<string>", "ts": "<string>", "channelId": "<string>", "teamId": "<string>", "ticketMessageId": "<string>", "threadId": "<string>", "createdAt": "<string>", "updatedAt": "<string>" } ], "deleted": true, "reactions": [ { "id": "<string>", "emoji": "<string>", "authorId": "<string>", "ticketMessageId": "<string>" } ], "emailMessageId": "<string>", "emailInReplyTo": "<string>", "private": true, "createdAt": "<string>", "updatedAt": "<string>", "deletedAt": "<string>" } ], "nextCursor": "<string>", "totalCount": 123 }
x >= 1
x >= 0
1 <= x <= 10000
asc
desc
Successful response
The response is of type object.
object