curl --location --request POST '/api/AlerthubService/send/messages' \
--header 'ApiUserID: demo_user_001' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.demo.token' \
--header 'RequestId: trx_001' \
--header 'InstanceID: INS123456' \
--header 'ScheduledDateTime: dd/mm/yyyy,hh:mm AM/PM (Future schedule)' \
--header 'IsSafeMode: false' \
--header 'IntervelBetweenMsg: 0'{
"data": [
{
"name": "template_name",
"status": "APPROVED",
"category": "MARKETING",
"language": "en_US",
"components": [
{
"type": "HEADER",
"format": "TEXT",
"text": "Hello!"
},
{
"type": "BODY",
"text": "Your order {{1}} is confirmed."
},
{
"type": "FOOTER",
"text": "Reply STOP to opt out"
}
]
}
],
"paging": {
"cursors": {
"before": "cursor_before",
"after": "cursor_after"
}
}
}