bird sms 10dlc campaigns numbers assign
Usage
Exemplo de código
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
Exemplo de código
# print the body shape (no credentials needed)
bird sms 10dlc campaigns numbers assign --example
# the body it prints:Exemplo de código
{
"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 |
Recursos relacionados
Continue com a documentação, guias e exemplos sobre este tópico. Os recursos estão em inglês.
Assista ao guiaSending your first SMSEntenda o conceitoWhat does SMS mean?Explore a funcionalidadeSMSSiga o percurso de aprendizagemBuild your first integration
Experimente na prática e obtenha um resumo de implementação