Skip to main content
POST
/
tickets
/
descendent-tickets
Get all descendent tickets recursively for given ticket IDs
curl --request POST \
  --url https://core.ravenna.ai/api/tickets/descendent-tickets \
  --header 'Content-Type: application/json' \
  --header 'x-ravenna-api-token: <api-key>' \
  --data '{
  "ids": [
    "<string>"
  ]
}'
{
  "tickets": [
    {
      "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>",
          "workspaceId": "<string>"
        },
        "requestTypes": [
          {
            "id": "<string>",
            "requestTypeId": "<string>"
          }
        ],
        "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>",
      "assignedAIAgent": "<string>",
      "approvers": [
        {
          "id": "<string>"
        }
      ],
      "csat": [
        {
          "score": 123,
          "feedback": "<string>"
        }
      ],
      "parent": {
        "number": 123,
        "queue": {
          "prefix": "<string>"
        }
      },
      "children": [
        {
          "id": "<string>",
          "title": "<string>",
          "description": "<string>",
          "number": 123,
          "statusId": "<string>",
          "legacyStatus": "OPEN"
        }
      ],
      "tags": [
        {
          "id": "<string>",
          "name": "<string>",
          "color": "<string>"
        }
      ]
    }
  ],
  "count": 123
}

Authorizations

x-ravenna-api-token
string
header
required

Body

application/json
ids
string[]
required
Required array length: 1 - 100 elements

Response

Successful response

tickets
object[]
required
count
number
required