Skip to content

Get job

GET
/v1/job/{id}
curl --request GET \
--url https://reignitor.com/v1/job/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Returns the status of a render job. Poll this until status is succeeded, failed or cancelled.

When status is succeeded, video_url is the finished MP4. A few seconds between polls is enough; a render usually takes minutes, not seconds.

id
required
string format: uuid

The job_id returned when you started the render.

The job belongs to this account.

Media typeapplication/json
object
job_id
required
string format: uuid
status
required

queued, starting and processing mean the render is still running. succeeded, failed and cancelled are final.

string
Allowed values: queued starting processing succeeded failed cancelled
progress
required

Rough percentage complete.

number
<= 100
video_url
required

URL of the finished MP4. Set when status is succeeded.

string | null
error
required

Why the job failed. Set when status is failed or cancelled.

string | null
Examples

Still rendering

{
"job_id": "7d2e4b10-5c3a-4f8e-a1b2-9c0d8e7f6a54",
"status": "processing",
"progress": 40,
"video_url": null,
"error": null
}

The key is missing, malformed, unknown or revoked.

Media typeapplication/json

Every error has a human-readable error. Most also have a machine-readable code.

object
error
required

A message you can show to a person.

string
code

A stable code to branch on. Not every error has one.

string
details

Extra context for some codes, such as retryAfter or usage figures.

retryAfter

Seconds to wait before retrying. Present on some RATE_LIMITED errors.

integer
feature
string
plan
string
key
additional properties
any
Examples

No key, or not an emp_ key

{
"error": "Unauthorized",
"code": "NO_API_KEY"
}

The key is valid but the account is not on the Agency plan.

Media typeapplication/json

Every error has a human-readable error. Most also have a machine-readable code.

object
error
required

A message you can show to a person.

string
code

A stable code to branch on. Not every error has one.

string
details

Extra context for some codes, such as retryAfter or usage figures.

retryAfter

Seconds to wait before retrying. Present on some RATE_LIMITED errors.

integer
feature
string
plan
string
key
additional properties
any
Example
{
"error": "API access is part of the Agency plan.",
"code": "PLAN_UPGRADE_REQUIRED",
"feature": "api_access",
"plan": "pro"
}

The job exists but belongs to another account, or the account is suspended.

Media typeapplication/json

Every error has a human-readable error. Most also have a machine-readable code.

object
error
required

A message you can show to a person.

string
code

A stable code to branch on. Not every error has one.

string
details

Extra context for some codes, such as retryAfter or usage figures.

retryAfter

Seconds to wait before retrying. Present on some RATE_LIMITED errors.

integer
feature
string
plan
string
key
additional properties
any
Examples
{
"error": "Forbidden"
}

No job with this ID.

Media typeapplication/json

Every error has a human-readable error. Most also have a machine-readable code.

object
error
required

A message you can show to a person.

string
code

A stable code to branch on. Not every error has one.

string
details

Extra context for some codes, such as retryAfter or usage figures.

retryAfter

Seconds to wait before retrying. Present on some RATE_LIMITED errors.

integer
feature
string
plan
string
key
additional properties
any
Example
{
"error": "Job not found"
}

Something went wrong on our side.

Media typeapplication/json

Every error has a human-readable error. Most also have a machine-readable code.

object
error
required

A message you can show to a person.

string
code

A stable code to branch on. Not every error has one.

string
details

Extra context for some codes, such as retryAfter or usage figures.

retryAfter

Seconds to wait before retrying. Present on some RATE_LIMITED errors.

integer
feature
string
plan
string
key
additional properties
any
Example
{
"error": "Something went wrong handling that request."
}