Documentation Index
Fetch the complete documentation index at: https://developers.sendazi.com/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint accepts multipart/form-data when uploading an audio file, or application/json when using text-to-speech.
Name of the campaign for identification
Array of phone numbers (international, local, or with + prefix). Either recipients or group_ids must be provided.
Array of group UUIDs to target. Either recipients or group_ids must be provided.
Audio file to broadcast (MP3, WAV, OGG). Either audio or message must be provided.
Text message to be converted to speech (text-to-speech). Either audio or message must be provided.
Schedule the campaign for a future time. Format: YYYY-MM-DD HH:MM:SS
Enable recurring campaign
Frequency of recurrence: daily, weekly, or monthly
Interval between recurrences
End date for recurring campaign
Audio File Requirements
| Format | Max Size | Max Duration |
|---|
| MP3 | 10 MB | 5 minutes |
| WAV | 10 MB | 5 minutes |
| OGG | 10 MB | 5 minutes |
curl -X POST "https://sendazi.com/api/v1/voice-campaigns" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "name=Audio Announcement" \
-F "group_ids[]=ee9fb0b4-83f0-4be5-a0be-1063e05ff0b8" \
-F "sender_id=MYCOMPANY" \
-F "audio=@/path/to/audio.mp3"
{
"success": true,
"data": {
"id": 2,
"uuid": "9c026029-25e7-5d3b-b3dg-g7d4e9ecd956",
"name": "Audio Announcement",
"total_recipients": 25,
"messages_sent": 0,
"credits_used": "0.00",
"status": "pending",
"audio_url": "https://sendazi.com/storage/audio/9c026029.mp3",
"created_at": "2026-01-15T11:00:00.000000Z",
"updated_at": "2026-01-15T11:00:00.000000Z"
}
}