Track the status of your Docswrite publishing jobs
| Header | Value |
|---|---|
| Content-Type | application/json |
| x-access-token | YOUR_JWT_TOKEN |
| Parameter | Type | Required | Description |
|---|---|---|---|
jobId | string | Yes | The job ID returned when creating a post |
queueType | string | No | Queue type, defaults to “post” |
| State | Description |
|---|---|
waiting | Job is in the queue waiting to be processed |
active | Job is currently being processed |
completed | Job finished successfully |
failed | Job failed with an error |
delayed | Job is scheduled to run later |
| Field | Type | Description |
|---|---|---|
id | string | The job ID |
state | string | Current state of the job |
progress | number | Progress percentage (0-100) |
returnValue | object | Result data when completed |
failedReason | string | Error message if job failed |
timestamp | number | Job creation timestamp |
processedOn | number | When job processing started |
finishedOn | number | When job finished |
JWT token for authenticated requests
Job status request