List all requirements
List all requirements with filtering, sorting, and pagination
Query parameters
Consolidated filter parameter for requirements (deepObject style). Originally: filter[country_code], filter[phone_number_type], filter[action]
{
"action": "porting",
"country_code": "US",
"phone_number_type": "local"
}Specifies the sort order for results. If you want to sort by a field in ascending order, include it as a sort parameter. If you want to sort in descending order, prepend a - in front of the field name.
Consolidated sort parameter for requirements (deepObject style). Originally: sort[]
[ "country_code" ]
Consolidated page parameter (deepObject style). Originally: page[size], page[number]
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"
}
],
"meta": {
"page_number": 2,
"page_size": 25,
"total_pages": 3,
"total_results": 55
}
}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/items/requirements_typesfrom the response with the200statusresponse-optional-property-removed
- ○
added the new optional
queryrequest parameterversionnew-optional-request-parameter
- ○
added the optional property
data/items/effective_end_atto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/effective_start_atto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/requirement_typesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/versionto the response with the200statusresponse-optional-property-added
- ●