List Brands
GET/brand
This endpoint is used to list all brands associated with your organization.
Request
Query Parameters
page Page
Possible values: >= 1
Default value: 1
recordsPerPage Recordsperpage
Default value: 10
number of records per page. maximum of 500
sort Sort
Possible values: [assignedCampaignsCount
, -assignedCampaignsCount
, brandId
, -brandId
, createdAt
, -createdAt
, displayName
, -displayName
, identityStatus
, -identityStatus
, status
, -status
, tcrBrandId
, -tcrBrandId
]
Default value: -createdAt
Specifies the sort order for results. If not given, results are sorted by createdAt in descending order.
Example: -identityStatus
displayName Displayname
entityType Entitytype
state State
country Country
brandId BrandId
Filter results by the Telnyx Brand id
tcrBrandId TCRBrandId
Filter results by the TCR Brand id
Responses
200: Successful Response
- application/json
422: Validation Error
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/10dlc/brand' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"records": [
{
"brandId": "4b206179-f731-8ab7-f19c-34e19d22ide9",
"tcrBrandId": "BBRAND1",
"entityType": "PRIVATE_PROFIT",
"companyName": "Example Company Inc.",
"displayName": "Example Company",
"email": "examplename@examplecompany.com",
"website": "www.examplecompany.com",
"createdAt": "2021-03-08T17:57:48.801186",
"updatedAt": "2021-03-08T17:57:48.801186",
"assignedCampaingsCount": 2
}
],
"page": 1,
"totalRecords": 1
}
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}