Prerequisites
Before you begin, you’ll need:- API Key - See Authentication for how to obtain your API key
- HTTP Client - Any tool that supports multipart/form-data requests (curl, Postman, etc.)
- Sample Documents - PDF, JPG, PNG, HEIC, or TIFF files for testing
Your First API Call
Test the API with a health check:Most endpoints require authentication. See Authentication for details on using your API key.
Basic Workflow
Extract structured data from your document by uploading it directly:For complete request/response examples and all available parameters, see the Predict Async API Reference.
Using Templates
For repeated extractions, create reusable templates with a custom ID:For template management details, see the Templates Concept Guide.
Checking Job Status
Check the status of your async job:For webhook notifications and complete job status details, see the Jobs Concept Guide.
For comprehensive error codes and handling, see the Error Codes section in API Overview.
Best Practices
Use File IDs
Upload once, reference by ID for multiple operations to save bandwidth
Batch Processing
Use async mode for processing multiple documents efficiently
Template Reuse
Create templates for recurring document types to maintain consistency
Monitor Confidence
Check confidence scores to identify low-quality extractions