Skip to main content
GET
List Helpdesk tickets

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

Query Parameters

cursor
string

pagination.cursor of the previous page.

Required string length: 1 - 2000
limit
integer
default:20
Required range: 1 <= x <= 100
order
enum<string>
default:desc
Available options:
asc,
desc
assigneeId
string

A Helpdesk member ID, or none for unassigned.

Required string length: 1 - 128
teamId
string

A team ID, or none for tickets with no team.

Required string length: 1 - 128
statusCategory
enum<string>[]

Comma-separated, such as new,on_you.

Required array length: 1 - 30 elements
Available options:
new,
on_you,
on_customer,
on_hold,
closed,
cancelled
statusId
string[]

Comma-separated status IDs.

Required array length: 1 - 30 elements
Required string length: 1 - 128
channel
enum<string>[]

Comma-separated, such as email,api.

Required array length: 1 - 30 elements
Available options:
chat_bubble,
email,
whatsapp,
api,
messenger,
instagram,
slack,
center_stage,
phone,
help_desk,
sms
priority
enum<string>[]

Comma-separated, such as high,urgent.

Required array length: 1 - 30 elements
Available options:
none,
low,
normal,
high,
urgent
createdAfter
string<date-time>

Tickets created at or after this time.

createdBefore
string<date-time>

Tickets created at or before this time.

sortBy
enum<string>
default:updatedAt
Available options:
createdAt,
updatedAt

Response

Success.

data
object[]
required
pagination
object
required