Get Enum
GET/enum/:endpoint
Get Enum
Request
Path Parameters
endpoint Endpointrequired
Possible values: [mno
, optionalAttributes
, usecase
, vertical
, altBusinessIdType
, brandIdentityStatus
, brandRelationship
, campaignStatus
, entityType
, extVettingProvider
, vettingStatus
, brandStatus
, operationStatus
, approvedPublicCompany
, stockExchange
, vettingClass
]
Responses
200: Successful Response
- application/json
404: Resource not found
- application/json
Request samples
curl -L 'https://api.telnyx.com/10dlc/enum/:endpoint' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
["BASIC_ACCOUNT", "SMALL_ACCOUNT", "MEDIUM_ACCOUNT", "LARGE_ACCOUNT", "KEY_ACCOUNT"]
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
}
}
]
}