Tickets
Updates the category (type) of the ticket identified by path id. Send the new value in the ticket_type field. Returns a boolean indicating success. The value should match one of the ticket types configured on the ticket's inbox (config.ticket_types).
curl --request POST \
--url 'https://api.nabrah.ai/api/ext/omni_v2/ticket/<id>/update_type' \
--header 'X-API-Key: <your-api-key>' \
--header 'Content-Type: application/json' \
--data '{
"ticket_type": "billing"
}'falseticket_typeThe new ticket category. Should be one of the types allowed by the inbox configuration (see the inbox config.ticket_types list).
ticket_typeResponse is a bare boolean: true on success.
X-API-KeystringheaderrequiredYour workspace API key. Create one in the dashboard under API keys.
idintegerrequiredNumeric identifier of the ticket whose type to update.
From GET /api/ext/omni_v2/ticket or the create-ticket response.
Recategorize the ticket.
{
"ticket_type": "billing"
}Successful Response
application/json
Validation Error
application/json