> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequenzy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Conversation Status

> Open or close a conversation

Open or close a conversation. Closed conversations are reopened automatically when the subscriber replies or when you send a new outbound message.

## Request

<ParamField path="conversationId" type="string" required>
  Conversation ID.
</ParamField>

<ParamField body="status" type="string" required>
  New conversation status: `open` or `closed`.
</ParamField>

```bash theme={null}
curl -X POST "https://api.sequenzy.com/api/v1/conversations/conv_abc123/status" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status": "closed"}'
```

## Responses

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "conversation": {
      "id": "conv_abc123",
      "status": "closed"
    }
  }
  ```

  ```json 401 theme={null}
  {
    "success": false,
    "error": "Unauthorized"
  }
  ```

  ```json 404 theme={null}
  {
    "error": "Conversation not found"
  }
  ```

  ```json 500 theme={null}
  {
    "error": "Failed to update conversation"
  }
  ```
</ResponseExample>
