Documentation
Sign inGet started

bird sms 10dlc campaigns numbers assign

Usage

कोड उदाहरण
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

कोड उदाहरण
# print the body shape (no credentials needed)
bird sms 10dlc campaigns numbers assign --example

# the body it prints:
कोड उदाहरण
{
  "sender_ids": ["snd_01krdgeqcxet5s7t44vh8rt9mg"]
}

Options

Request

NameDescription
--body-fileRead the JSON request body from this file; "-" reads stdin
--examplePrint a complete example request body, then exit
--dry-runPrint the resolved request without sending it, then exit
--idempotency-keyDeduplication key; a retry with the same key won't act twice

Options

NameDescription
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird sms 10dlc campaigns numbers getGet a 10DLC campaign number
bird sms 10dlc campaigns numbers listList a 10DLC campaign's numbers
bird sms 10dlc campaigns numbers unassignUnassign a number from a 10DLC campaign