Helpdesk API overview
The ticket and message objects of the Askocto Helpdesk API, the status and priority values, and a map of the ticket, team and attendance endpoints.
Working draft. These docs are illustrative: names, endpoints and examples describe the intended behaviour and can change before launch.
The Helpdesk is the shared inbox where your team follows up on conversations the agent could not finish. The Helpdesk endpoints let you read and create tickets, reply to customers, and read teams and attendance from your own systems. Tickets belong to the workspace, not to one agent, so these paths do not contain an agentId.
The ticket object
{
"id": "tkt_4m8x2q",
"subject": "Damaged jacket in order A-1042",
"status": "open",
"priority": "high",
"assigneeId": "usr_6k9d2r",
"teamId": "team_2c7h5v",
"contactId": "con_9a3f1k",
"tags": ["refund", "damaged"],
"channel": "widget",
"createdAt": "2026-03-20T14:05:00Z",
"updatedAt": "2026-03-20T14:12:00Z"
}
| Field | Type | Description |
|---|---|---|
id |
string | The ticket ID, starting with tkt_. |
subject |
string | A short title for the request. |
status |
string | open, pending, on_hold, solved or closed. |
priority |
string | low, normal, high or urgent. |
assigneeId |
string or null | The workspace member who owns the ticket, starting with usr_. |
teamId |
string or null | The team the ticket belongs to, starting with team_. |
contactId |
string | The customer, starting with con_. |
tags |
array of strings | Labels such as refund. |
channel |
string | Where the request came from, for example widget, email, whatsapp or api. |
createdAt, updatedAt |
string | ISO 8601 UTC times. |
The values match the dashboard. See Ticket statuses for what each status means.
The ticket message object
Each ticket holds a thread of messages. A message is either a reply that the customer sees or an internal note for your team.
{
"id": "msg_2h6j9d",
"ticketId": "tkt_4m8x2q",
"internal": false,
"author": { "type": "member", "id": "usr_6k9d2r", "name": "Omar Haddad" },
"content": "We are sending a replacement today.",
"createdAt": "2026-03-20T14:12:00Z"
}
author.type is contact, member, agent or api. A message sent through the API without an author has the type api and an id of null.
Events
Ticket changes also reach you as webhooks. The events ticket.created and ticket.updated are described in the Webhooks guide of the developer guides.
Endpoints
Tickets:
- List tickets returns tickets, newest first, with filters.
- Search tickets finds tickets by the words in them.
- Create a ticket opens a ticket for a contact.
- Get a ticket returns one ticket.
- Update a ticket changes status, priority, owner, team and tags.
- List ticket messages reads the thread.
- Add a message to a ticket sends a reply or an internal note.
Setup and reporting:
- List ticket statuses returns the statuses a ticket can have.
- List teams returns your teams and their members.
- List attendance rows returns time per attendance state for each member and day.
- List activity segments returns the raw periods behind those totals.
Lists use cursor pagination with limit and cursor, like every list in the API.