How it works
| Requirement | Details |
|---|---|
| Number type | US long code (10-digit) numbers only |
| Messaging profile | Number must be assigned to a messaging profile first |
| Campaign status | Campaign must be ACTIVE (approved by carriers) |
| One campaign per number | Each number can only be assigned to one campaign at a time |
Assign a number to a campaign
- API
- Portal
Bulk assignment
When assigning multiple numbers to the same campaign, loop through your numbers programmatically:Number pool integration
If you’re using Number Pools, numbers in the pool must also be assigned to a 10DLC campaign. The number pool distributes sending across multiple numbers, but each number still needs campaign registration.Create your campaign
Register your campaign via the Campaign Registration guide.
Enable number pool on messaging profile
Configure your messaging profile with number pool enabled.
Assign all pool numbers to the campaign
Every number in the pool must be assigned to the same campaign. Use the bulk assignment method above.
List assigned numbers
Remove a number from a campaign
Removing a number from a campaign means it can no longer send 10DLC messages. You can reassign it to a different campaign afterward.
Troubleshooting
Error: Number not found
Error: Number not found
Cause: The phone number isn’t on your Telnyx account or isn’t in E.164 format.Fix:
- Verify the number is in your account:
GET /v2/phone_numbers?filter[phone_number]=+15551234567 - Ensure E.164 format:
+1followed by 10 digits (e.g.,+15551234567)
Error: Number not assigned to a messaging profile
Error: Number not assigned to a messaging profile
Cause: Numbers must be assigned to a messaging profile before campaign assignment.Fix:
Error: Campaign not active
Error: Campaign not active
Cause: The campaign hasn’t been approved by carriers yet.Fix:
- Check campaign status:
GET /v2/10dlc/campaignBuilder/{campaignId} - Wait for carrier approval (1-5 business days)
- Set up Event Notifications to get notified when the campaign is approved
Error: Number already assigned to another campaign
Error: Number already assigned to another campaign
Cause: Each number can only be assigned to one campaign at a time.Fix:
- Remove the number from the current campaign:
DELETE /v2/10dlc/phoneNumberCampaign/+15551234567 - Assign it to the new campaign
Messages still being filtered after assignment
Messages still being filtered after assignment
Cause: Carrier provisioning takes time after assignment.Fix:
- Wait 24-72 hours for all carriers to propagate
- Check MNO metadata on the campaign for per-carrier status
- Verify the number is sending the same type of content registered in the campaign
- Check Message Detail Records for specific error codes
Bulk assignment partially failing
Bulk assignment partially failing
Cause: Some numbers may have issues while others succeed.Fix:
- Check each error response for the specific reason
- Common issues: number on different account, already assigned, not on messaging profile
- Use the bulk assignment script above with error tracking to identify which numbers failed and why