Tickets
Sets (toggles) the priority of the ticket identified by path id. Send the desired level in the priority field of the request body. Returns a boolean indicating success. High-priority tickets are surfaced more prominently in support queues.
curl --request POST \
--url 'https://api.nabrah.ai/api/ext/omni_v2/ticket/<id>/toggle_priority' \
--header 'X-API-Key: <your-api-key>' \
--header 'Content-Type: application/json' \
--data '{
"priority": "urgent"
}'falsepriorityThe priority level to apply, e.g. urgent, high, medium, low. Setting the same value the ticket already has may clear it back to no priority (toggle behavior).
priorityResponse 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 priority to set.
From GET /api/ext/omni_v2/ticket or the create-ticket response.
Mark the ticket as urgent.
{
"priority": "urgent"
}Successful Response
application/json
Validation Error
application/json