Endpoints
Update file export status
Update the export status of a file from an integrated system.
This endpoint is designed for pull-based integrations where integrated systems need to report back:
- Whether a file was successfully exported to the integrated system
- Any error messages or status information from the integrated system
The export status and messages will be visible in the file list UI, helping users track the integration status of their documents.
Use Cases:
- Report successful export: Set status to
completedwith success message - Report export failure: Set status to
errorwith error details - Report in-progress: Set status to
exportingwith queue information - Clear status: Set status to
emptyto reset
PATCH
This endpoint enables pull-based integrations to report the export status of files back to fileAI.
Use Cases
ERP Integration
Report when documents have been successfully imported into your ERP system
Accounting Software
Confirm invoices have been processed in your accounting platform
Custom Workflows
Track document processing status in your custom integrations
Error Handling
Report validation errors or processing failures back to users
Status Values
| Status | Description | When to Use |
|---|---|---|
completed | Export successful | Document was successfully processed by integrated system |
error | Export failed | Validation error, processing failure, or other issues |
exporting | In progress | Document is queued or being processed |
empty | No status | Reset/clear the export status |
Integration Flow
Example: Reporting Success
Example: Reporting Error
The export status and messages are visible in the fileAI file list UI, helping users understand the integration status of their documents.
Authorizations
API key for authentication
Path Parameters
The unique identifier of the file (document ID)
Example:
"53d6a0b1-2a8d-4ed9-9e6a-ceaef7ca3908"
Body
application/json
Export status update payload