Campaign Registry: Campaigns
Get campaign
Retrieves one US 10-digit long code (10DLC) campaign by ID so you can inspect its registered messaging use case and approval progress. Use List campaigns to discover IDs or List phone number assignments for the numbers bound to it.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Messaging and Numbers.
Learn more about API scopes.
get/api/relay/rest/registry/beta/campaigns/{id}
Path parameters
idstring uuid required
Universal Unique Identifier.
Unique ID of the campaign.
Response
The request has succeeded.
Example response
{
"name": "My Campaign",
"state": "pending",
"sms_use_case": "MARKETING",
"sample1": "this is a sample message your customer might receive",
"sample2": "this is a sample message your customer might receive",
"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,
"age_gated_content": true,
"lead_generation": true,
"csp_campaign_reference": "1231231",
"signalwire_contact_emails": [
"campaign_registrations@example.com"
],
"status_callback_url": "https://example.com/handle_callback"
}Changes
Changed in 1 of the 161 revisions of this API.1
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
Of the 161 revisions, 3 have a changelog that could not be searched.