GET
/
conversation
/
v1
/
conversation
/
messages
curl --request GET \
  --url https://api.sandbox.asapp.com/conversation/v1/conversation/messages \
  --header 'asapp-api-id: <api-key>' \
  --header 'asapp-api-secret: <api-key>'
{
  "items": [
    {
      "text": "Hello, I would like to upgrade my internet plan to GOLD.",
      "sender": {
        "role": "customer",
        "externalId": "123456"
      },
      "messageId": "01GMXE90AEV7H3J4DPBDKB1R79",
      "createdTimestamp": "2021-11-23T12:13:16.853Z",
      "clientTimestamp": "2021-11-23T12:13:14.555Z"
    }
  ]
}

Authorizations

asapp-api-id
string
header
required
asapp-api-secret
string
header
required

Query Parameters

externalId
string
required

Your identifier for a conversation.

Response

200
application/json
Successfully fetched messages from a conversation

Response for GetMessages

items
object[]

A message sent by a participant of a conversation