GET
/
tickets
curl --request GET \
  --url https://core.api.ravennahq.com/api/tickets \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "publishedAt": "<string>",
      "assignedAt": "<string>",
      "assigneeId": "<string>",
      "authorId": "<string>",
      "shortId": "<string>",
      "code": "<string>",
      "description": "<string>",
      "dueAt": "<string>",
      "id": "<string>",
      "number": 123,
      "priority": "URGENT",
      "published": true,
      "queue": {
        "id": "<string>",
        "prefix": "<string>",
        "emoji": "<string>",
        "workspaceId": "<string>",
        "name": "<string>",
        "workspace": {
          "slug": "<string>"
        }
      },
      "status": {
        "id": "<string>",
        "label": "<string>",
        "order": 123,
        "system": true,
        "statusGroupId": "<string>",
        "statusGroup": {
          "id": "<string>",
          "label": "<string>"
        },
        "requestTypes": [
          {
            "id": "<string>",
            "requestTypeId": "<string>",
            "ticketStatusId": "<string>"
          }
        ],
        "_count": {
          "tickets": 123
        },
        "createdAt": "<string>",
        "updatedAt": "<string>"
      },
      "queueId": "<string>",
      "requesterId": "<string>",
      "requestType": {
        "id": "<string>",
        "name": "<string>"
      },
      "source": "WEB",
      "statusId": "<string>",
      "title": "<string>",
      "requestTypeId": "<string>",
      "disableAIResponse": true,
      "parentId": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "snoozeUntil": "<string>",
      "approvedAt": "<string>",
      "private": true,
      "declinedAt": "<string>",
      "startAt": "<string>",
      "respondedAt": "<string>",
      "resolvedAt": "<string>",
      "closedAt": "<string>",
      "archivedAt": "<string>",
      "slackChannelId": "<string>",
      "approvers": [
        {
          "id": "<string>"
        }
      ],
      "csat": [
        {
          "score": 123,
          "feedback": "<string>"
        }
      ],
      "parent": {
        "number": 123,
        "queue": {
          "prefix": "<string>"
        }
      },
      "children": [
        {
          "id": "<string>",
          "title": "<string>",
          "description": "<string>",
          "number": 123,
          "legacyStatus": "OPEN"
        }
      ],
      "tags": [
        {
          "id": "<string>",
          "name": "<string>",
          "color": "<string>"
        }
      ],
      "viewerInfo": {
        "viewedAt": "<string>",
        "isViewed": true
      }
    }
  ],
  "totalCount": 123,
  "nextCursor": "<string>",
  "responseType": "thin"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

assigneeId
string | null
createdAt
string | null
openFilter
boolean | null
priority
enum<string> | null
Available options:
URGENT,
HIGH,
MEDIUM,
LOW
queueId
string | null
searchFields
enum<string>[]
Available options:
title,
ticketNumber,
queueName,
authorName,
tags
starredBy
string | null
starredFilter
boolean | null
statusId
string | null
textFilter
string | null
unassignedFilter
boolean | null
excludeTicketIds
string[] | null
workspaceId
string | null
filters
string
viewMode
enum<string> | null
Available options:
list,
table,
kanban
responseType
enum<string>
default:default
Available options:
default,
thin,
full
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
responseType
enum<string>
required
Available options:
thin
nextCursor
string | null