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 authentication (JWT) |
| Content-Type | No | Optional for GET requests |
| Parameter | Type | Required | Description |
|---|---|---|---|
| page | int | No | Page number for pagination (default: 1) |
| page_size | int | No | Number of records per page (default: 30) |
{
"page": 1,
"page_size": 2
}| Parameter | Type | Description |
|---|---|---|
| data | object | Contains execution history and pagination info |
| ββ history | array | List of execution records |
| β ββ client_id | string | Unique identifier for the execution instance |
| β ββ processor_id | string | Identifier of the processor used |
| β ββ processor_name | string | Name of the processor |
| β ββ file_id | string | Identifier of the associated file |
| β ββ filename | string | Name of the file processed |
| β ββ processor_type | string | Type of processor (e.g., splitter) |
| β ββ status | string | Status of the execution (e.g., "completed") |
| β ββ total_documents | int | Number of documents processed |
| β ββ total_pages | int | Number of pages processed |
| β ββ created_at | string | ISO timestamp of execution creation |
| β ββ updated_at | string | ISO timestamp of last update |
| ββ pagination | object | Pagination details |
| β ββ page | int | Current page number |
| β ββ records | int | Number of records returned |
| β ββ has_next | bool | Indicates if more pages are available |
| status_code | integer | HTTP status code (e.g., 200 for success) |
| success | boolean | Indicates if the request was successful |
| message | string | Human-readable status message |
| message_code | string | Machine-readable status code |
{
"data": {
"history": [
{
"client_id": "studio_executor_1234567890",
"processor_id": "studio_processor_ABCDEF1234",
"processor_name": "Sample Processor 1",
"file_id": "studio_file_9876543210",
"filename": "Document_One.pdf",
"processor_type": "splitter",
"status": "completed",
"total_documents": 2,
"total_pages": 5,
"created_at": "2025-12-17T09:00:00.000000",
"updated_at": "2025-12-17T09:05:00.000000"
},
{
"client_id": "studio_executor_0987654321",
"processor_id": "studio_processor_XYZ9876543",
"processor_name": "Sample Processor 2",
"file_id": "studio_file_1234567890",
"filename": "Document_Two.pdf",
"processor_type": "splitter",
"status": "completed",
"total_documents": 1,
"total_pages": 3,
"created_at": "2025-12-17T10:00:00.000000",
"updated_at": "2025-12-17T10:03:00.000000"
}
],
"pagination": {
"page": 1,
"records": 2,
"has_next": true
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"data": null,
"status_code": 400,
"success": false,
"message": "Invalid pagination parameters",
"message_code": "invalid_pagination"
}curl --location --request GET 'https://kyc-api.surepass.app/api/v1/sureparse/execution-history?page=1&page_size=5' \
--header 'Authorization: Bearer <token>'{
"data": [
{
"client_id": "processor_executorABCDEFGHIJKLMNO",
"processor_id": "processor_configABCDEFGHIJKLMNOPQ",
"processor_name": "Invoice Processor",
"file_id": "fileABCDEFGHIJKLMNOPQRSTU",
"filename": "sample.pdf",
"processor_type": "splitter",
"status": "completed",
"total_documents": 3,
"total_pages": 10,
"created_at": "2024-12-13T12:00:00.000000",
"updated_at": "2024-12-13T12:01:30.000000"
}
],
"status_code": 200,
"message": "Success",
"success": true
}