Register a campaign
Registers a campaign for your brand: what you send, how recipients consent, and how HELP and STOP behave. Registration charges the registry's upfront, non-refundable three-month fee, so the request must repeat the quarterly_fee from the use-case listing as confirmed_upfront_fee. If the live fee no longer matches, nothing is charged and the answer is 409. Idempotency-Key is required and makes any retry safe: the same key returns the original registration (recovering it even when the first response was lost) and never charges twice; reusing the key with changed content returns 409. Registry and carrier review then run for hours to days — follow progress with GET /v1/10dlc/campaigns/{campaign_id}. A per-organization ceiling bounds new campaign submissions per day; the deployment default is ten.
Headers
- Type: stringIdempotency
- Key min length:1max length:255requiredRepeat this value to retry safely: the same key returns the original registration instead of charging again.
Body·
- Type: stringconfirmed
_upfront _fee requiredThe non-refundable three-month amount shown in the qualification listing. Submission is refused if the live fee no longer matches.
- Type: stringdescriptionmin length:40max length:4096required
What this campaign's messages are about, for registry reviewers.
- Type: stringhelp
_message min length:20max length:320requiredThe reply a recipient gets after texting a help keyword.
- Type: stringmessage
_flow min length:40max length:2048requiredHow a recipient consents to these messages, step by step.
- Type: stringoptout
_message min length:20max length:320requiredThe final reply a recipient gets after opting out.
- Type: stringprivacy
_policy _link max length:255requiredPublic privacy-policy URL.
- Type: array of string 1…5sample
_messages min length:1max length:1024requiredOne to five representative message texts.
- Type: stringterms
_and _conditions _link max length:255requiredPublic terms-and-conditions URL.
- Type: enumusecaserequired
The use case to register, from the qualification listing.
values- 2
F A - A
C C O U N T _ N O T I F I C A T I O N - A
G E N T S _ F R A N C H I S E S - C
H A R I T Y - C
U S T O M E R _ C A R E - D
E L I V E R Y _ N O T I F I C A T I O N - E
M E R G E N C Y - F
R A U D _ A L E R T
- 2
- Type: booleanage
_gated Whether the content is age-restricted.
- Type: booleandirect
_lending Whether messages relate to direct lending or loan arrangements.
- Type: booleanembedded
_link Whether messages contain web links.
Responses
- application/json
- application/json
curl /v1/10dlc/campaigns \
--request POST \
--header 'Idempotency-Key: ' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"usecase": "LOW_VOLUME",
"description": "",
"sample_messages": [
""
],
"message_flow": "",
"help_keywords": "HELP",
"help_message": "",
"optin_keywords": "",
"optin_message": "",
"optout_keywords": "STOP",
"optout_message": "",
"privacy_policy_link": "",
"terms_and_conditions_link": "",
"age_gated": false,
"direct_lending": false,
"embedded_link": false,
"embedded_phone": false,
"subscriber_optin": true,
"subscriber_optout": true,
"subscriber_help": true,
"sub_usecases": [
"ACCOUNT_NOTIFICATION"
],
"confirmed_upfront_fee": "6.00"
}'
{
"campaign_id": "6d40039b-0fc1-c114-c8e2-8a5294fd9941",
"status": "registered"
}
