10DLC
Update a 10DLC Campaign
Updates the 10DLC Campaign identified by campaign_id. Only the provided fields are changed.
put/v3/10dlc/brands/{brand_id}/campaigns/{campaign_id}
Path parameters
brand_idstring required
Example:BM20QP9
The unique ID of the 10DLC Brand.
campaign_idstring required
Example:CKLCK95
The unique ID of the 10DLC Campaign.
Request body
Example request
{
"name": "Campaign",
"usecase": "MARKETING",
"description": "Explain how users opt in (e.g., via website or paid ads), specify the message frequency, and clearly state that opting in to messages is optional and not required to use the service.",
"optin": true,
"optout": true,
"help": true,
"sample1": "Example of message sample for campaign 1",
"sample2": "Example of message sample for campaign 2",
"sample3": "Example of message sample for campaign 3",
"sample4": "Example of message sample for campaign 4",
"sample5": "Example of message sample for campaign 5",
"optin_workflow": "Our SMS campaign uses a double opt-in workflow where customers reply START to begin",
"help_message": "For help, please visit www.site.com. To opt out, reply STOP.",
"optin_message": "You have opted in to our campaign. Reply HELP for assistance or STOP to unsubscribe.",
"optout_message": "A comma-separated list of OPT-OUT keywords. The OPT-OUT keywords are case-insensitive.",
"auto_renewal": true,
"optin_keywords": "start,optin",
"help_keywords": "help",
"optout_keywords": "optout,discard",
"terms_conditions": "https://site.com/terms-and-conditions",
"privacy_policy": "PROFESSIONAL",
"embedded_link_sample": "https://example.com"
}Response
Returns the updated 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": []
}