Quickstart
Extract data from your first document in under 5 minutes
Prerequisites
Before you begin, you’ll need:
- An Automat account (sign up here)
- An API key (see Authentication)
- An extractor configured in your dashboard
Step 1: Create an Extractor
Step 2: Make Your First API Request
Using cURL
Using the TypeScript SDK
Using the Python SDK
Step 3: Handle the Response
A successful response looks like:
The data field contains the extracted information matching your extractor’s schema.
Alternative Input Methods
Extract from URL
If your document is publicly accessible, you can pass a URL instead of uploading:
When using a URL, you must also provide the mimeType field.
Extract from Base64
For base64-encoded documents:
Error Handling
Always handle potential errors in your integration: