Conversations
Create a message
Creates a message object, adding it to an existing conversation.
Use this endpoint to record each new message in the conversation.
POST
/
conversation
/
v1
/
conversations
/
{conversationId}
/
messages
Authorizations
asapp-api-id
string
headerrequiredasapp-api-secret
string
headerrequiredPath Parameters
conversationId
string
requiredThe identifier for a conversation.
Body
application/json
Represents a single message within a conversation.
text
string
requiredThe content of the message.
Minimum length:
1
sender
object
requiredInformation about the participant who sent the message.
timestamp
string
requiredThe time when the message was sent. Include the timezone, otherwise UTC will be assumed.
Response
200 - application/json
Response for messages
id
string
Message ID to be used for analytics
Was this page helpful?