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

ParameterTypeDescription
idstring (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

FieldTypeDescription
idstring (UUID)Unique identifier for the extraction job.
statusstringJob status, reset to pending.
document_idstring (UUID)The document being processed.
created_atstring (ISO 8601)Timestamp when the job was originally created.
updated_atstring (ISO 8601)Timestamp when the job was resubmitted.

Errors

StatusDescription
400Job is not in failed status.
401Missing or invalid API key.
403API key does not have jobs:write scope.
404Job 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"