Resubmit Job
POST /api/v1/jobs/{id}/resubmit/
Resubmit a failed extraction job for reprocessing. The job status is reset to pending and a new extraction attempt is queued.
Authentication
Requires an API key with jobs:write scope. Pass via the X-API-Key header.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | string (UUID) | The extraction job ID to resubmit. |
⚠️
Only jobs with a failed status can be resubmitted. Attempting to resubmit a job in any other status will return a 400 error.
Response
Status: 200 OK
{
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"status": "pending",
"document_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"created_at": "2026-03-16T12:00:00Z",
"updated_at": "2026-03-16T12:10:00Z"
}Response Fields
| Field | Type | Description |
|---|---|---|
id | string (UUID) | Unique identifier for the extraction job. |
status | string | Job status, reset to pending. |
document_id | string (UUID) | The document being processed. |
created_at | string (ISO 8601) | Timestamp when the job was originally created. |
updated_at | string (ISO 8601) | Timestamp when the job was resubmitted. |
Errors
| Status | Description |
|---|---|
400 | Job is not in failed status. |
401 | Missing or invalid API key. |
403 | API key does not have jobs:write scope. |
404 | Job not found in your organization. |
Code Examples
curl -X POST https://api.parsifyhq.com/api/v1/jobs/b2c3d4e5-f6a7-8901-bcde-f12345678901/resubmit/ \
-H "X-API-Key: YOUR_API_KEY"