---
title: "Resolve Conversation"
method: POST
path: "/conversations/{conversation_id}/resolve"
tags: ["Conversations"]
---

# Resolve Conversation

`POST /conversations/{conversation_id}/resolve`

## Request

- Base URL: `https://developers.chatway.app/api/v1`
- URL: `https://developers.chatway.app/api/v1/conversations/{conversation_id}/resolve`
- Auth: API key in header `X-API-KEY`

Change a conversation's status. Supply its conversation_id in the path and agent_id in the JSON body. Obtain these IDs from List Conversations and List Agents. Set status to resolved to resolve the conversation, or unresolved to mark it unresolved.

## Path parameters

- `conversation_id` string, required

## Request body

- object
  - `agent_id` string, required: Agent ID
  - `status` 'resolved' | 'unresolved' | 'contact_blocked' | 'contact_unblocked' | 'ended' | 'reopened', required

## Response `200`

To mark the same conversation unresolved, use the same endpoint and agent_id with status set to unresolved. You can check its current is_resolved value in List Conversations. Replace the example IDs with IDs from your own workspace before sending either request.

- object
  - `message` 'Conversation resolved.', required
  - `data` object, required
    - `type` 'conversations', required
    - `id` string, nullable, required
    - `attributes` object, required

## Other responses

- `404`: Conversation not found
- `422`: Validation error

---

[API](https://skmtc.dev/chatway/apis/chatway-developer-docs.md) · [All operations](https://skmtc.dev/chatway/apis/chatway-developer-docs/llms.txt) · [OpenAPI document](https://skmtc.dev/chatway/apis/chatway-developer-docs/revisions/ca1a1da291cc?raw)
