Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization
header as Bearer TOKEN
.https://sandbox.surepass.io
https://kyc-api.surepass.io
Header | Required | Description |
---|---|---|
Authorization | Yes | JWT Bearer token for authentication. Format: Bearer <your_jwt_token> |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
client_id | String | Yes | Unique identifier for the liveness verification session |
{
"client_id": "{{client_id}}"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the verification report data |
data.client_id | String | Unique identifier for the liveness verification session |
data.video_link | String | URL to access the recorded verification video |
data.verification_status | String | Overall status of the verification process (e.g., "completed") |
data.video_start_time | String | Unix timestamp when video recording started |
data.eye_blink_status | Boolean | Whether eye blink detection was successful |
data.latitude | String | Geographic latitude where verification occurred (if available) |
data.movement_detection_time | String | Unix timestamp when movement was detected |
data.movement_detection_status | Boolean | Whether movement detection was successful |
data.eye_blink_time | String | Unix timestamp when eye blink was detected |
data.face_detection_status | Boolean | Whether face detection was successful |
data.face_detection_time | String | Unix timestamp when face was detected |
data.video_end_time | String | Unix timestamp when video recording ended |
data.longitude | String | Geographic longitude where verification occurred (if available) |
status_code | Integer | HTTP status code of the response |
success | Boolean | Whether the API request was successful |
message | String or null | Additional information about the response (null if successful) |
message_code | String | Code indicating the result of the request |
{
"data": {
"client_id": "liveness_sdk_onCIadgagadsNnMbBxZ",
"video_link": "https://link-to-video.com",
"verification_status": "completed",
"video_start_time": "1623934721",
"eye_blink_status": true,
"latitude": "",
"movement_detection_time": "1623934725",
"movement_detection_status": true,
"eye_blink_time": "1623934728",
"face_detection_status": true,
"face_detection_time": "1623934721",
"video_end_time": "1623934737",
"longitude": ""
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}
{
"data": null,
"status_code": 400,
"success": false,
"message": "Invalid client_id provided",
"message_code": "invalid_client_id"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/liveness-sdk/get-report' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "{{client_id}}"
}'
{
"data": {
"client_id": "liveness_sdk_onCIadgagadsNnMbBxZ",
"video_link": "https://link-to-video.com",
"verification_status": "completed",
"video_start_time": "1623934721",
"eye_blink_status": true,
"latitude": "",
"movement_detection_time": "1623934725",
"movement_detection_status": true,
"eye_blink_time": "1623934728",
"face_detection_status": true,
"face_detection_time": "1623934721",
"video_end_time": "1623934737",
"longitude": ""
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}