Skip to main content
POST
Create 10DLC campaign

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
brandId
string
required

ID of the brand to create this campaign under.

name
string
required
Maximum string length: 100
useCase
string
required

Campaign use case (e.g., ACCOUNT_NOTIFICATION, MARKETING, 2FA).

Maximum string length: 50
description
string
required
Maximum string length: 4096
sampleMessages
string[]
required
Required array length: 1 - 5 elements
Maximum string length: 1024
subscriberOptIn
boolean
required
subscriberOptOut
boolean
required
subscriberHelp
boolean
required
numberPooling
boolean
required
directLending
boolean
required
embeddedPhone
boolean
required
affiliateMarketing
boolean
required
ageGated
boolean
required
subUseCases
string[]
messageFlow
string
Maximum string length: 2048
helpMessage
string
Maximum string length: 500
optInKeywords
string[]
Maximum string length: 50
optOutKeywords
string[]
Maximum string length: 50

Response

Campaign created in draft status.

campaign
object
required