Every asynchronous operation in the Autype Developer API creates a job. You have two ways to know when it finishes:Documentation Index
Fetch the complete documentation index at: https://docs.autype.com/llms.txt
Use this file to discover all available pages before exploring further.
- Webhooks (recommended) — receive an HTTP POST when the job completes or fails.
- Polling — periodically check the job status endpoint.
Webhooks
Add an optionalwebhook object to any job-creating request:
| Field | Type | Required | Description |
|---|---|---|---|
webhookUrl | string | Yes | URL that receives the POST notification. |
webhookAuth.headerName | string | No | Custom header name for authentication. |
webhookAuth.headerValue | string | No | Value for the custom header. |
webhookAuth.basicAuthUsername | string | No | Username for HTTP Basic Auth. |
webhookAuth.basicAuthPassword | string | No | Password for HTTP Basic Auth. |
Use either custom header auth or Basic Auth — not both. If both are provided, the custom header takes precedence.
Webhook payload
Autype sends aPOST with Content-Type: application/json and User-Agent: Autype-Webhook/1.0. The payload structure depends on the job type:
Render job (completed):
downloadUrl is only present for tools jobs that produce an output file (e.g. merge, split). Jobs like pdf/metadata return results via the job status endpoint instead.Delivery behavior
- Single attempt — if your server is unreachable or returns a non-2xx status, the webhook is not retried.
- Timeout — requests time out after 10 seconds.
- Non-blocking — webhook delivery never delays or fails the job itself.
Supported endpoints
Thewebhook field is accepted on all job-creating endpoints: POST /render, POST /render/markdown, POST /render/document/{documentId}, POST /bulk-render, POST /bulk-render/file, and all POST /tools/pdf/* endpoints.
Polling
Poll the job status endpoint until the job reachesCOMPLETED or FAILED.
| Job type | Status endpoint |
|---|---|
| Render | GET /render/{jobId} |
| Bulk render | GET /bulk-render/{bulkJobId} |
| Tools | GET /tools/jobs/{jobId} |
