Register a 10DLC Campaign
Changed onRegisters a 10DLC Campaign under the 10DLC Brand identified by brand_id. The Brand must have a verified identity status.
Request
- Base URLhttps://api.wavix.com
- URLhttps://api.wavix.com/v3/10dlc/brands/{brand_id}/campaigns
- AuthHTTP bearer
Path parameters
The unique ID of the 10DLC Brand.
Request body
Example request
{
"affiliate_marketing": false,
"age_gated": false,
"auto_renewal": false,
"description": "Our campaign aims to …",
"direct_lending": false,
"embedded_link_sample": "https://site.com/verify",
"embedded_links": false,
"embedded_phones": false,
"help": true,
"help_keywords": "help",
"help_message": "For help, please visit www.site.com. To opt-out, reply STOP.",
"mock": false,
"name": "My first campaign",
"optin": true,
"optin_keywords": "begin,start",
"optin_message": "You are now opted-in for help please reply HELP, to stop please reply STOP",
"optin_workflow": "Our SMS ...",
"optout": true,
"optout_keywords": "stop,quit,unsubscribe",
"optout_message": "You are now opted out and will receive no further messages",
"privacy_policy": "https://site.com/privacy-policy",
"sample1": "Your verification code is XXXXXX",
"sample2": "XXXX is your verification code",
"sample3": "Your code is XXXXXX, valid for 10 minutes",
"sample4": "Use code XXXXXX to confirm your login",
"sample5": "XXXXXX is your one-time passcode",
"terms_conditions": "https://site.com/terms-and-conditions",
"usecase": "2FA"
}Response
Returns the registered 10DLC Campaign.
Example response
{
"affiliate_marketing": false,
"age_gated": false,
"auto_renewal": false,
"brand_id": "BM20QP9",
"campaign_id": "CKLCK95",
"created_at": "2024-08-14T11:57:41",
"description": "Our campaign aims to …",
"direct_lending": false,
"embedded_link_sample": null,
"embedded_links": false,
"embedded_phones": false,
"feedback": null,
"help": true,
"help_keywords": "help",
"help_message": "For help, please visit www.site.com. To opt-out, reply STOP.",
"last_bill_date": "2024-08-14T11:57:42",
"mock": false,
"monthly_fee": "10.0",
"name": "My first campaign",
"next_bill_date": "2024-11-14T00:00:00",
"optin": true,
"optin_keywords": "begin,start",
"optin_message": "You are now opted-in for help please reply HELP, to stop please reply STOP",
"optin_workflow": "Our SMS ...",
"optout": true,
"optout_keywords": "stop,quit,unsubscribe",
"optout_message": "You are now opted out and will receive no further messages",
"privacy_policy": "https://site.com/privacy-policy",
"sample1": "Your verification code is XXXXXX",
"sample2": "XXXX is your verification code",
"sample3": null,
"sample4": null,
"sample5": null,
"status": "APPROVED",
"terms_conditions": "https://site.com/terms-and-conditions",
"updated_at": "2024-08-14T11:57:47",
"usecase": "2FA",
"phone_numbers": [
"14358684439",
"13193337776",
"12673296046"
]
}Changes
- breaking
added the pattern
^B[A-Z0-9]{6}$to thepathrequest parameterbrand_id - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - info
the request property
became optional - info
the request property
became optional - info
the request property
became optional - info
the request property
became optional - info
the request property
became optional - info
the request property
became optional - info
removed
subschema #2from the response bodyallOflist for the response status - info
removed
subschema #2from the response bodyallOflist for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- info
the endpoint scheme security
bearerAuthwas added to the API
- info