Feel free to reach techsupport@surepass.io for any technical support or guidance.
processor_id, clients can trigger automated document parsing, data extraction, or transformation workflows as defined by the processor’s configuration. This endpoint is essential for integrating SureParse’s document automation capabilities into your business processes, enabling real-time or on-demand execution of complex parsing logic.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 | Yes | Must be application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| processor_id | string | Yes | Unique identifier of the processor to execute. This value is obtained from the create-processor API. |
{
"processor_id": "studio_processor_blypAacKhRnHxPmZuOXr"
}| Parameter | Type | Description |
|---|---|---|
| data | object | Contains execution and processor details |
| ├─ client_id | string | Unique identifier for the execution instance |
| ├─ processor_id | string | Identifier of the executed processor |
| ├─ processor_name | string | Name of the processor |
| ├─ file_id | string | Identifier of the associated file |
| ├─ filename | string | Name of the file being processed |
| ├─ categories | object | Categories processed (nullable) |
| ├─ context | object | Context for processing (nullable) |
| ├─ processor_type | string | Type of processor (e.g., splitter) |
| ├─ status | string | Current status of the execution (e.g., "processing") |
| 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": {
"client_id": "studio_executor_orZubjXLHSOxtcQczLpl",
"processor_id": "studio_processor_blypAacKhRnHxPmZuOXr",
"processor_name": "rahulk",
"file_id": "studio_file_lyoWkhcQyExjuhhzcqof",
"filename": "Pan_and_Aadhar_in_Same_PDF.pdf",
"categories": null,
"context": null,
"processor_type": "splitter",
"status": "processing"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"data": null,
"status_code": 404,
"success": false,
"message": "Processor not found",
"message_code": "processor_not_found"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/sureparser/execute-processor' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"processor_id": "processor_id"
}'{
"data": {
"client_id": "processor_executorABCDEFGHIJKLMNO",
"processor_id": "processor_configABCDEFGHIJKLMNOPQ",
"processor_name": "Invoice Processor",
"file_id": "fileABCDEFGHIJKLMNOPQRSTU",
"filename": "sample.pdf",
"categories": [
{
"type": "invoice",
"description": "Invoice documents"
}
],
"context": "Process financial documents",
"processor_type": "splitter",
"status": "processing"
},
"status_code": 200,
"message": "Success",
"success": true
}