Create a 10DLC campaign registration with sample messages and compliance details.
Campaign must include at least 5 sample messages and clear opt-in/opt-out messaging.
Authorizations
Body
Required Fields
Brand ID from brand registration (e.g., B4KRR4F)
SubGroup ID to associate the campaign with
Campaign type: STANDARD or LOW_VOLUME
Array of use cases (up to 5). Options:
CUSTOMER_CARE
2FA
ACCOUNT_NOTIFICATION
DELIVERY_NOTIFICATION
FRAUD_ALERT
MARKETING
MIXED
POLLING_VOTING
PUBLIC_SERVICE_ANNOUNCEMENT
SECURITY_ALERT
Campaign description (40-4096 characters). Describes what messages will be sent.
How subscribers opt-in (40-4096 characters). Describes the consent process.
Array of phone number UUIDs to assign to this campaign. Get IDs from GET /v1/voice/phone-numbers.
URL to your privacy policy
terms_and_conditions_link
URL to your terms and conditions
Sample Messages (All 5 Required)
Sample message 1 (20-1024 characters). Must include opt-out language.
Sample message 2. Must include opt-out language.
Sample message 3. Must include opt-out language.
Sample message 4. Must include opt-out language.
Sample message 5. Must include opt-out language.
Array of MMS media UUIDs from the Upload Campaign MMS endpoint. Include if your campaign sends MMS messages with images or logos.
Compliance Options
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
Uses number pooling? Default: false
Messages contain links? Default: false
Messages contain phone numbers? Default: false
Keywords and Messages
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 in (e.g., “Welcome! You’ve now opted-in…”)
Message sent when user opts out
curl -X POST https://api.teli.ai/v1/10dlc/campaign \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"brand_id": "B4KRR4F",
"subgroup_id": "S9YNCY",
"campaign_type": "STANDARD",
"use_cases": ["CUSTOMER_CARE", "ACCOUNT_NOTIFICATION"],
"description": "Customer support and appointment scheduling for real estate inquiries",
"message_flow": "Users opt-in via website contact form with checkbox consent for SMS notifications. The checkbox text reads: By providing your phone number, you consent to receive SMS messages from us.",
"phone_number_ids": ["86d52903-9b86-4701-8c11-2ac18326faad"],
"privacy_policy_link": "https://example.com/privacy",
"terms_and_conditions_link": "https://example.com/terms",
"sample1": "Hi {{name}}, your appointment is confirmed for tomorrow at 2pm. 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.",
"sample4": "Reminder: Your appointment is in 1 hour. Reply STOP to opt out.",
"sample5": "Thank you for choosing us! Let us know if you have any questions. Reply STOP to opt out.",
"mms_media_uuid": ["UPLOAD/SOLDVCR/074851B595FA40EABEE0248B82A2CA5D"],
"direct_lending": false,
"age_gated": false,
"subscriber_optin": true,
"subscriber_optout": true,
"subscriber_help": true,
"help_message": "This is customer support. Reply STOP to opt out or call +15551234567.",
"optout_message": "You have been unsubscribed. No more messages will be sent."
}'
{
"success": true,
"campaign_id": "C1OTSR2",
"status": "PENDING",
"message": "Campaign submitted for carrier review. Approval typically takes 1-2 business days.",
"carrier_qualification": [
{
"carrier": "AT&T",
"qualified": true
},
{
"carrier": "T-Mobile",
"qualified": true
},
{
"carrier": "Verizon Wireless",
"qualified": true
}
],
"powered_by": "Teli"
}
Response
Whether the campaign was submitted successfully
Campaign registration ID (e.g., C1OTSR2)
Campaign status: PENDING, ACTIVE, REJECTED
Carrier approval status for each carrier (AT&T, T-Mobile, Verizon, etc.)
Phone Number Assignment
When you create a campaign:
- The specified phone numbers are automatically assigned to the campaign
- Assigned phone numbers are marked as unavailable for other campaigns
- Each phone number can only be used for one active campaign
Next Steps
After creating a campaign:
- Save the
campaign_id for tracking
- Wait for carrier approval (1-2 business days)
- Once approved, you can start sending messages from the assigned phone numbers
- Check campaign status via
GET /v1/10dlc/campaigns