Create or update the A2P 10DLC brand registration in Twilio
POST
/v1/channel-connections/{id}/10dlc/registration
const url = 'https://api.replifier.com/v1/channel-connections/ccc_01hx0000000000000000000000/10dlc/registration';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"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"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Example
ccc_01hx0000000000000000000000Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
entityName
required
string
ein
required
string
companyType
required
string
street
required
string
city
required
string
state
required
string
postalCode
required
string
country
required
string
phone
required
string
email
required
string format: email
website
string
vertical
required
string
stockSymbol
string
stockExchange
string
Responses
Section titled “Responses”Brand registration created or submitted
Media typeapplication/json
object
id
required
string
connectionId
required
string
type
required
string
status
required
string
providerId
required
string
errorMessage
required
string
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" }}