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 for authentication. Format: Bearer {your_jwt_token} |
| Content-Type | Yes | Application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| client_id | String | Yes | Unique identifier for the e-signature document for which the audit trail is requested |
| Parameter | Type | Description |
|---|---|---|
| data | Object | Container for the response data |
| data.url | String | Secure URL to access the audit trail document (typically a PDF) |
| 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 request outcome |
| success | Boolean | Indicates whether the request was successful |
{
"data": {
"url": "https://esign.s3.amazonaws.com/adsadbfdanafdbfdbfdsbfdsbsfdb"
},
"status_code": 200,
"message_code": "success",
"message": "Success",
"success": true
}{
"status_code": 404,
"message_code": "not_found",
"message": "Audit trail not found for the specified client ID",
"success": false
}curl --location --request GET 'https://kyc-api.surepass.app/api/v1/esign/audit-trail/' \
--header 'Authorization: Bearer <token>'{
"data": {
"url": "https://esign.s3.amazonaws.com/adsadbfdanafdbfdbfdsbfdsbsfdb"
},
"status_code": 200,
"message_code": "success",
"message": "Success",
"success": true
}