Answer the assistant
/tickets/{ticketId}/resolutionAnswers the support assistant. Send exactly one of answered and choice. answered: true closes the ticket. answered: false asks whether to escalate or keep chatting and leaves the ticket open. choice: "continue" keeps the assistant on the ticket. choice: "escalate" hands the ticket to a person. Sending both fields, neither field, or a value that is not one of those returns 422 invalid_body. A ticket that is not waiting on that choice returns 409 assistant_choice_stale. The response is the ticket, including assistant. OAuth apps need tickets:write.
AuthorizationRequiredstringYour API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.
TicketForwarding
Sends a live request with your values and shows the real response below. Your key is stored only in this browser.
curl -X POST https://api.blooio.com/v4/tickets/obj_a1b2c3d4/resolution \{ "data": { "id": "obj_a1b2c3d4", "type": "purchase", "status": "open", "priority": "low", "content": "Hello from Blooio!", "forwarding": { "state": "pending", "source_number": "string", "destination_number": "string", "completed_at": 0 }, "can_comment": false, "assistant": { "reply_pending": false, "can_confirm_answer": false, "can_choose_escalation": false, "can_escalate": false }, "created_at": 0, "updated_at": 0 }}