Ticketsv4

Retry a stalled assistant reply

POST/tickets/{ticketId}/reply-retry

Asks the support assistant to try the latest customer comment again. Does not add a comment. The original schedule counts as the first attempt; two retries are allowed, and the next one hands the ticket to a person. A closed ticket, a ticket the assistant does not answer, a comment that is no longer the latest, a staff reply, or an existing handoff returns 409 assistant_retry_refused. The response is the ticket, including assistant. Poll while assistant.reply_pending is true. OAuth apps need tickets:write.

Path parameters

ticketIdRequiredstring

Ticket id (tkt_...), returned when the ticket is opened.

Headers

AuthorizationRequiredstring

Your API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.

Bearer

Returns

dataoptionalTicket
idoptionalstring

Ticket id (tkt_...).

typeoptionalstring
"purchase""purchase_failure""support""billing""technical""feature_request""call_forwarding""system"
statusoptionalstring

open: not picked up yet. in_progress: Blooio support is working on it. waiting_on_customer: support needs a reply from you. closed: resolved.

"open""in_progress""waiting_on_customer""closed"
priorityoptionalstring

Read-only. Tickets open at medium; only Blooio support changes it.

"low""medium""high""urgent"
contentoptionalstring | null

The request as it was opened.

forwardingoptionalTicketForwarding | null

Progress of a call_forwarding ticket; null for every other type.

TicketForwarding
stateoptionalstring

pending: not started yet. in_progress: Blooio is setting up forwarding with the carrier. completed: calls now forward. failed: the last attempt failed, and the ticket stays open with Blooio support. A closed ticket always reads completed.

"pending""in_progress""completed""failed"
source_numberoptionalstring | null

E.164 number whose calls are forwarded.

destination_numberoptionalstring | null

E.164 number calls are forwarded to.

completed_atoptionalinteger | null

When forwarding completed; for a ticket closed without a recorded completion, when it was closed. null until state is completed.

null
can_commentoptionalboolean

Whether this ticket type takes replies. A closed ticket also refuses them.

assistantoptionalTicketAssistant
reply_pendingRequiredboolean

A reply to the latest customer comment is in flight. Poll the ticket until this is false, then read the comments.

can_confirm_answerRequiredboolean

The second answer is waiting for yes or no. Another comment returns 409 until the resolution route is called.

can_choose_escalationRequiredboolean

The customer is choosing between a person and more chat. Another comment returns 409 until the resolution route is called.

can_escalateRequiredboolean

The customer already chose to keep chatting and can still escalate with choice: "escalate".

created_atoptionalinteger
updated_atoptionalinteger

Response codes

200The ticket after the retry was accepted or handed off
400The request was malformed — check the path, query parameters, and body.
401Your API key is missing or invalid. Pass it as a bearer token.
403Your API key isn't allowed to access this ticket (blocked key or plan limit).
404No ticket was found with the provided `ticketId`.
409`assistant_retry_refused`: this reply can no longer be retried.

Sends a live request with your values and shows the real response below. Your key is stored only in this browser.

Request
curl -X POST https://api.blooio.com/v4/tickets/obj_a1b2c3d4/reply-retry \
Response objectexample
{  "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  }}