Quickstart
Send every request to https://api.callloop.com with Authorization: Bearer pat_v1.<token>. The pat_v1. prefix is required. Use E.164 phone numbers, and a fromNumber that belongs to your account.
Send a text
curl -X POST https://api.callloop.com/api/public/v1/message/sms \
-H "Authorization: Bearer pat_v1.$BROADCAST_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"fromNumber": "+15555550100",
"toNumber": "+15555550123",
"smsMessage": { "text": "Hello from the Broadcast API" }
}'The response is HTTP 200 with state.status set to Queued: accepted for sending, not yet delivered. Keep its id.
Check delivery
curl https://api.callloop.com/api/public/v1/message/<id> \
-H "Authorization: Bearer pat_v1.$BROADCAST_TOKEN"Repeat until the status is final. Voice calls and ringless voicemail use /message/voice and /message/ringless with an audio ID that already exists in your account.