Update a Campaign
PUT/registry/beta/campaigns/:id
Allows updating the friendly name associated with a campaign
Permissions
The API token must include the following scopes: Messaging.
Request
Path Parameters
Unique ID of the campaign
- application/json
Body
required
A name for the campaign.
My Campaign
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
The unique id of the campaign.
A name for the campaign.
My Campaign
The current state of the campaign.
pending
An SMS Use Case category for the campaign (2FA, ACCOUNT_NOTIFICATION, AGENTS_FRANCHISES, CARRIER_EXEMPT, CHARITY, CUSTOMER_CARE, DELIVERY_NOTIFICATION, EMERGENCY, FRAUD_ALERT, HIGHER_EDUCATION, K12_EDUCATION, LOW_VOLUME_MIXED, MARKETING, MIXED, POLITICAL, POLITICAL_SECTION_527, POLLING_VOTING, PROXY, PUBLIC_SERVICE_ANNOUNCEMENT, SECURITY_ALERT, SOCIAL, SWEEPSTAKE, TRIAL, UCAAS_HIGH_VOLUME, UCAAS_LOW_VOLUME).
MARKETING
A sub use case category for MIXED or LOW_VOLUME_MIXED campaigns (CUSTOMER_CARE, HIGHER_EDUCATION, POLLING_VOTING, PUBLIC_SERVICE_ANNOUNCEMENT, MARKETING, SECURITY_ALERT, 2FA, ACCOUNT_NOTIFICATION, DELIVERY_NOTIFICATION, FRAUD_ALERT).
["MARKETING","2FA"]
Campaign Verifiy token. Required if sms use case is POLITICAL_SECTION_527. (Some U.S. wireless carriers require political committees to obtain Campaign Verify verification in order to access special political campaign classes for the new 10DLC text messaging routes. Visit www.campaignverify.org for more information and to obtain your token)
null
A description for the campaign. Please use at least 40 characters.
null
Sample message template/content. At least two samples are required and up to five can be provided. Please use at least 20 characters.
this is a sample message your customer might receive
Sample 2.
this is a sample message your customer might receive
Sample 3.
Sample 4.
Sample 5.
If your messaging content will be modified in any way beyond what you shared in your templates, please describe the nature of how the content will change.
Please describe the call to action/message flow your intended recipients will experience.
Users will opt in to receive messages from their doctor through a written form and we will send them an opt in message. Appointment reminders will then be sent ahead of their appointments.
Please share the message subscribers receive when they opt in.
Thanks for subscribing. Reply STOP to cancel at any time.
Please share the message subscribers receive when they opt out.
You have successfully been opted out. Reply START to opt back in at any time.
Please share the message subscribers receive when they opt out.
You have successfully been opted out. Reply SUBSCRIBE to opt back in at any time.
You can share any opt in keywords that subscribers can use here. Default = START
Start,Subscribe,Opt In
You can share any opt in keywords that subscribers can use here. Default = STOP
Stop,Opt Out,Unsubscribe
You can share any help keywords that subscribers can use here. Default = HELP
Help,Support,Request Call
Will 50 or more numbers be used with this single campaign? If so, please enter true.
true
If you will be using number pooling, please provide an explanation as to why it is needed.
We have customer reps in every state and they each need their own number with local area code.
Will this campaign include content related to direct lending or other loan agreements?
true
Will you be using an embedded link of any kind? Note that public URL shorteners (bitly, tinyurl) will not be accepted.
false
Are you using an embedded phone number (except the required HELP information contact phone number)?
false
Will this campaign include any age gated content as defined by carrier and CTA guidelines?
true
Is there any intent of this campaign to generate leads?
true
If you are your own Campaign Service Provider, what is the approved Campaign ID? (Mandatory for CSPs, otherwise please omit)
1231231
Optional: Specify a URL to receive webhook notifications when your campaign’s state changes.
https//example.com/handle_callback
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "My Campaign",
"state": "pending",
"sms_use_case": "MARKETING",
"sub_use_cases": [
"MARKETING",
"2FA"
],
"campaign_verify_token": null,
"description": null,
"sample1": "this is a sample message your customer might receive",
"sample2": "this is a sample message your customer might receive",
"sample3": "string",
"sample4": "string",
"sample5": "string",
"dynamic_templates": "string",
"message_flow": "Users will opt in to receive messages from their doctor through a written form and we will send them an opt in message. Appointment reminders will then be sent ahead of their appointments.",
"opt_in_message": "Thanks for subscribing. Reply STOP to cancel at any time.",
"opt_out_message": "You have successfully been opted out. Reply START to opt back in at any time.",
"help_message": "You have successfully been opted out. Reply SUBSCRIBE to opt back in at any time.",
"opt_in_keywords": "Start,Subscribe,Opt In",
"opt_out_keywords": "Stop,Opt Out,Unsubscribe",
"help_keywords": "Help,Support,Request Call",
"number_pooling_required": true,
"number_pooling_per_campaign": "We have customer reps in every state and they each need their own number with local area code.",
"direct_lending": true,
"embedded_link": false,
"embedded_phone": false,
"age_gated_content": true,
"lead_generation": true,
"csp_campaign_reference": "1231231",
"status_callback_url": "https//example.com/handle_callback",
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z"
}