LRN lookup using HTTP
GET/LRN/:tn
Uses HTTP to retrieve the local routing number information (LRN).
Request
Path Parameters
tn ^[\d]{10}required
10-digit phone number
Responses
200: Successful response
- application/json
400: Bad request when missing tn
- application/json
401: Unauthorized request
- application/json
Request samples
curl -L 'https://lrnlookup.telnyx.com/v1.1/LRN/:tn' \
-H 'Accept: application/json'
Response samples
{
"tn": "string",
"lrn": "string"
}
{
"error": "string"
}
{
"error": "string"
}