Creating a Workflow
First, create a workflow by sending a POST request to/workflows/. This defines the structure of the data you want to extract.
Processing a Document
Once you have created a workflow, you can submit documents for processing using the workflow ID:Checking Job Status and Results
You can check the status of your extraction job and retrieve results using the job ID:Best Practices
- Polling Interval: When checking job status, implement exponential backoff in your polling logic to avoid overwhelming the API.
- Webhook Security: If using webhooks, implement proper security measures such as signature verification.
- Error Handling: Always handle potential error states in your integration code.
- Field Definitions: Provide clear, specific descriptions for each field to improve extraction accuracy.
- File Types: Ensure your documents are in supported formats (PDF, PNG, JPEG, etc.).
