All requests require an API key in the x-api-key header:
Getting your API key
- Log in to the Matil Dashboard
- Go to Settings > API Keys
- Click Create New Key and copy it immediately — it won’t be shown again
Example request
curl -X POST "https://api.matil.ai/v3/deployments/{deployment_id}" \
-H "x-api-key: your-api-key" \
-H "Content-Type: application/json" \
-d '{"documents": [{"type": "url", "url": "https://example.com/invoice.pdf"}]}'
Store your API key in an environment variable. Never hardcode it in source code or commit it to version control.