Conversations

Resolve Conversation

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.

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

Path parameters

conversation_idstring required

Conversation ID

Request body

agent_idstring required

Agent ID

status'resolved' | 'unresolved' | 'contact_blocked' | 'contact_unblocked' | 'ended' | 'reopened' required

Example request

{
  "agent_id": "26fa75f2-7ac1-47b4-84e1-b943491ba4da"
}

Response

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.

message'Conversation resolved.' required

Changes

No recorded changes to this operation across all 1 revision of this API.