curl --location 'https://api.comtele.com.br/messages/sms/batch/send' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"messages": [
{
"receiver": "string",
"message": "string"
}
],
"route": 0,
"scheduleDate": "string",
"automaticResponseId": 0,
"custom": "string",
"tag": "string"
}'{
"hasError": true,
"message": "string",
"object": {
"requestId": "string",
"status": "string",
"acceptedCount": 0,
"rejectedCount": 0,
"rejectedMessages": [
{
"index": 0,
"receiver": "string",
"reason": "string"
}
]
},
"totalRecords": 0,
"errors": "string"
}