Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.iohttps://kyc-api.surepass.io| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token authentication using JWT format |
| Content-Type | Yes | Application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| client_id | String | Yes | The unique identifier of the client whose signed document is being requested |
| Parameter | Type | Description |
|---|---|---|
| data | Object | Container for the response data |
| data.url | String | Secure URL to download the signed document |
| status_code | Integer | HTTP status code indicating the result of the request |
| message_code | String | Short code indicating the outcome of the request |
| message | String | Human-readable description of the response |
| success | Boolean | Indicates whether the request was successful |
{
"data": {
"url": "https://esign.s3.amazonaws.com/esign_Cdtsfgsfdgsfbsfnsfnsfnsfbsf"
},
"status_code": 200,
"message_code": "success",
"message": "Download link generated successfully",
"success": true
}{
"status_code": 404,
"message_code": "not_found",
"message": "No signed document found for the provided client ID",
"success": false
}curl --location --request GET 'https://kyc-api.surepass.app/api/v1/esign/get-signed-document/' \
--header 'Authorization: Bearer <token>'{
"data": {
"url": "https://esign.s3.amazonaws.com/esign_Cdtsfgsfdgsfbsfnsfnsfnsfbsf"
},
"status_code": 200,
"message_code": "success",
"message": "Download link generated successfully",
"success": true
}