Retrieve a document requirement
Returns a single document requirement record by its identifier, describing the documentation needed for number-related actions. A specific requirement version can be requested.
Path parameters
Uniquely identifies the requirement_type record
Query parameters
Filter by requirement version number. When omitted, returns the currently-active version.
Response
Successful response
Example response
{
"data": {
"action": "ordering",
"country_code": "FR",
"created_at": "2021-04-09T22:25:27.521Z",
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"locality": "Nice",
"phone_number_type": "local",
"record_type": "requirement",
"requirement_types": [
{
"acceptance_criteria": {
"acceptable_characters": "abcdef0123456789",
"acceptable_values": [
"US"
],
"locality_limit": "Issued by the same country that the phone number belongs to",
"max_length": 20,
"min_length": 16,
"time_limit": "Current and not expired"
},
"created_at": "2021-04-09T22:25:27.521Z",
"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",
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"name": "Proof of Address",
"record_type": "requirement_type",
"type": "document",
"updated_at": "2021-04-12T20:20:20.020Z"
}
],
"updated_at": "2021-04-12T20:20:20.020Z"
}
}Changes
Changed in 3 of the 61 revisions of this API.415
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for status422response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for statusdefaultresponse-property-type-changed
This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for status422response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for statusdefaultresponse-property-type-changed
This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
removed the optional property
data/requirements_typesfrom the response with the200statusresponse-optional-property-removed
- ○
added the new optional
queryrequest parameterversionnew-optional-request-parameter
- ○
added the optional property
data/effective_end_atto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/effective_start_atto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/requirement_typesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/versionto the response with the200statusresponse-optional-property-added
- ●