Conversations
Sets the priority of the conversation. The path id selects the conversation and the JSON body's priority field carries the new priority level (for example urgent, high, medium, low, or none to clear it). Returns a boolean indicating success. The resulting value is reflected in the priority field of the conversation in list and detail responses.
curl --request POST \
--url 'https://api.nabrah.ai/api/ext/omni_v2/conversation/conversation/<id>/toggle_priority' \
--header 'X-API-Key: <your-api-key>' \
--header 'Content-Type: application/json' \
--data '{
"priority": "urgent"
}'falseX-API-KeystringheaderrequiredYour workspace API key. Create one in the dashboard under API keys.
idintegerrequiredInteger id of the conversation whose priority to set.
From a list endpoint or GET.../conversation/{id}.
Mark the conversation as urgent.
{
"priority": "urgent"
}Successful Response
application/json
Validation Error
application/json