API reference

Helpdesk API

2 operations for helpdesk. Each one names the scope your API key needs.

Scopes used here: helpdesk.ticket.read , helpdesk.ticket.create

Fetch one helpdesk ticket

GET /tickets/{id}

Scope: helpdesk.ticket.read

Parameters

Name In Description
id required path

Response 200

Fetch one helpdesk ticket. response 200
Field Type Notes
id string (uuid) required
subject string required
status string required
categoryId string (uuid), nullable required

Errors: 400 · 401 · 403 · 404 · 422 · 429 (error format)

Example request
curl -s 'https://<your-company>.<app-domain>/api/v1/tickets/<id>' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Raise a helpdesk ticket

POST /tickets

Scope: helpdesk.ticket.create

Headers: Idempotency-Key (see idempotency)

Request body

Raise a helpdesk ticket. request body
Field Type Notes
categoryId string (uuid) required
subject string required
description string required
priority string One of: low , normal , high , urgent
attachments not yet published
onBehalfOfEmployeeId string (uuid), nullable
channel string required One of: ess , whatsapp , email , agent
requesterEmployeeId string (uuid) required
aiHandled boolean

Response 201

Raise a helpdesk ticket. response 201
Field Type Notes
id string (uuid) required
subject string required
status string required
categoryId string (uuid), nullable required

Errors: 400 · 401 · 403 · 404 · 422 · 429 (error format)

Example request
curl -s -X POST 'https://<your-company>.<app-domain>/api/v1/tickets' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: <a unique value>' \
  --data '{ … }'