Pause the agent

You are reading the previous version (V1) of this endpoint. Go to V2
POST /v1/conversations/{conversationId}/pause
POST /v1/conversations/{conversationId}/resume

Pause the agent to handle the conversation yourself. It stops even if it was preparing a reply. Resume when you want to return control to the agent.

Before you start: the conversation id, as returned by list and search conversations, in the CONVERSATION_ID variable.

Example

curl -X POST https://api.platic.ai/v1/conversations/$CONVERSATION_ID/pause \
  -H "Authorization: Bearer $PLATIC_API_KEY"

The conversation changes to operation: "supervised". The agent stops before its next step. Messages it already sent remain; an external tool call that already started finishes normally. interrupted indicates whether a reply was in progress.

While paused, the contact's messages are saved without automatic replies. You can reply manually. The pause affects only this thread: if it closes and the contact writes again, the new conversation starts with the agent. Owners and status stay the same.

If it was already paused, it returns changed: false. It also stops any reply in progress.

Path parameters

ParameterTypeDescriptionRequired
conversationIdstringThe unique id of the conversation. It is not looked up by phone number here✓

Query parameters

ParameterTypeDescriptionRequired
workspacestringThe conversation's workspace, if the credential has several—

Response (pause)

No request body.

{
  "status": "success",
  "message": "Agent paused in this conversation",
  "data": {
    "id": "8fK2pQx7LmN3",
    "operation": "supervised",
    "changed": true,
    "interrupted": true
  }
}
FieldTypeDescription
idstringThe conversation id
operationstringAlways supervised
changedbooleantrue if this call paused the conversation; false if it was already paused
interruptedbooleantrue if the agent was answering and was asked to stop

Resume

After resuming, the agent waits for the next message to reply. Use reply: true to have it read what happened during the pause, including unanswered messages, and reply immediately. Use instruction to tell it what to do when resuming; this also triggers an immediate reply.

curl -X POST https://api.platic.ai/v1/conversations/$CONVERSATION_ID/resume \
  -H "Authorization: Bearer $PLATIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "instruction": "The customer already paid; confirm the shipment." }'

If the conversation was already automatic, resuming returns changed: false and replying: false without sending another message. Only a change from paused to automatic can trigger a reply.

Request body (resume)

The body is optional. Without it, the agent answers from the next message on.

{
  "reply": true,
  "instruction": "The customer already paid; confirm the shipment."
}
FieldTypeRequiredDescription
replyboolean—true so the agent reads what happened during the pause and answers now. Default: false
instructionstring—What to do when picking the conversation up, up to 4,000 characters. Makes the agent answer even if reply is missing

It takes the same path and query parameters as pause.

Response (resume)

{
  "status": "success",
  "message": "Agent resumed in this conversation",
  "data": {
    "id": "8fK2pQx7LmN3",
    "operation": "automatic",
    "changed": true,
    "replying": true
  }
}
FieldTypeDescription
idstringThe conversation id
operationstringAlways automatic
changedbooleantrue if this call resumed the conversation; false if it was already with the agent
replyingbooleantrue if the agent was asked to answer right now

Errors

Statusdetails.codeWhen
400INVALID_REQUESTYour credential covers several workspaces and you did not send ?workspace=. details.available lists the ones you can use and details.requested repeats the one you sent
401UNAUTHENTICATEDThe credential is missing or invalid
403FORBIDDENThe credential cannot write conversations or has no access to this one, or it is a kind of credential that does not cover that workspace
404CONVERSATION_NOT_FOUNDNo conversation has that id
409NOT_A_CONVERSATIONIt is a comment thread: control it with threads
409CONVERSATION_CLOSEDOn resume: the conversation ended, expired or is spam
409CASE_OPENOn resume: it has open cases. Close them first
409NO_ACTIVE_AGENTOn resume: neither the conversation nor its channel has an active agent
409AGENT_STOPPINGOn resume: the paused agent has not finished stopping. Try again in a few seconds
502, 503SERVICE_MISCONFIGUREDPlatica rejected the service credentials, or its connection is not configured
502UPSTREAM_ERRORPlatica answered something unexpected
503PAUSE_FAILEDOn pause: the agent could not be paused. Try again
503RESUME_FAILEDOn resume: the agent could not be resumed. Try again
503CONTINUE_FAILEDOn resume with reply or instruction: the conversation is already with the agent, but it could not be asked to answer. It will answer with the next message

If reply or instruction are not valid, the response is 400 INVALID_REQUEST and details.issues says which.

Notes

Every pause or resume that changes the conversation sends conversation.operation.updated. The source is api.conversation.paused or api.conversation.resumed, and mcp.conversation.paused or mcp.conversation.resumed when your assistant did it. Inbox actions arrive with the same event and their own source.