GET
/
v1
/
tickets
curl --request GET \
  --url https://platform.thena.ai/v1/tickets \
  --header 'Authorization: Bearer <token>' \
  --header 'x-org-id: <api-key>'
{
  "status": true,
  "message": "Success",
  "timestamp": "2024-01-01T00:00:00.000Z",
  "data": [
    {
      "id": "<string>",
      "title": "<string>",
      "ticketId": 123,
      "description": "<string>",
      "accountId": "<string>",
      "status": "<string>",
      "statusId": "<string>",
      "priority": "<string>",
      "priorityId": "<string>",
      "storyPoints": 123,
      "account": "<string>",
      "teamId": "<string>",
      "teamName": "<string>",
      "isPrivate": true,
      "typeId": "<string>",
      "type": "<string>",
      "assignedAgent": "<string>",
      "assignedAgentId": "<string>",
      "assignedAgentEmail": "<string>",
      "requestorEmail": "<string>",
      "customerContactId": "<string>",
      "customerContactFirstName": "<string>",
      "customerContactLastName": "<string>",
      "customerContactEmail": "<string>",
      "submitterEmail": "<string>",
      "customFieldValues": [
        "<string>"
      ],
      "deletedAt": "<string>",
      "archivedAt": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "formId": "<string>",
      "aiGeneratedTitle": "<string>",
      "aiGeneratedSummary": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter JWT bearer token

x-org-id
string
header
required

Enter organization ID

Query Parameters

teamId
string

The ID of the team to filter tickets by

Example:

"T00M677SAK"

page
number
default:0

The page number to fetch tickets by

Required range: x >= 0
Example:

0

limit
number
default:10

The limit number of tickets to fetch

Required range: 1 <= x <= 100
Example:

10

Response

200
application/json
Operation successful
status
boolean
default:true
required

The status of the response

message
string
default:Success
required

The message of the response

timestamp
string
default:2024-01-01T00:00:00.000Z
required

The timestamp of the response

data
object[]
required

The tickets fetched