Skip to content

Create or update the A2P 10DLC brand registration in Twilio

POST
/v1/channel-connections/{id}/10dlc/registration
curl --request POST \
--url https://api.replifier.com/v1/channel-connections/ccc_01hx0000000000000000000000/10dlc/registration \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "entityName": "example", "ein": "example", "companyType": "private", "street": "example", "city": "example", "state": "example", "postalCode": "example", "country": "US", "phone": "example", "email": "hello@example.com", "website": "example", "vertical": "AGRICULTURE", "stockSymbol": "example", "stockExchange": "NASDAQ" }'
id
required
string
/^ccc_[a-z0-9]{26}$/

Example

ccc_01hx0000000000000000000000
Media typeapplication/json
object
entityName
required
string
>= 1 characters <= 100 characters
ein
required
string
>= 9 characters <= 10 characters /^\d{2}-?\d{7}$/
companyType
required
string
Allowed values: private public nonprofit government sole_proprietor
street
required
string
>= 1 characters <= 100 characters
city
required
string
>= 1 characters <= 60 characters
state
required
string
>= 2 characters <= 2 characters
postalCode
required
string
>= 5 characters <= 10 characters
country
required
string
Allowed values: US
phone
required
string
/^\+1\d{10}$/
email
required
string format: email
<= 100 characters
website
string
<= 200 characters
vertical
required
string
Allowed values: AGRICULTURE COMMUNICATION EDUCATION ENERGY ENTERTAINMENT FINANCIAL GAMBLING GOVERNMENT HEALTHCARE HOSPITALITY HUMAN_RESOURCES INSURANCE LEGAL MANUFACTURING NGO POLITICAL PROFESSIONAL REAL_ESTATE RETAIL TECHNOLOGY TRANSPORTATION
stockSymbol
string
<= 10 characters
stockExchange
string
Allowed values: NASDAQ NYSE AMEX AMX ASX B3 BME BSE FRA ICEX JPX JSE KRX LON NSE OMX SEHK SGX SSE STO SWX SZSE TSX TWSE VSE NONE

Brand registration created or submitted

Media typeapplication/json
object
id
required
string
connectionId
required
string
type
required
string
Allowed values: brand campaign
status
required
string
Allowed values: draft pending approved rejected suspended
providerId
required
string
nullable
errorMessage
required
string
nullable
createdAt
required
string
updatedAt
required
string

Example

{
"type": "brand",
"status": "draft"
}

Invalid data

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

No session, expired session, or invalid, expired or revoked API key

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Does not exist or is not visible to you

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Conflict

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Internal error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}