API ReferenceConversations

Get message

Retrieve a single message by id.

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

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
messageId*string

Response Body

application/json

curl -X GET "https://example.com/api/v1/console/agents/string/conversations/string/messages/string"
{  "message": "Success",  "data": {    "id": "string",    "role": "string",    "message": "string",    "message_type": "string",    "created_at": "2019-08-24T14:15:22Z",    "attachments": [      {        "type": "image",        "url": "http://example.com"      }    ]  }}