GET
/
ticket-messages
curl --request GET \
  --url https://core.api.ravennahq.com/api/ticket-messages \
  --header 'Authorization: Bearer <token>'
{
  "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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

ticketId
string
required
skip
number | null
Required range: x >= 1
offset
number | null
Required range: x >= 0
cursor
string | null
limit
number | null
default:100
Required range: 1 <= x <= 10000
set
string | null
sortBy
string | null
sortDirection
enum<string> | null
Available options:
asc,
desc
groupBy
string | null
groupDirection
enum<string> | null
Available options:
asc,
desc

Response

200
application/json
Successful response
items
object[]
required
totalCount
number
required
nextCursor
string