Idempotency-Key header is optional. When it is absent, the key is derivedPOST /sms/v1/deliver, a batch is accepted with 200 and charged later, when thecurl --location 'https://api.trucontact.co/sms/v1/deliver/batch' \
--header 'Idempotency-Key: order-48213-retry-1' \
--header 'X-API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"batchName": "Payment reminder",
"recipients": [
"+573001234567",
"+573007654321"
],
"messageBody": "Your invoice is due tomorrow.",
"validateDuplicates": false
}'{
"campaignId": "66fa1b2c3d4e5f0011223344",
"status": "CampaignQueued",
"acceptedCount": 2
}