Job status
The last known state of a background job (a carousel build or change, an infographic version). Poll this, or use the event stream, instead of polling the carousel or infographic.
What result holds depends on the job and on status:
Authorizations
Send your API key in the x-api-key header on every request.
- Create a key in PostChamp under Settings → API keys. API access needs the Studio plan.
- Keys start with
pc_live_. The full key is shown once, when you create it: copy it then. Afterwards only its prefix is shown; lost keys are revoked and replaced. - Calls run as the person who created the key, with their current role, and spend the organization's credits.
- Limits per key: 120 requests per minute, 20 generation calls per minute. Keep the key on your server, never in a browser or app.
Path Parameters
The jobId an answer gave you (for example from creating a carousel or an infographic). It is an opaque string of letters, digits and : _ - . (at most 200 characters): use it exactly as given, do not build or parse it. A job of another workspace, or one that is unknown, is 404.
Required string length: 1 - 200
Pattern: ^[A-Za-z0-9:_\-.]+$
Example: "carousel-build:5f6a7b8c-9d0e-4f1a-8b2c-3d4e5f6a7b8c:0"
Response
The last known state.
Available options: queued, running, progress, done, failed
Required range: 0 <= x <= 100