Create Brand
POST/brand
This endpoint is used to create a new brand. A brand is an entity created by The Campaign Registry (TCR) that represents an organization or a company. It is this entity that TCR created campaigns will be associated with. Each brand creation will entail an upfront, non-refundable $4 expense.
Request
- application/json
Body
required
Possible values: [PRIVATE_PROFIT
, PUBLIC_PROFIT
, NON_PROFIT
, SOLE_PROPRIETOR
, GOVERNMENT
]
Entity type behind the brand. This is the form of business establishment.
Possible values: <= 100 characters
Display name, marketing name, or DBA name of the brand.
Possible values: <= 100 characters
(Required for Non-profit/private/public) Legal company name.
Possible values: <= 100 characters
First name of business contact.
Possible values: <= 100 characters
Last name of business contact.
Possible values: <= 20 characters
(Required for Non-profit) Government assigned corporate tax ID. EIN is 9-digits in U.S.
Possible values: <= 20 characters
Valid phone number in e.164 international format.
Possible values: <= 100 characters
Street number and name.
Possible values: <= 100 characters
City name
Possible values: <= 20 characters
State. Must be 2 letters code for United States.
Possible values: <= 10 characters
Postal codes. Use 5 digit zipcode for United States
Possible values: <= 2 characters
ISO2 2 characters country code. Example: US - United States
Possible values: <= 100 characters
Valid email address of brand support contact.
Possible values: <= 10 characters
(Required for public company) stock symbol.
Possible values: [NONE
, NASDAQ
, NYSE
, AMEX
, AMX
, ASX
, B3
, BME
, BSE
, FRA
, ICEX
, JPX
, JSE
, KRX
, LON
, NSE
, OMX
, SEHK
, SSE
, STO
, SWX
, SZSE
, TSX
, TWSE
, VSE
]
(Required for public company) stock exchange.
Possible values: <= 50 characters
IP address of the browser requesting to create brand identity.
Possible values: <= 100 characters
Brand website URL.
Possible values: [REAL_ESTATE
, HEALTHCARE
, ENERGY
, ENTERTAINMENT
, RETAIL
, AGRICULTURE
, INSURANCE
, EDUCATION
, HOSPITALITY
, FINANCIAL
, GAMBLING
, CONSTRUCTION
, NGO
, MANUFACTURING
, GOVERNMENT
, TECHNOLOGY
, COMMUNICATION
]
Vertical or industry segment of the brand or campaign.
Mock brand for testing purposes. Defaults to false.
Possible values: <= 20 characters
Valid mobile phone number in e.164 international format.
Business contact email.
Required if entityType
is PUBLIC_PROFIT
.
Webhook URL for brand status updates.
Webhook failover URL for brand status updates.
Responses
200: Successful Response
- application/json
422: Validation Error
- application/json
Request samples
curl -L 'https://api.telnyx.com/10dlc/brand' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"entityType": "PRIVATE_PROFIT",
"displayName": "ABC Mobile",
"companyName": "ABC Inc.",
"firstName": "John",
"lastName": "Smith",
"ein": "111111111",
"phone": "+12024567890",
"street": "123",
"city": "New York",
"state": "NY",
"postalCode": "10001",
"country": "US",
"email": "string",
"stockSymbol": "ABC",
"stockExchange": "NASDAQ",
"ipAddress": "string",
"website": "http://www.abcmobile.com",
"vertical": "TECHNOLOGY",
"isReseller": false,
"mock": false,
"mobilePhone": "+12024567890",
"businessContactEmail": "name@example.com",
"webhookURL": "https://webhook.com/67ea78a8-9f32-4d04-b62d-f9502e8e5f93",
"webhookFailoverURL": "https://webhook.com/9010a453-4df8-4be6-a551-1070892888d6"
}'
Response samples
{
"entityType": "PRIVATE_PROFIT",
"cspId": "string",
"brandId": "4b20017f-8da9-a992-a6c0-683072fb7729",
"tcrBrandId": "BBRAND1",
"displayName": "ABC Mobile",
"companyName": "ABC Inc.",
"firstName": "John",
"lastName": "Smith",
"ein": "111111111",
"phone": "+12024567890",
"street": "123",
"city": "New York",
"state": "NY",
"postalCode": "10001",
"country": "US",
"email": "string",
"stockSymbol": "ABC",
"stockExchange": "NASDAQ",
"ipAddress": "string",
"website": "http://www.abcmobile.com",
"vertical": "string",
"altBusinessId": "string",
"universalEin": "string",
"referenceId": "string",
"optionalAttributes": {
"taxExemptStatus": "string"
},
"mock": false,
"mobilePhone": "+12024567890",
"isReseller": false,
"webhookURL": "https://webhook.com/67ea78a8-9f32-4d04-b62d-f9502e8e5f93",
"businessContactEmail": "name@example.com",
"webhookFailoverURL": "string",
"createdAt": "2021-03-08T17:57:48.801186",
"updatedAt": "2021-03-08T17:57:48.801186"
}
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}