Tickets
Changes the lifecycle status of the ticket identified by path id. Send the target status in the request body; when snoozing, also send snoozed_until as the Unix epoch (seconds) at which the ticket should reopen. Returns a boolean indicating success.
curl --request POST \
--url 'https://api.nabrah.ai/api/ext/omni_v2/ticket/<id>/toggle_status' \
--header 'X-API-Key: <your-api-key>' \
--header 'Content-Type: application/json' \
--data '{
"status": "resolved",
"snoozed_until": 0
}'falsestatusTarget lifecycle status, e.g. open, pending, resolved, or snoozed. These mirror the status filter on the list endpoints.
statussnoozed_untilRequired only when status is snoozed: the Unix epoch timestamp (seconds) at which the ticket should automatically return to open. For non-snooze statuses set it to 0 or omit.
snoozed_untilResponse 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 status to change.
From GET /api/ext/omni_v2/ticket or the create-ticket response.
Mark the ticket as resolved.
{
"status": "resolved",
"snoozed_until": 0
}Successful Response
application/json
Validation Error
application/json