webhookUrl to receive real-time push notifications on every status change, eliminating the need to poll.
Authentication
Include your API key asAuthorization: Bearer YOUR_API_KEY in the request headers.
Endpoint
Path Parameters
The unique identifier of the project in which to create the job. The project must have a
status of ready.Header Parameters
An optional client-generated key (max 256 characters) used to safely retry the request. If a job was already created with this key, the original job is returned with
idempotent: true in the response body rather than creating a duplicate.Request Body
An optional identifier from your own system (max 180 characters) to correlate with this job. Stored and returned as-is — Plangrep does not validate uniqueness.
An optional publicly reachable HTTPS URL to receive job status push notifications. Must be a valid URI. Plangrep will
POST a signed payload to this URL on every job status change.Example Request
Response Fields
The endpoint returns202 Accepted.
The newly created job object.
Present and
true when the response is a replay of a previously created job matched by Idempotency-Key.A secret string used to verify the authenticity of webhook payloads Plangrep sends to your
webhookUrl. Shown only in this response — it cannot be retrieved again. Store it securely immediately.Job Status Values
| Status | Terminal | Description |
|---|---|---|
provisioning | No | Job infrastructure is being set up. |
awaiting_uploads | No | Ready to receive file uploads. |
uploading | No | Files are being uploaded. |
preflighting | No | Files are being validated before processing. |
blocked_insufficient_credits | No | Paused due to insufficient credits. |
processing | No | Plangrep is processing the uploaded documents. |
completed | Yes | All pages processed successfully. |
completed_with_errors | Yes | Processing finished with partial errors. |
failed | Yes | Processing failed. |
cancelled | Yes | Job was cancelled before completion. |
expired | Yes | Job expired before reaching a terminal state. |