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 | Bearer token for API authentication (JWT format) |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
uan_no | String | Yes | Universal Account Number from E-Shram registration (12-digit number) |
dob | String | Yes | Date of birth in YYYY-MM-DD format |
{
"uan_no": "712261481234",
"dob": "1997-10-01"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the verification result data |
data.client_id | String | Unique client identifier for the request |
data.uan_no | String | The UAN number that was verified |
data.dob | String | The date of birth used for verification |
data.full_name | String | Complete name of the registered worker |
data.mobile_no | String | Mobile number associated with the E-Shram account |
data.email | String | Email address (may be empty if not provided during registration) |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates whether the request was successful |
message | String | Human-readable response message |
message_code | String | Machine-readable message code |
{
"data": {
"client_id": "eshram_dIzdvcxsgAzKHrCSsCMv",
"uan_no": "712261481234",
"dob": "1997-10-01",
"full_name": "Abc",
"mobile_no": "9508089988",
"email": ""
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 422,
"success": false,
"message": "Invalid UAN Number or DOB.",
"message_code": "verification_failed"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/eshram/eshram-verification' \
--header 'Content-Type: application/json' \
--data-raw '{
"uan_no": "710061486223",
"dob": "1997-01-01"
}'
{
"data": {
"client_id": "eshram_dIzdvcxsgAzKHrCSsCMv",
"uan_no": "712261481234",
"dob": "1997-10-01",
"full_name": "Abc",
"mobile_no": "9508089988",
"email": ""
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}