Get All Verifications
Retrieves all documents uploaded to the DOC Verify module for a specific user type. Returns a list of documents, each with its verification status and associated passport details.
HTTP Method and URL
GET {{host}}/verifications?user_type=ENTERPRISE_API
Authentication Requirements
Requires a valid user-token to be provided as an authentication header or environment variable.
Query Parameters
user_type(string, required): Specifies the user type to filter verifications. Example:ENTERPRISE_API
Request Body
This endpoint does not require a request body.
Example Request
GET {{host}}/verifications?user_type=ENTERPRISE_API
Authorization: Bearer {USER-TOKEN}
Example Successful Response
{
"verification_status": "VERIFIED",
"passport_details": {
"passport_number": "A1234567",
"issue_date": "2020-01-01",
"expiry_date": "2030-01-01"
}
}
Error Responses
-
401 Unauthorized: Authentication token is missing or invalid. -
400 Bad Request: Required query parameter is missing or invalid. -
500 Internal Server Error: An unexpected error occurred on the server.
Usage Notes
-
Ensure the
user-tokenis valid and has the necessary permissions. -
The response will include all documents for the specified user type, each with its verification status and passport details.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
