API ReferenceConversations

Get conversation

Single conversation with profile fields.

GET
/api/v1/console/agents/{agentId}/conversations/{conversationId}

Authorization

ApiKeyAuth
AuthorizationBearer <token>

Team API key (prefix sk_). You may also send the key via X-Api-Key header.

In: header

Path Parameters

agentId*string
conversationId*string

Response Body

application/json

curl -X GET "https://example.com/api/v1/console/agents/string/conversations/string"
{  "message": "Success",  "data": {    "id": "string",    "channel_type": "string",    "channel_id": "string",    "channel_user_id": "string",    "channel_user_username": "string",    "is_test_channel": true,    "is_ai_chat_paused": true,    "needs_attention": true,    "last_message_at": "2019-08-24T14:15:22Z",    "last_seen": "2019-08-24T14:15:22Z",    "last_message_preview": "string",    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z",    "full_name": "string",    "email": "string",    "phone_number": "string",    "profile_picture": "string"  }}