Skip to main content
All requests require an API key in the x-api-key header:
x-api-key: your-api-key

Getting your API key

  1. Log in to the Matil Dashboard
  2. Go to Settings > API Keys
  3. 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.