curl --location 'https://your-api-server.com' \
--header 'Content-Type: application/json' \
--data '{
"workspaceId": "ef0efa32-d1c1-43d4-a5e2-fe7b4f00403c",
"channelId": "5f6d08bc-455a-4532-98b8-19e2cee51160",
"conversationId": "ee6e55e8-45fe-4a3e-9bc8-4669f9fdf77a",
"conversationEventId": "84485902-55d7-4844-953e-8ae607e3d2c5",
"contactId": "b5ec5d98-4bee-4da1-ad24-dde86346cb1d",
"messageId": "string",
"direction": "Inbound",
"messageType": "Text",
"body": "string",
"mediaUrl": "string",
"mimeType": "string",
"status": "Sent",
"senderUserId": "2b0414b9-b88f-4722-84b0-333eb47e9180",
"latitude": 0,
"longitude": 0,
"contacts": [
{
"firstName": "string",
"lastName": "string",
"middleName": "string",
"formattedName": "string",
"company": "string",
"phones": [
{
"phone": "string",
"type": "string",
"waId": "string"
}
]
}
],
"creationTime": "2019-08-24T14:15:22.123Z",
"isBillable": true,
"errorCode": 0,
"errorReason": "string",
"transcription": {
"text": "string",
"words": [
{
"text": "string",
"start": 0,
"end": 0,
"type": "string",
"speaker": "string"
}
]
},
"summary": "string",
"sentiment": 1,
"replyToMessageId": "string",
"interactiveReply": {
"id": "string",
"text": "string",
"payload": "string",
"templateId": "string",
"templateName": "string"
},
"sentTemplate": {
"templateId": "string",
"templateName": "string",
"language": "string",
"category": "Marketing",
"buttons": [
{
"type": "QuickReply",
"text": "string",
"url": "string",
"phoneNumber": "string",
"copyCode": "string"
}
]
}
}'