Retrieve a document requirement
GET/requirements/:id
Retrieve a document requirement record
Request
Path Parameters
id uuidrequired
Uniquely identifies the requirement_type record
Example: a9dad8d5-fdbd-49d7-aa23-39bb08a5ebaa
Responses
200: Successful response
Response Headers
- application/json
500: Unexpected error
Response Headers
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/requirements/:id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": {
"record_type": [
"requirement"
],
"country_code": [
"FR"
],
"locality": [
"Nice"
],
"phone_number_type": [
"local"
],
"action": [
"ordering"
],
"requirements_types": [
{
"acceptance_criteria": {
"time_limit": [
"Current and not expired"
],
"locality_limit": [
"Issued by the same country that the phone number belongs to"
],
"acceptable_values": [
[
"US"
]
],
"max_length": 20,
"min_length": 16,
"acceptable_characters": "abcdef0123456789"
},
"description": [
"Proves the customer has a physical address in the same locality as the phone number"
],
"example": [
"Utility bill, internet bill, phone bill, or lease"
],
"type": [
"document"
],
"name": [
"Proof of Address"
],
"record_type": [
"requirement_type"
],
"id": [
"6a09cdc3-8948-47f0-aa62-74ac943d6c58"
],
"created_at": [
"2021-04-09T22:25:27.521Z"
],
"updated_at": [
"2021-04-12T20:20:20.020Z"
]
}
],
"id": [
"6a09cdc3-8948-47f0-aa62-74ac943d6c58"
],
"created_at": [
"2021-04-09T22:25:27.521Z"
],
"updated_at": [
"2021-04-12T20:20:20.020Z"
]
}
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}