bird sms 10dlc campaigns numbers assign
Usage
Codebeispiel
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
Codebeispiel
# print the body shape (no credentials needed)
bird sms 10dlc campaigns numbers assign --example
# the body it prints:Codebeispiel
{
"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 |
|---|---|
| --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 |