Create a ticket
Creates a ticket on a board from one of the board's templates. status and priority default to the template's defaults. If the template has a product field, send the products in products.
Your business's Cekat API key, from Settings → Developers & API in the Cekat dashboard (https://chat.cekat.ai/developers?section=apikeys). Available on the Business and Enterprise plans.
Must belong to board_id.
A status ID from the board. Defaults to the template's default status.
Defaults to the template's default priority.
Agent IDs to assign.
Link the ticket to a conversation.
Attachment URLs.
Ticket created.
Labels added to the linked conversation by the template, if any.
A required field is missing, the template doesn't belong to the board, no status or priority could be set, or a field value or product is invalid.
The API key is missing or invalid.
Rate limit exceeded. Wait and retry.
POST /api/tickets/create HTTP/1.1
Host: api.cekat.ai
api_key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 347
{
"title": "Barang rusak saat diterima",
"board_id": "7b8c9d0e-1f2a-4b3c-4d5e-6f7a8b9c0d1e",
"ticket_template_id": "8c9d0e1f-2a3b-4c4d-5e6f-7a8b9c0d1e2f",
"description": "Customer menerima kaos dengan jahitan lepas.",
"priority": 2,
"conversation_id": "3a4b5c6d-7e8f-4a0b-9c1d-2e3f4a5b6c7d",
"field_values": [
{
"field_name": "Order number",
"field_value": "1042"
}
]
}{
"message": "Ticket successfully created",
"data": {
"id": "9d0e1f2a-3b4c-4d5e-6f7a-8b9c0d1e2f3a",
"public_ticket_id": 318,
"board_id": "7b8c9d0e-1f2a-4b3c-4d5e-6f7a8b9c0d1e",
"ticket_template_id": "8c9d0e1f-2a3b-4c4d-5e6f-7a8b9c0d1e2f",
"title": "Barang rusak saat diterima",
"description": "Customer menerima kaos dengan jahitan lepas.",
"status": "0b1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
"priority": 2,
"field_values": [
{
"field_name": "Order number",
"field_value": "1042"
}
],
"assigned_to": [],
"attachments": [],
"conversation_id": "3a4b5c6d-7e8f-4a0b-9c1d-2e3f4a5b6c7d",
"created_at": "2026-10-12T11:30:00.000000+00:00",
"updated_at": "2026-10-12T11:30:00.000000+00:00"
},
"labels": []
}Last updated