Authentication

The API supports two authentication methods. Each endpoint specifies which method it accepts.

API key

Bearer token with vnd_ prefix. For programmatic access and machine-to-machine communication.

Auth0

JWT token from Auth0. For frontend applications and user-facing integrations.

Document processing

Submit documents for AI-powered extraction and poll for results.

Note

Status transitions: not_startedin_progresscomplete | failed. The result field is populated only when status is complete.

Projects

Manage projects. All project endpoints require Auth0 authentication.

Document types

Manage document types and their extraction schemas. All endpoints require Auth0 authentication.

Status codes

CodeDescription
200Success
201Resource created
204Resource deleted (no content)
400Invalid request body or parameters
401Missing or invalid authentication
402Payment required (subscription inactive)
404Resource not found or not owned by user
422Validation error
500Internal server error