Messages

API Docs by APIMATIC

Messages
#

  • REST
  • Java

Messages
#

Get all events and messages of conversation

GET /api/conversation/v1/conversations/{uuid}/messages

API Code Playground

Endpoint Arguments
Parameters
Required
Required
String
Header
Required
String
Template

The conversation (interaction) uuid

Number
Query

The number of items to skip before starting to collect the result set

Number
Query

The number of items in the result set


Responses

  • 200
  • 401
  • 403
  • 404
  • 424

Successful response

application/json

{
  "messages": [
    {
      "id": 2649335,
      "conversation_id": "70e8de7f-3d98-4af0-9315-9d2dff75745d",
      "content_type": "text",
      "content_data": {
        "text": "Welcome to Voiso"
      },
      "activity": "message",
      "activity_type": "outbound",
      "participant": {
        "participant_id": 77572,
        "participant_type": "agent"
      },
      "attributes": {},
      "status": "seen",
      "updated_at": "2023-09-12T11:29:38.642Z",
      "created_at": "2023-09-12T11:29:38.000Z"
    }
  ],
  "metadata": {
    "limit": 1,
    "offset": 0,
    "total": 1
  }
}
  • Request
  • Response
curl -X GET -G \
  --url 'https://{cluster_id}.voiso.com/api/conversation/v1/conversations/uuid6/messages'  \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer token: Authorization: Bearer token6'