Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.apphttps://kyc-api.surepass.app| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token for API authentication (JWT) |
| Content-Type | Yes | Must be set to multipart/form-data for file upload |
| Parameter | Type | Required | Description |
|---|---|---|---|
| file | File | Yes | Image file to analyze (JPEG, PNG, WebP formats supported) |
| face_coverage_threshold | String | No | Sensitivity threshold for face coverage detection (0-50, default: 5) |
| Parameter | Type | Description |
|---|---|---|
| success | Boolean | Indicates whether the API call was successful |
| status_code | Integer | HTTP status code of the response |
| message | String | Human-readable message describing the result |
| message_code | String | Machine-readable code for the result status |
| data | Object | Container for the analysis results |
| data.client_id | String | Unique identifier for this analysis request |
| data.is_blurred | Boolean | Whether the uploaded image is detected as blurred |
| data.is_face_covered | Boolean | Whether faces in the image are detected as covered |
{
"data": {
"client_id": "image_analysis_mTVfQzulBJDfgPhzzloE",
"is_blurred": false,
"is_face_covered": true
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"success": false,
"status_code": 401,
"message": "Authentication failed",
"message_code": "auth_error",
"data": null
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/image-analysis/upload' \
--header 'Authorization: Bearer <token>' \
--form 'file=@""' \
--form 'face_coverage_threshold=""'{
"data": {
"client_id": "image_analysis_mTVfQzulBJDfgPhzzloE",
"is_blurred": false,
"is_face_covered": true
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}