bird sms 10dlc campaigns numbers assign
Usage
Code example
bird sms 10dlc campaigns numbers assign <campaign-id> [flags]Description
Assign numbers to a 10DLC campaign
Assign the workspace's US long codes to a 10DLC campaign so they can send to US recipients once the carriers confirm each number. Either every number in the request is assigned or none is.
Build the request from flags, a JSON TCRCampaignNumberLinkCreate body via --body-file ("-" reads
stdin), or both — a flag overrides the matching body field. Run --example to
print a ready-to-edit body, or --dry-run to print the resolved request without
sending it.
Examples
Code example
# print the body shape (no credentials needed)
bird sms 10dlc campaigns numbers assign --example
# the body it prints:Code example
{
"sender_ids": ["snd_01krdgeqcxet5s7t44vh8rt9mg"]
}Options
Request
| Name | Description |
|---|---|
| --body-file | Read the JSON request body from this file; "-" reads stdin |
| --example | Print a complete example request body, then exit |
| --dry-run | Print the resolved request without sending it, then exit |
| --idempotency-key | Deduplication key; a retry with the same key won't act twice |
Options
| Name | Description |
|---|---|
| --sender-ids <value>… | The senders to register under this campaign. Each must be a US long code the workspace owns. Toll-free numbers and alphanumeric senders use their own registration. (required; or in --body-file) |
| --response-schema | Print the fields this command returns, then exit |
Related
| Name | Description |
|---|---|
| bird sms 10dlc campaigns numbers get | Get a 10DLC campaign number |
| bird sms 10dlc campaigns numbers list | List a 10DLC campaign's numbers |
| bird sms 10dlc campaigns numbers unassign | Unassign a number from a 10DLC campaign |
Related resources
Continue with the documentation, guides and examples for this topic. Resources are in English.
Watch the guideSending your first SMSUnderstand the conceptWhat does SMS mean?Explore the capabilitySMSFollow the learning pathBuild your first integration
Try the practice and get an implementation brief