Create a 10DLC campaign registration with sample messages and compliance details.
Campaign must include at least 3 sample messages and clear opt-in/opt-out messaging.
Authorizations
Body
Brand ID from brand registration
Campaign use case: CUSTOMER_CARE, 2FA, MARKETING, ACCOUNT_NOTIFICATION
Campaign description (40-4096 characters)
How subscribers opt-in (40-4096 characters)
Sample message 1 (20-1024 characters). Must include opt-out language.
Sample message 4 (optional but recommended)
Sample message 5 (optional but recommended)
Is this for direct lending? Default: false
Age-restricted content? Default: false
Requires opt-in? Default: true
Has opt-out? Default: true
Has help keywords? Default: true
Opt-in keywords. Default: "START, YES, SUBSCRIBE"
Opt-out keywords. Default: "STOP, QUIT, UNSUBSCRIBE, END"
Help keywords. Default: "HELP, INFO"
Message sent when user requests help (20-320 characters)
Message sent when user opts out
curl -X POST https://api.example.com/v1/10dlc/campaign \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"brandId": "B4KRR4F",
"usecase": "CUSTOMER_CARE",
"description": "Customer support and appointment scheduling for real estate inquiries",
"messageFlow": "Users opt-in via website contact form with checkbox consent for SMS notifications",
"sample1": "Hi {'{'}{'{'}}name{'}'}{'}'},your appointment is confirmed. Reply STOP to opt out.",
"sample2": "Thanks for your inquiry! We will call you shortly. Reply STOP to opt out.",
"sample3": "Your request has been received. We will respond within 24 hours. Reply STOP to opt out.",
"directLending": false,
"ageGated": false,
"subscriberOptin": true,
"subscriberOptout": true,
"subscriberHelp": true,
"helpMessage": "This is customer support. Reply STOP to opt out or call +15551234567.",
"optoutMessage": "You have been unsubscribed. No more messages will be sent."
}'
{
"campaignId": "C1OTSR2",
"mnoMetadata": {
"10017": {
"mno": "AT&T",
"qualify": true
},
"10035": {
"mno": "T-Mobile",
"qualify": true
}
},
"powered_by": "Teli"
}
Response
Carrier approval status for each carrier (AT&T, T-Mobile, Verizon, etc.)
Next Steps
After creating a campaign:
- Save the
campaignId to your organization
- Wait for carrier approval (1-2 days)
- Webhook will notify when approved
- Phone number assigned automatically