Retry a job
Re-queue a failed job without re-submitting the full payload. The original template and data are reused. Consumes one credit.
Endpoint
POST
/v1/generate/jobs/:jobId/retry Path parameters
| Parameter | Type | Description |
|---|---|---|
jobId | string | The ID of the failed job to retry |
Only
failed jobs can be retried. Attempting to retry a queued or processing job returns 422 JOB_NOT_FAILED.Response
Returns 202 Accepted with the same jobId. Poll job status as normal to track completion.
curl -X POST "https://api.pdfox.com/v1/generate/jobs/job_7c9d2e3f/retry" \ -H "Authorization: Bearer pdfs_live_xxxx" \ -H "Content-Type: application/json"
HTTP/1.1 202 Accepted
{
"jobId": "job_7c9d2e3f"
}