Skip to main content
You can track the status of your transaction and download the file containing the processing results. Send a GET request to the transactions/<transaction-id> resource:
GET https://your-server/api/publicapi/v1/transactions/transaction-id
Run the following command: For Windows:
curl -X GET "https://your-server/api/publicapi/v1/transactions/transaction-id" \
-H "Authorization: Bearer token"
For Linux:
curl -X GET 'https://your-server/api/publicapi/v1/transactions/transaction-id' \
-H 'Authorization: Bearer token'
As a result, you will receive a response containing the current transaction status: Response:
{
   "status": "Processed",
   "manualReviewLink": "https://your-server/api/publicapi/v1/verify?documentIds=9838448d-72ae-4e9a-b071-2bb16f732e46",
   "sourceFiles": [
     {
       "id": "7b2eed6f-3fdd-43b9-a178-7211d0a8d5bb",
       "name": "Invoice07.JPG"
     }
   ]
}
The status key can have one of the following values:
  • Processing means that the document is currently being processed.
  • Processed means that processing has completed and the results can be downloaded.
To download a file containing the processing results, send a GET request to the transactions/<transaction-id>/files/<file-id>/download resource and specify the IDs of your transaction and document file:
GET https://your-server/api/publicapi/v1/transactions/transaction-id/files/file-id/download
Note: The file ID can be found in the sourceFiles property in the results for the transaction status request.
Run the following command: For Windows:
curl -X GET "https://your-server/api/publicapi/v1/transactions/transaction-id/files/file-id/download" \
-H "Authorization: Bearer token"
For Linux:
curl -X GET 'https://your-server/api/publicapi/v1/transactions/transaction-id/files/file-id/download' \
-H 'Authorization: Bearer token'
The command will return the document processing results in JSON format.
Note: You can also download the results in PDF format. To do so, select the Output activity, click Settings in the Exported Data section in the Actions pane, and choose PDF as your preferred format.