curl --request POST \
--url https://backend.wassist.app/api/v1/conversations/{id}/messages/ \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"type": "text",
"text": {
"body": "<string>"
},
"template": {
"name": "<string>",
"variables": {
"body": [
"<string>"
],
"header": "<string>",
"buttons": [
"<string>"
],
"cards": [
{
"body": [
"<string>"
],
"header": "<string>",
"buttons": [
"<string>"
]
}
]
}
},
"cta": {
"body": "<string>",
"buttonText": "<string>",
"url": "<string>",
"image": {
"url": "<string>"
}
},
"unified": {
"text": "<string>",
"footer": "<string>",
"media": {
"url": "<string>"
},
"buttons": [
{
"type": "url",
"text": "<string>",
"url": "<string>",
"quickReplyId": "<string>"
}
]
}
}
'