Skip to main content
GET
Get a Helpdesk ticket

Authorizations

Authorization
string
header
required

A workspace API key from Workspace settings > API keys, sent as Authorization: Bearer cl_api_.... A Read only key can call the GET endpoints; every other method needs a Full access key.

Path Parameters

agentId
string
required

Agent ID in the authenticated workspace.

Required string length: 1 - 128
ticketNumber
integer
required

The ticket's ticketNumber.

Required range: x <= 2147483647

Response

Success.

ticketNumber
integer
required
id
string
required
subject
string
required
description
string
required
statusCategory
enum<string>
required
Available options:
new,
on_you,
on_customer,
on_hold,
closed,
cancelled
statusId
string
required
assigneeId
string | null
required
teamId
string | null
required
priority
enum<string>
required
Available options:
none,
low,
normal,
high,
urgent
tags
string[]
required
channel
enum<string>
required

Where the ticket came from. api for one created here.

Available options:
chat_bubble,
email,
whatsapp,
api,
messenger,
instagram,
slack,
center_stage,
phone,
help_desk,
sms
conversationId
string | null
required

The conversation the ticket came from, when there is one.

channelConversationId
string | null
required
customer
object
required
customFields
object
required

Values keyed by field ID. Dropdowns answer the option ID, numbers a string, dates YYYY-MM-DD and images a download link.

createdAt
string<date-time>
required
updatedAt
string<date-time>
required
lastMessageAt
string<date-time> | null
required