ticket
ticketMessage
ticket
Get tickets
ticket
Get tickets
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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Available options:
URGENT
, HIGH
, MEDIUM
, LOW
Available options:
title
, ticketNumber
, queueName
, authorName
, tags
Available options:
list
, table
, kanban
Available options:
default
, thin
, full
Required range:
x >= 1
Required range:
x >= 0
Required range:
1 <= x <= 10000
Available options:
asc
, desc
Available options:
asc
, desc
Response
200
application/json
Successful response
Available options:
URGENT
, HIGH
, MEDIUM
, LOW
Available options:
WEB
, EMAIL
, FORM
, SLACK
, SLA
Available options:
thin
Available options:
URGENT
, HIGH
, MEDIUM
, LOW
Available options:
WEB
, EMAIL
, FORM
, SLACK
, SLA
Available options:
thin
Available options:
URGENT
, HIGH
, MEDIUM
, LOW
Available options:
DM
, REQUEST
, TRIAGE
, GROUP
, ASSISTANT
Available options:
WEB
, EMAIL
, FORM
, SLACK
, SLA
Available options:
tomato
, red
, ruby
, crimson
, pink
, plum
, purple
, violet
, iris
, indigo
, blue
, cyan
, teal
, jade
, green
, grass
, brown
, orange
, sky
, mint
, lime
, yellow
, amber
, gold
, bronze
, gray
Available options:
OPEN
, PENDING
, ON_HOLD
, RESOLVED
, CLOSED
Available options:
URGENT
, HIGH
, MEDIUM
, LOW
Available options:
processing
, completed
, failed
, pending
Available options:
default
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"
}