Using an HTTP Request
GET/caller-information
Returns the caller information (if found) for a telephone number.
A sample response might look like:
{
"callerInformation": "Telnyx,LLC"
}
Request
Query Parameters
tn ^[\d]{10,15}required
The requested telephone number in E.164 format, may or may not begin with "1"
Responses
200: Successful call
- application/json
401: Unauthorized
404: No caller information found for the input number
- application/json
406: Missing required parameters or invalid phone number
- application/json
Request samples
curl -L 'https://data.telnyx.com/cnam/v1/caller-information' \
-H 'Accept: application/json'
Response samples
{
"callerInformation": "string"
}
{
"reason": "string"
}
{
"reason": "string"
}