SMS Campaigns
Create SMS Campaign
Launch a new SMS campaign
POST
Create and launch an SMS campaign to send messages to your contact list.
Response will include
Authorizations
Authentication header containing your API key.
Body
Unique campaign identifier. Format:
{timestamp}x{random_18_digits}Example: "1763072374x123456789012345678"Campaign display name.Example:
"November 2024 Outreach"Organization unique_id.
User unique_id (campaign creator).
SMS agent unique_id for conversations.
SMS phone number to send from (E.164 format or without + prefix). Use organization’s
teli_sms_number.Example: "13135727768" or "+13135559999"Array of contact objects. Supports all lead fields from contact list.
Enable SMS-to-voice transfer. When true, AI can escalate conversation to phone call.
Teli Voice agent ID for voice transfer (required if
enable_sms_to_voice is true).Example: "agent_86f826bf8f59bacd5c10ae948a"Outbound phone number for voice calls (required if
enable_sms_to_voice is true).Example: "+12489071796"If true, simulates campaign without sending real SMS.Default:
falseValidate phone numbers before sending.Default:
falseMedia URL for MMS campaigns (optional).
Interval between follow-ups in seconds.Default:
0Custom data fields to extract from conversations.Default:
[]Custom follow-up message template.
Response
Campaign identifier
Processing status:
processing, active, completedAgent information
Campaign processing details
Always returns “Teli”
SMS-to-Voice Transfer
Enable seamless escalation from SMS conversations to phone calls by settingenable_sms_to_voice: true.
Requirements:
- Voice agent must be created beforehand (use
POST /v1/agentswithagent_type: "voice") - Must provide
voice_agent_id(Teli Voice agent ID) - Must provide
outbound_number(phone number for making calls)
- Campaign starts with SMS conversation
- AI detects when voice call would be beneficial
- System automatically initiates phone call using voice agent
- Seamless transition from text to voice conversation
voice_transfer_enabled: true in details.
Notes
- Campaign ID must be unique across your organization
- Contacts can include all lead fields (email, address, custom fields)
- Invalid phone numbers are automatically filtered out
- Campaign starts processing immediately upon creation
- Use
dry_run: truefor testing without sending real messages - SMS-to-voice requires both voice agent and outbound phone number
- Drip schedules defined in agent configuration (not campaign)
- All messages support variable substitution:
{{first_name}},{{last_name}}, etc.

