Clarify an unclassifiable turn
POST/v1/chats/{chat}/clarify
Asks the customer one clarification question on your behalf, or escalates when this chat has already used it.
Behavior
- No request body.
- Each chat gets one clarification question. A second call escalates
instead of asking again, and the response’s
actionsays which happened. - Returns HTTP 202: the question is applied a moment after the response.
- The question runs as a platform flow: the chat’s
ownerbecomesflowwhile it awaits the customer, and your sends during that window return HTTP 409code2011. A rephrase hands the turn straight back to you to classify; a reply asking for a person, or five minutes of silence, escalates instead. Every ownership movement is recorded bychat.owner_changed, and the flow’s own steps appear onGET /v1/chats/{chat}/events.
Errors
- HTTP 409
code2011: you no longer hold the send turn.
Clarify an unclassifiable turn
curl https://messages.api.linqapp.com/v1/chats/$CHAT/clarify \
-X POST \
-H "Authorization: Bearer $LINQ_AMB_API_KEY"{
"action": "clarified"
}Returns Examples
{
"action": "clarified"
}