curl --request POST \
--url https://api.sandbox.asapp.com/conversation/v1/conversations/{conversationId}/messages/batch \
--header 'Content-Type: application/json' \
--header 'asapp-api-id: <api-key>' \
--header 'asapp-api-secret: <api-key>' \
--data '{
"messages": [
{
"text": "Hello, I would like to upgrade my internet plan to GOLD.",
"sender": {
"role": "customer",
"externalId": "customer-xyz"
},
"timestamp": "2021-11-23T12:13:14.555Z"
},
{
"text": "Let me help you with that",
"sender": {
"role": "agent",
"externalId": "agent-111"
},
"timestamp": "2021-11-23T12:13:16.666Z"
}
]
}'