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.
Successful Response
{- "entityType": "PRIVATE_PROFIT",
- "cspId": "string",
- "brandId": "4b206179-f731-8ab7-f19c-34e19d22ide9",
- "displayName": "Example Company",
- "companyName": "Example Company Inc.",
- "ein": "142536893",
- "phone": "+13259390512",
- "street": "123 Example St.",
- "city": "Chicago",
- "state": "IL",
- "postalCode": "60654",
- "country": "US",
- "stockSymbol": "ABC",
- "stockExchange": "NASDAQ",
- "ipAddress": "string",
- "website": "www.examplecompany.com",
- "vertical": "TECHNOLOGY",
- "altBusinessId": "string",
- "altBusinessIdType": "NONE",
- "universalEin": "string"
}
{- "entityType": "PRIVATE_PROFIT",
- "cspId": "string",
- "brandId": "4b206179-f731-8ab7-f19c-34e19d22ide9",
- "displayName": "Example Company",
- "companyName": "Example Company Inc.",
- "ein": "142536893",
- "phone": "+13259390512",
- "street": "123 Example St.",
- "city": "Chicago",
- "state": "IL",
- "postalCode": "60654",
- "country": "US",
- "stockSymbol": "ABC",
- "stockExchange": "NASDAQ",
- "ipAddress": "string",
- "website": "www.examplecompany.com",
- "brandRelationship": "BASIC_ACCOUNT",
- "vertical": "TECHNOLOGY",
- "altBusinessId": "string",
- "altBusinessIdType": "NONE",
- "universalEin": "string",
- "identityStatus": "VERIFIED"
}
This endpoint is used to list all brands associated with your organization.
# install http://docs.python-requests.org/en/master/ import requests url = 'https://api.telnyx.com/10dlc/brand' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Authorization': 'Bearer API_TOKEN' } response = requests.request('get', url, headers=headers) print(response.text)
{- "records": [
- {
- "brandId": "4b206179-f731-8ab7-f19c-34e19d22ide9",
- "entityType": "PRIVATE_PROFIT",
- "companyName": "Example Company Inc.",
- "displayName": "Example Company",
- "website": "www.examplecompany.com",
- "createAt": "2021-03-08T17:57:48.801186",
- "updatedAt": "2021-03-08T17:57:48.801186"
}
], - "page": 1,
- "totalRecords": 1
}
Retrieve a brand by brandId
.
Successful Response
# install http://docs.python-requests.org/en/master/ import requests url = 'https://api.telnyx.com/10dlc/brand/{brandId}' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Authorization': 'Bearer API_TOKEN' } response = requests.request('get', url, headers=headers) print(response.text)
{- "entityType": "PRIVATE_PROFIT",
- "cspId": "string",
- "brandId": "4b206179-f731-8ab7-f19c-34e19d22ide9",
- "displayName": "Example Company",
- "companyName": "Example Company Inc.",
- "ein": "142536893",
- "phone": "+13259390512",
- "street": "123 Example St.",
- "city": "Chicago",
- "state": "IL",
- "postalCode": "60654",
- "country": "US",
- "stockSymbol": "ABC",
- "stockExchange": "NASDAQ",
- "ipAddress": "string",
- "website": "www.examplecompany.com",
- "brandRelationship": "BASIC_ACCOUNT",
- "vertical": "TECHNOLOGY",
- "altBusinessId": "string",
- "altBusinessIdType": "NONE",
- "universalEin": "string",
- "identityStatus": "VERIFIED"
}
Update a brand's attributes by brandId
.
Successful Response
{- "entityType": "PRIVATE_PROFIT",
- "displayName": "Example Company Updated",
- "companyName": "Example Company Inc.",
- "ein": "142536893",
- "phone": "+13259390512",
- "street": "123 Example St.",
- "city": "San Francisco",
- "state": "CA",
- "postalCode": "94016",
- "country": "US",
- "stockSymbol": "EXCOUP",
- "stockExchange": "NASDAQ",
- "ipAddress": "string",
- "website": "www.examplecompanyupdated.com",
- "vertical": "TECHNOLOGY",
- "altBusinessId": "string",
- "altBusinessIdType": "NONE"
}
{- "entityType": "PRIVATE_PROFIT",
- "displayName": "Example Company Updated",
- "companyName": "Example Company Inc.",
- "ein": "142536893",
- "phone": "+13259390512",
- "street": "123 Example St.",
- "city": "San Francisco",
- "state": "CA",
- "postalCode": "94016",
- "country": "US",
- "stockSymbol": "EXCOUP",
- "stockExchange": "NASDAQ",
- "ipAddress": "string",
- "website": "www.examplecompanyupdated.com",
- "brandRelationship": "BASIC_ACCOUNT",
- "vertical": "TECHNOLOGY",
- "altBusinessId": "string",
- "altBusinessIdType": "NONE",
- "identityStatus": "VERIFIED"
}
This operation allows you to revet the brand. However, revetting is allowed once after the successful brand registration and thereafter limited to once every 3 months.
Successful.
Request Failed.
# install http://docs.python-requests.org/en/master/ import requests url = 'https://api.telnyx.com/10dlc/brand/{brandId}/revet' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Authorization': 'Bearer API_TOKEN' } response = requests.request('put', url, headers=headers) print(response.text)
{- "entityType": "PRIVATE_PROFIT",
- "cspId": "string",
- "brandId": "4b206179-f731-8ab7-f19c-34e19d22ide9",
- "displayName": "Example Company",
- "companyName": "Example Company Inc.",
- "ein": "142536893",
- "phone": "+13259390512",
- "street": "123 Example St.",
- "city": "Chicago",
- "state": "IL",
- "postalCode": "60654",
- "country": "US",
- "stockSymbol": "ABC",
- "stockExchange": "NASDAQ",
- "ipAddress": "string",
- "website": "www.examplecompany.com",
- "brandRelationship": "BASIC_ACCOUNT",
- "vertical": "TECHNOLOGY",
- "altBusinessId": "string",
- "altBusinessIdType": "NONE",
- "universalEin": "string",
- "identityStatus": "VERIFIED"
}
Retrieve a list of valid external vetting records for a supplied brand.
Successful Response
# install http://docs.python-requests.org/en/master/ import requests url = 'https://api.telnyx.com/10dlc/brand/{brandId}/externalVetting' headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', 'Authorization': 'Bearer API_TOKEN' } response = requests.request('get', url, headers=headers) print(response.text)
[- {
- "evpId": "string",
- "vettingId": "string",
- "vettingToken": "string",
- "vettingScore": 0,
- "vettingClass": "string",
- "vettedDate": "string",
- "createDate": "string"
}
]
This endpoint allows you to order external vetting for a brand. Brand vetting is optional, but it is highly recommended. In essence, brand vetting is a way of letting The Campaign Registry (TCR) know that a given brand is legitimate. Carrier rate limits and daily message limits are determined by a "brand score", which is a score that TCR assigns to given brand in an attempt to measure brand credibility. Brand vetting will entail an upfront, non-refundable $40 expense.
Successful Response
{- "evpId": "string",
- "vettingClass": "string"
}
{- "evpId": "string",
- "vettingId": "string",
- "vettingToken": "string",
- "vettingScore": 0,
- "vettingClass": "string",
- "vettedDate": "string",
- "createDate": "string"
}
Get feedback about a brand by ID. This endpoint can be used after creating or revetting a brand.
Possible values for .category[].id
:
TAX_ID
- Data mismatch related to tax id and its associated properties.STOCK_SYMBOL
- Non public entity registered as a public for profit entity or
the stock information mismatch.GOVERNMENT_ENTITY
- Non government entity registered as a government entity.
Must be a U.S. government entity.NONPROFIT
- Not a recognized non-profit entity. No IRS tax-exempt status
found.OTHERS
- Details of the data misrepresentation if any.{- "brandId": "d88dd2aa-1bb9-4ef0-9ec8-1752b80316a5",
- "category": [
- {
- "id": "TAX_ID",
- "displayName": "Tax Id",
- "description": "Tax Id does not match with the company name or business type.",
- "fields": [
- "ein",
- "companyName",
- "entityType"
]
}
]
}