ID Verification History
The Verification History API allows service providers to retrieve a paginated list of all past verification requests regardless of the type of verification.
Base URL
Endpoint
Request Headers
Content-Type
application/json
Specifies that the request body is in JSON format.
Authorization
Bearer <token>
API Key or Bearer Token for authentication.
Request Parameters
Query Parameters
pageNumber
integer
❌
1
The page number to retrieve.
pageSize
integer
❌
20
Number of records per page.
Request Body
The request body should contain filtering options for retrieving history.
Example Request
Request Body Schema
Request Body Schema
pageNumber
integer
❌
The page number to retrieve.
pageSize
integer
❌
The number of records per page.
startDate
string (ISO 8601)
✅
The start date for filtering history.
endDate
string (ISO 8601)
✅
The end date for filtering history.
status
string
❌
The status of the verification (e.g., "Completed", "Pending").
verificationType
string
❌
The type of verification performed (e.g., "DriverLicense", "Passport").
duration
string
❌
The time range for filtering results (e.g., "LastMonth").
serviceProviderCode
string
✅
Code identifying the service provider.
Responses
Success Response (200 OK)
If the request is successful, the API returns paginated verification history.
Error Responses
400
Bad Request (Invalid Parameters)
{ "success": false, "message": "Invalid parameters.", "code": "400" }
401
Unauthorized (Invalid API Key)
{ "success": false, "message": "Unauthorized access.", "code": "401" }
404
Not Found (No history found)
{ "success": false, "message": "No verification history found.", "code": "404" }
500
Internal Server Error
{ "success": false, "message": "Something went wrong.", "code": "500" }
Usage Example (cURL)
Last updated