---
docId: doc_afb35813d9cd453cb68222a6c9f4041c
title: Pause the agent
description: Pause the agent in a conversation so a person can handle it, and give it back when you finish.
version: v1
versionGroup: conversations-pause
api:
  group: conversaciones
  auth: bearer
  operations:
    - operationId: pauseConversation
      method: POST
      path: '/v1/conversations/{conversationId}/pause'
      sdk: false
      postmanName: Pause Conversation
    - operationId: resumeConversation
      method: POST
      path: '/v1/conversations/{conversationId}/resume'
      sdk: false
      postmanName: Resume Conversation
---

<script>
  import { Ways, Note, Collapsible } from '$lib/components';
</script>

# Pause the agent

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](/api-reference/conversations/v1/list) and [search conversations](/api-reference/conversations/v1/search), in the `CONVERSATION_ID` variable.

## Example

<Ways tabs="api,asistente">
<Ways.Way name="api">

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

</Ways.Way>
<Ways.Way name="asistente">
<Ways.Say>

Pause the agent in the conversation with Ana, I'll take it from here.

</Ways.Say>

Your assistant uses `pause_conversation`.

</Ways.Way>
</Ways>

<Note type="tip">

The SDK calls V2: see [Pause the agent](/api-reference/conversations/pause), [Resume the agent](/api-reference/conversations/resume) and [Hand back on the next message](/api-reference/conversations/wait).

</Note>

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

| Parameter | Type | Description | Required |
|-----------|------|-------------|----------|
| `conversationId` | string | The unique `id` of the conversation. It is not looked up by phone number here | ✓ |

## Query parameters

| Parameter | Type | Description | Required |
|-----------|------|-------------|----------|
| `workspace` | string | The conversation's workspace, if the credential has several | — |

## Response (pause)

No request body.

```json
{
  "status": "success",
  "message": "Agent paused in this conversation",
  "data": {
    "id": "8fK2pQx7LmN3",
    "operation": "supervised",
    "changed": true,
    "interrupted": true
  }
}
```

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | The conversation `id` |
| `operation` | string | Always `supervised` |
| `changed` | boolean | `true` if this call paused the conversation; `false` if it was already paused |
| `interrupted` | boolean | `true` 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.

<Ways tabs="api,asistente">
<Ways.Way name="api">

```bash
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." }'
```

</Ways.Way>
<Ways.Way name="asistente">
<Ways.Say>

Give the conversation with Ana back to the agent. She already paid: have it confirm the shipment.

</Ways.Say>

Your assistant uses `resume_conversation`.

</Ways.Way>
</Ways>

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.

<Note type="important">

A conversation with open cases cannot be resumed: [close them](/api-reference/cases/close) first. If you resume right after pausing, the API waits up to 5 seconds for the agent to finish stopping; if it does not, it answers `409 AGENT_STOPPING`: try again in a few seconds.

</Note>

### Request body (resume)

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

```json
{
  "reply": true,
  "instruction": "The customer already paid; confirm the shipment."
}
```

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `reply` | boolean | — | `true` so the agent reads what happened during the pause and answers now. Default: `false` |
| `instruction` | string | — | 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)

```json
{
  "status": "success",
  "message": "Agent resumed in this conversation",
  "data": {
    "id": "8fK2pQx7LmN3",
    "operation": "automatic",
    "changed": true,
    "replying": true
  }
}
```

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | The conversation `id` |
| `operation` | string | Always `automatic` |
| `changed` | boolean | `true` if this call resumed the conversation; `false` if it was already with the agent |
| `replying` | boolean | `true` if the agent was asked to answer right now |

## Errors

<Collapsible summary="Show error codes and fixes">

| Status | `details.code` | When |
|--------|----------------|------|
| `400` | `INVALID_REQUEST` | Your 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 |
| `401` | `UNAUTHENTICATED` | The credential is missing or invalid |
| `403` | `FORBIDDEN` | The credential cannot write conversations or has no access to this one, or it is a kind of credential that does not cover that workspace |
| `404` | `CONVERSATION_NOT_FOUND` | No conversation has that `id` |
| `409` | `NOT_A_CONVERSATION` | It is a comment thread: control it with [threads](/api-reference/posts/threads) |
| `409` | `CONVERSATION_CLOSED` | On resume: the conversation ended, expired or is spam |
| `409` | `CASE_OPEN` | On resume: it has open cases. [Close them](/api-reference/cases/close) first |
| `409` | `NO_ACTIVE_AGENT` | On resume: neither the conversation nor its channel has an active agent |
| `409` | `AGENT_STOPPING` | On resume: the paused agent has not finished stopping. Try again in a few seconds |
| `502`, `503` | `SERVICE_MISCONFIGURED` | Platica rejected the service credentials, or its connection is not configured |
| `502` | `UPSTREAM_ERROR` | Platica answered something unexpected |
| `503` | `PAUSE_FAILED` | On pause: the agent could not be paused. Try again |
| `503` | `RESUME_FAILED` | On resume: the agent could not be resumed. Try again |
| `503` | `CONTINUE_FAILED` | On 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.

</Collapsible>

## Notes

Every pause or resume that changes the conversation sends [`conversation.operation.updated`](/api-reference/webhooks/payloads#conversations). 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`.
