Skip to content

List messages

Request

Get all messages for a particular conversation by providing the conversation id. Note that messages in ContactForm conversations can have attributes of "_type": "EmailAttributes" if they are created through a webform, or "_type": "ContactFormAttributes" when created through a chat widget.

Security
ApiKeyAuth
Path
conversationIdinteger, (int64)required
GET
/beta/conversations/{conversationId}/messages
curl -i -X GET \
  'https://dev.dixa.io/beta/conversations/{conversationId}/messages' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

List of messages for a conversation sorted from oldest to newest

Bodyapplication/json
dataArray of objects(Message)
Response
{ "data": [ {}, {} ] }