Pinnacle
API ReferenceCampaigns10DLC Campaigns

Create or Update 10DLC Campaign

Serverhttps://api.pinnacle.sh/
POST
/campaigns/dlc

Request body

Edit JSON, then apply it to your request.

JSON

Create a new 10DLC campaign or update an existing one.

Before you start: Create a brand first — you'll need its id for the brand field.

All fields are required unless specified otherwise, and will be validated when submitted.

See the response for example values for each field.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

autoRenewbooleanOptional

Whether the campaign renews automatically.

Default
true
brandstringOptional

Brand id. This identifier is a string that always begins with the prefix b_, for example: b_1234567890.

Example
"b_1234567890"
campaignIdstringOptional

Unique identifier for the campaign. This identifier is a string that always begins with the prefix dlc_, for example: dlc_1234567890.

Example
"dlc_1234567890"
descriptionstringOptional

Description of the campaign. Explain the purpose, use case, and types of messages your campaign will send.

Example: This campaign allows users who have specifically opted in to interact with our chatbot for a range of automated services, including order status notifications, shipping updates, security alerts, and help desk support. Users can manage their account, receive transactional SMS prompts, and access interactive support. They may also share images, such as receipts, and receive immediate responses for support or account updates. All messages are strictly transactional or support-related, never unsolicited, and initiated only after clear user consent.

Length
40 <= length <= 4096
Example
"Primary messaging workflowxxxxxxxxxxxxxx"
objectOptional

Keyword response configuration.

messageFlowstringOptional

Describe your opt-in workflow. See the Opt-In Methods and Workflow section for requirements and examples.

Length
40 <= length <= 4096
Example
"Hello from Pinnacle!xxxxxxxxxxxxxxxxxxxx"
namestringOptional

Display name of the campaign.

Example
"Acme Support"
objectOptional

Campaign configuration options.

sampleMessagesarray<string>Optional

Example messages for the campaign. Include 1-5 messages that represent the types of messages you will send. See the Sample Messages section for requirements and examples.

Items
1 <= items <= 5
Each item
Example
"Hello from Pinnacle!"
objectOptional

Use case for the campaign.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

Pinnacle referenceAsk Pinnacle

Get a sourced answer from the published documentation.

ViewingPinnacle documentation

Conversations are saved for analysis.

Try asking