GET
/
conversation
/
v1
/
conversations
/
{conversationId}
/
messages
/
{messageId}
curl --request GET \
  --url https://api.sandbox.asapp.com/conversation/v1/conversations/{conversationId}/messages/{messageId} \
  --header 'asapp-api-id: <api-key>' \
  --header 'asapp-api-secret: <api-key>'
{
  "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

Path Parameters

conversationId
string
required

The identifier for a conversation.

messageId
string
required

Internal message identifier from ASAPP

Response

200
application/json
Successfully fetched message from a conversation

Response for GetMessage

text
string
required

Text sent

Minimum length: 1
sender
object
required

A participant within a conversation

messageId
string
required

The identifier of the message.

Minimum length: 1
createdTimestamp
string
required

The time when the message object was created in the ASAPP system.

clientTimestamp
string
required

The timestamp of when the message was sent.