Skip to content
convt
Esc
↑↓navigate↵open⌘Jpreview

Convert a file in one request

Converts a file in one request: reserve, upload, queue, wait and return the result, on the same pipeline, spend cap and billing as the jobs routes.

Send the file as a multipart file field (with to, and optionally from and options), as the raw body with to in the query, or send JSON with source_url. to and from take format ids or extensions; from is inferred from the file name, URL or Content-Type when left out.

When the job succeeds with one output of at most 25 MB, this is its first delivery, and Accept does not ask for JSON, the response is the file, named after yours in Content-Disposition, with the Convt-Job-Id header. A larger result, or a replay, answers 303 with the signed storage URL in Location: clients that follow it receive the stored file, whose headers come from storage, so read the job id from the 303 or its JSON body. With several outputs (a multi-page PDF to PNG) or Accept: application/json, it is JSON with signed URLs. When the job is still running after wait seconds, a request with Accept: application/json gets 202 and the job keeps running; a file request gets 409 still_running if it sent an Idempotency-Key (the job keeps running) or 504 timeout if not (the job is cancelled).

Without an Idempotency-Key, hanging up before the answer cancels the job; that is best effort, and a job that already succeeded is billed. With one, the job keeps running and a retry with the same key collects it.

POST/v1/convert
Authorization
AuthorizationBearer token · headerrequired

A cvt_live_ API key from the dashboard, sent as Authorization: Bearer cvt_live_…. Keep it on your server.

Query parameters
tostring

Target format id or extension. Required here or as a form field.

fromstring

Input format id or extension. Inferred from the file name, source_url or Content-Type when left out.

filenamestring

Name of a raw-body upload, used to infer from and name the result.

optionsstring

Conversion settings as URL-encoded JSON, such as {"quality":80}.

waitinteger

Seconds to wait for the result, 0 to 300. Default 120. When it runs out: 202 if you sent Accept: application/json (the job keeps running), 409 still_running for a file request with an Idempotency-Key (the job keeps running), or 504 timeout for a file request without one (the job is cancelled).

min 0 · max 300 · default: 120
Header parameters
Idempotency-Keystring

Any string of 1 to 255 visible ASCII characters, such as a UUID. Retrying with the same key and the same request returns the original job instead of reserving a new one, for 24 hours. The same key with a different request fails with 409 idempotency_key_reused.

min length 1 · max length 255
Request body
requiredapplication/json
source_urlstring<uri>required
tostring
fromstring
optionsOptions

Conversion settings. Every field is optional, and an unknown field, a value of the wrong type or an out-of-range value fails with 400 invalid_options when you create the job.

Show properties
qualityinteger | null

Lossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.

min 1 · max 100
max_sizeinteger | null

Longest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.

min 1
video_heightinteger | null

Maximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.

min 2
audio_bitrateinteger | null

Audio bitrate in kbit/s, from 8 to 640.

min 8 · max 640
pagesstring | null

PDF pages to render: 2, 1-3 or 4- (page 4 to the end).

matches ^[1-9][0-9]*(-([1-9][0-9]*)?)?$
dpiinteger | null

Resolution for rendering PDF and SVG pages, from 18 to 1200.

min 18 · max 1200
video_codecstring | null

Encoder for MP4, MOV and MKV output: h264 (the default) or hevc.

Allowed:h264hevcnull
backgroundstring | null

What transparent areas become: transparent, white, black or a color like #ff8800. Unset keeps transparency where the format can store it and uses white where it can't. transparent fails for formats without transparency, such as JPEG.

strip_audioboolean

Leave the audio out of video output.

default: false
target_sizeinteger

Largest output file in bytes. Lowers quality, and image size, to fit.

min 10000
strip_metadataboolean

Leave EXIF, GPS and other metadata out of the output.

default: false
trim_startnumber | string | null

Start video or audio output here: seconds (12.5) or a timestamp ("1:30").

trim_endnumber | string | null

End video or audio output here: seconds (12.5) or a timestamp ("1:30").

fpsinteger | null

Frames per second for video and GIF output.

min 1 · max 120
Responses
200

The converted file, when the job produced one output of at most 25 MB, this is its first delivery, and Accept does not ask for JSON. With several outputs or Accept: application/json, JSON with signed URLs.

jobJob

One conversion and its state.

Show properties
idstringrequired

Job id, prefixed job_.

statusstringrequired

created → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.

Allowed:createduploadedqueuedrunningsucceededfailedcancelled
input_formatstring
target_formatstring
optionsOptions

The settings the job converts with, as sent when it was created.

Show properties
qualityinteger | null

Lossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.

min 1 · max 100
max_sizeinteger | null

Longest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.

min 1
video_heightinteger | null

Maximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.

min 2
audio_bitrateinteger | null

Audio bitrate in kbit/s, from 8 to 640.

min 8 · max 640
pagesstring | null

PDF pages to render: 2, 1-3 or 4- (page 4 to the end).

matches ^[1-9][0-9]*(-([1-9][0-9]*)?)?$
dpiinteger | null

Resolution for rendering PDF and SVG pages, from 18 to 1200.

min 18 · max 1200
video_codecstring | null

Encoder for MP4, MOV and MKV output: h264 (the default) or hevc.

Allowed:h264hevcnull
backgroundstring | null

What transparent areas become: transparent, white, black or a color like #ff8800. Unset keeps transparency where the format can store it and uses white where it can't. transparent fails for formats without transparency, such as JPEG.

strip_audioboolean

Leave the audio out of video output.

default: false
target_sizeinteger

Largest output file in bytes. Lowers quality, and image size, to fit.

min 10000
strip_metadataboolean

Leave EXIF, GPS and other metadata out of the output.

default: false
trim_startnumber | string | null

Start video or audio output here: seconds (12.5) or a timestamp ("1:30").

trim_endnumber | string | null

End video or audio output here: seconds (12.5) or a timestamp ("1:30").

fpsinteger | null

Frames per second for video and GIF output.

min 1 · max 120
input_bytesinteger | null

Size you reserved

attemptinteger

How many times a worker has picked up the job. Starts at 0.

error_codestring | null

Why a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.

expires_atstring<date-time>required

When the job and its files are deleted

created_atstring<date-time>
source_urlstring

The origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.

webhook_urlstring

The origin of the webhook_url you sent. The full URL is never returned.

outputsoutputs
Show properties
outputs
expires_ininteger
202

Sent only with Accept: application/json: the job is still running after wait seconds. It keeps running and is billed if it succeeds; poll Location.

jobJob

One conversion and its state.

Show properties
idstringrequired

Job id, prefixed job_.

statusstringrequired

created → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.

Allowed:createduploadedqueuedrunningsucceededfailedcancelled
input_formatstring
target_formatstring
optionsOptions

The settings the job converts with, as sent when it was created.

Show properties
qualityinteger | null

Lossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.

min 1 · max 100
max_sizeinteger | null

Longest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.

min 1
video_heightinteger | null

Maximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.

min 2
audio_bitrateinteger | null

Audio bitrate in kbit/s, from 8 to 640.

min 8 · max 640
pagesstring | null

PDF pages to render: 2, 1-3 or 4- (page 4 to the end).

matches ^[1-9][0-9]*(-([1-9][0-9]*)?)?$
dpiinteger | null

Resolution for rendering PDF and SVG pages, from 18 to 1200.

min 18 · max 1200
video_codecstring | null

Encoder for MP4, MOV and MKV output: h264 (the default) or hevc.

Allowed:h264hevcnull
backgroundstring | null

What transparent areas become: transparent, white, black or a color like #ff8800. Unset keeps transparency where the format can store it and uses white where it can't. transparent fails for formats without transparency, such as JPEG.

strip_audioboolean

Leave the audio out of video output.

default: false
target_sizeinteger

Largest output file in bytes. Lowers quality, and image size, to fit.

min 10000
strip_metadataboolean

Leave EXIF, GPS and other metadata out of the output.

default: false
trim_startnumber | string | null

Start video or audio output here: seconds (12.5) or a timestamp ("1:30").

trim_endnumber | string | null

End video or audio output here: seconds (12.5) or a timestamp ("1:30").

fpsinteger | null

Frames per second for video and GIF output.

min 1 · max 120
input_bytesinteger | null

Size you reserved

attemptinteger

How many times a worker has picked up the job. Starts at 0.

error_codestring | null

Why a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.

expires_atstring<date-time>required

When the job and its files are deleted

created_atstring<date-time>
source_urlstring

The origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.

webhook_urlstring

The origin of the webhook_url you sent. The full URL is never returned.

303

A result over 25 MB, or a replay of a finished request: Location is the signed storage URL of the only output (valid for expires_in seconds). Follow it; the body is the same JSON as with Accept: application/json.

jobJob

One conversion and its state.

Show properties
idstringrequired

Job id, prefixed job_.

statusstringrequired

created → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.

Allowed:createduploadedqueuedrunningsucceededfailedcancelled
input_formatstring
target_formatstring
optionsOptions

The settings the job converts with, as sent when it was created.

Show properties
qualityinteger | null

Lossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.

min 1 · max 100
max_sizeinteger | null

Longest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.

min 1
video_heightinteger | null

Maximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.

min 2
audio_bitrateinteger | null

Audio bitrate in kbit/s, from 8 to 640.

min 8 · max 640
pagesstring | null

PDF pages to render: 2, 1-3 or 4- (page 4 to the end).

matches ^[1-9][0-9]*(-([1-9][0-9]*)?)?$
dpiinteger | null

Resolution for rendering PDF and SVG pages, from 18 to 1200.

min 18 · max 1200
video_codecstring | null

Encoder for MP4, MOV and MKV output: h264 (the default) or hevc.

Allowed:h264hevcnull
backgroundstring | null

What transparent areas become: transparent, white, black or a color like #ff8800. Unset keeps transparency where the format can store it and uses white where it can't. transparent fails for formats without transparency, such as JPEG.

strip_audioboolean

Leave the audio out of video output.

default: false
target_sizeinteger

Largest output file in bytes. Lowers quality, and image size, to fit.

min 10000
strip_metadataboolean

Leave EXIF, GPS and other metadata out of the output.

default: false
trim_startnumber | string | null

Start video or audio output here: seconds (12.5) or a timestamp ("1:30").

trim_endnumber | string | null

End video or audio output here: seconds (12.5) or a timestamp ("1:30").

fpsinteger | null

Frames per second for video and GIF output.

min 1 · max 120
input_bytesinteger | null

Size you reserved

attemptinteger

How many times a worker has picked up the job. Starts at 0.

error_codestring | null

Why a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.

expires_atstring<date-time>required

When the job and its files are deleted

created_atstring<date-time>
source_urlstring

The origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.

webhook_urlstring

The origin of the webhook_url you sent. The full URL is never returned.

outputsoutputs
Show properties
outputs
expires_ininteger
400

invalid_request, input_format_required, unsupported_format, invalid_options, invalid_source_url, invalid_idempotency_key or an empty file (file_too_large).

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
request_idstring | null
jobJob

The job the failed request created or touched, when there is one.

Show properties
idstringrequired

Job id, prefixed job_.

statusstringrequired

created → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.

Allowed:createduploadedqueuedrunningsucceededfailedcancelled
input_formatstring
target_formatstring
optionsOptions

The settings the job converts with, as sent when it was created.

Show properties
qualityinteger | null

Lossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.

min 1 · max 100
max_sizeinteger | null

Longest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.

min 1
video_heightinteger | null

Maximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.

min 2
audio_bitrateinteger | null

Audio bitrate in kbit/s, from 8 to 640.

min 8 · max 640
pagesstring | null

PDF pages to render: 2, 1-3 or 4- (page 4 to the end).

matches ^[1-9][0-9]*(-([1-9][0-9]*)?)?$
dpiinteger | null

Resolution for rendering PDF and SVG pages, from 18 to 1200.

min 18 · max 1200
video_codecstring | null

Encoder for MP4, MOV and MKV output: h264 (the default) or hevc.

Allowed:h264hevcnull
backgroundstring | null

What transparent areas become: transparent, white, black or a color like #ff8800. Unset keeps transparency where the format can store it and uses white where it can't. transparent fails for formats without transparency, such as JPEG.

strip_audioboolean

Leave the audio out of video output.

default: false
target_sizeinteger

Largest output file in bytes. Lowers quality, and image size, to fit.

min 10000
strip_metadataboolean

Leave EXIF, GPS and other metadata out of the output.

default: false
trim_startnumber | string | null

Start video or audio output here: seconds (12.5) or a timestamp ("1:30").

trim_endnumber | string | null

End video or audio output here: seconds (12.5) or a timestamp ("1:30").

fpsinteger | null

Frames per second for video and GIF output.

min 1 · max 120
input_bytesinteger | null

Size you reserved

attemptinteger

How many times a worker has picked up the job. Starts at 0.

error_codestring | null

Why a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.

expires_atstring<date-time>required

When the job and its files are deleted

created_atstring<date-time>
source_urlstring

The origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.

webhook_urlstring

The origin of the webhook_url you sent. The full URL is never returned.

job_idstring

The job the failed request created, when the full job could not be read. Check it with GET /v1/jobs/{id} before retrying.

401

unauthorized: no Authorization: Bearer header.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
request_idstring | null
jobJob

The job the failed request created or touched, when there is one.

Show properties
idstringrequired

Job id, prefixed job_.

statusstringrequired

created → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.

Allowed:createduploadedqueuedrunningsucceededfailedcancelled
input_formatstring
target_formatstring
optionsOptions

The settings the job converts with, as sent when it was created.

Show properties
qualityinteger | null

Lossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.

min 1 · max 100
max_sizeinteger | null

Longest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.

min 1
video_heightinteger | null

Maximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.

min 2
audio_bitrateinteger | null

Audio bitrate in kbit/s, from 8 to 640.

min 8 · max 640
pagesstring | null

PDF pages to render: 2, 1-3 or 4- (page 4 to the end).

matches ^[1-9][0-9]*(-([1-9][0-9]*)?)?$
dpiinteger | null

Resolution for rendering PDF and SVG pages, from 18 to 1200.

min 18 · max 1200
video_codecstring | null

Encoder for MP4, MOV and MKV output: h264 (the default) or hevc.

Allowed:h264hevcnull
backgroundstring | null

What transparent areas become: transparent, white, black or a color like #ff8800. Unset keeps transparency where the format can store it and uses white where it can't. transparent fails for formats without transparency, such as JPEG.

strip_audioboolean

Leave the audio out of video output.

default: false
target_sizeinteger

Largest output file in bytes. Lowers quality, and image size, to fit.

min 10000
strip_metadataboolean

Leave EXIF, GPS and other metadata out of the output.

default: false
trim_startnumber | string | null

Start video or audio output here: seconds (12.5) or a timestamp ("1:30").

trim_endnumber | string | null

End video or audio output here: seconds (12.5) or a timestamp ("1:30").

fpsinteger | null

Frames per second for video and GIF output.

min 1 · max 120
input_bytesinteger | null

Size you reserved

attemptinteger

How many times a worker has picked up the job. Starts at 0.

error_codestring | null

Why a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.

expires_atstring<date-time>required

When the job and its files are deleted

created_atstring<date-time>
source_urlstring

The origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.

webhook_urlstring

The origin of the webhook_url you sent. The full URL is never returned.

job_idstring

The job the failed request created, when the full job could not be read. Check it with GET /v1/jobs/{id} before retrying.

403

unauthorized (key invalid or revoked) or a billing limit.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
request_idstring | null
jobJob

The job the failed request created or touched, when there is one.

Show properties
idstringrequired

Job id, prefixed job_.

statusstringrequired

created → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.

Allowed:createduploadedqueuedrunningsucceededfailedcancelled
input_formatstring
target_formatstring
optionsOptions

The settings the job converts with, as sent when it was created.

Show properties
qualityinteger | null

Lossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.

min 1 · max 100
max_sizeinteger | null

Longest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.

min 1
video_heightinteger | null

Maximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.

min 2
audio_bitrateinteger | null

Audio bitrate in kbit/s, from 8 to 640.

min 8 · max 640
pagesstring | null

PDF pages to render: 2, 1-3 or 4- (page 4 to the end).

matches ^[1-9][0-9]*(-([1-9][0-9]*)?)?$
dpiinteger | null

Resolution for rendering PDF and SVG pages, from 18 to 1200.

min 18 · max 1200
video_codecstring | null

Encoder for MP4, MOV and MKV output: h264 (the default) or hevc.

Allowed:h264hevcnull
backgroundstring | null

What transparent areas become: transparent, white, black or a color like #ff8800. Unset keeps transparency where the format can store it and uses white where it can't. transparent fails for formats without transparency, such as JPEG.

strip_audioboolean

Leave the audio out of video output.

default: false
target_sizeinteger

Largest output file in bytes. Lowers quality, and image size, to fit.

min 10000
strip_metadataboolean

Leave EXIF, GPS and other metadata out of the output.

default: false
trim_startnumber | string | null

Start video or audio output here: seconds (12.5) or a timestamp ("1:30").

trim_endnumber | string | null

End video or audio output here: seconds (12.5) or a timestamp ("1:30").

fpsinteger | null

Frames per second for video and GIF output.

min 1 · max 120
input_bytesinteger | null

Size you reserved

attemptinteger

How many times a worker has picked up the job. Starts at 0.

error_codestring | null

Why a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.

expires_atstring<date-time>required

When the job and its files are deleted

created_atstring<date-time>
source_urlstring

The origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.

webhook_urlstring

The origin of the webhook_url you sent. The full URL is never returned.

job_idstring

The job the failed request created, when the full job could not be read. Check it with GET /v1/jobs/{id} before retrying.

404

not_found: the job does not exist, belongs to another account, or has expired.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
request_idstring | null
jobJob

The job the failed request created or touched, when there is one.

Show properties
idstringrequired

Job id, prefixed job_.

statusstringrequired

created → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.

Allowed:createduploadedqueuedrunningsucceededfailedcancelled
input_formatstring
target_formatstring
optionsOptions

The settings the job converts with, as sent when it was created.

Show properties
qualityinteger | null

Lossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.

min 1 · max 100
max_sizeinteger | null

Longest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.

min 1
video_heightinteger | null

Maximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.

min 2
audio_bitrateinteger | null

Audio bitrate in kbit/s, from 8 to 640.

min 8 · max 640
pagesstring | null

PDF pages to render: 2, 1-3 or 4- (page 4 to the end).

matches ^[1-9][0-9]*(-([1-9][0-9]*)?)?$
dpiinteger | null

Resolution for rendering PDF and SVG pages, from 18 to 1200.

min 18 · max 1200
video_codecstring | null

Encoder for MP4, MOV and MKV output: h264 (the default) or hevc.

Allowed:h264hevcnull
backgroundstring | null

What transparent areas become: transparent, white, black or a color like #ff8800. Unset keeps transparency where the format can store it and uses white where it can't. transparent fails for formats without transparency, such as JPEG.

strip_audioboolean

Leave the audio out of video output.

default: false
target_sizeinteger

Largest output file in bytes. Lowers quality, and image size, to fit.

min 10000
strip_metadataboolean

Leave EXIF, GPS and other metadata out of the output.

default: false
trim_startnumber | string | null

Start video or audio output here: seconds (12.5) or a timestamp ("1:30").

trim_endnumber | string | null

End video or audio output here: seconds (12.5) or a timestamp ("1:30").

fpsinteger | null

Frames per second for video and GIF output.

min 1 · max 120
input_bytesinteger | null

Size you reserved

attemptinteger

How many times a worker has picked up the job. Starts at 0.

error_codestring | null

Why a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.

expires_atstring<date-time>required

When the job and its files are deleted

created_atstring<date-time>
source_urlstring

The origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.

webhook_urlstring

The origin of the webhook_url you sent. The full URL is never returned.

job_idstring

The job the failed request created, when the full job could not be read. Check it with GET /v1/jobs/{id} before retrying.

408

request_timeout: the upload took longer than 2 minutes. Use POST /v1/jobs for slow or large uploads.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
request_idstring | null
jobJob

The job the failed request created or touched, when there is one.

Show properties
idstringrequired

Job id, prefixed job_.

statusstringrequired

created → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.

Allowed:createduploadedqueuedrunningsucceededfailedcancelled
input_formatstring
target_formatstring
optionsOptions

The settings the job converts with, as sent when it was created.

Show properties
qualityinteger | null

Lossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.

min 1 · max 100
max_sizeinteger | null

Longest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.

min 1
video_heightinteger | null

Maximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.

min 2
audio_bitrateinteger | null

Audio bitrate in kbit/s, from 8 to 640.

min 8 · max 640
pagesstring | null

PDF pages to render: 2, 1-3 or 4- (page 4 to the end).

matches ^[1-9][0-9]*(-([1-9][0-9]*)?)?$
dpiinteger | null

Resolution for rendering PDF and SVG pages, from 18 to 1200.

min 18 · max 1200
video_codecstring | null

Encoder for MP4, MOV and MKV output: h264 (the default) or hevc.

Allowed:h264hevcnull
backgroundstring | null

What transparent areas become: transparent, white, black or a color like #ff8800. Unset keeps transparency where the format can store it and uses white where it can't. transparent fails for formats without transparency, such as JPEG.

strip_audioboolean

Leave the audio out of video output.

default: false
target_sizeinteger

Largest output file in bytes. Lowers quality, and image size, to fit.

min 10000
strip_metadataboolean

Leave EXIF, GPS and other metadata out of the output.

default: false
trim_startnumber | string | null

Start video or audio output here: seconds (12.5) or a timestamp ("1:30").

trim_endnumber | string | null

End video or audio output here: seconds (12.5) or a timestamp ("1:30").

fpsinteger | null

Frames per second for video and GIF output.

min 1 · max 120
input_bytesinteger | null

Size you reserved

attemptinteger

How many times a worker has picked up the job. Starts at 0.

error_codestring | null

Why a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.

expires_atstring<date-time>required

When the job and its files are deleted

created_atstring<date-time>
source_urlstring

The origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.

webhook_urlstring

The origin of the webhook_url you sent. The full URL is never returned.

job_idstring

The job the failed request created, when the full job could not be read. Check it with GET /v1/jobs/{id} before retrying.

409

cancelled (the job was cancelled first), still_running (a file request with an Idempotency-Key that isn't done after wait; retry with the key) or idempotency_key_reused.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
request_idstring | null
jobJob

One conversion and its state.

Show properties
idstringrequired

Job id, prefixed job_.

statusstringrequired

created → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.

Allowed:createduploadedqueuedrunningsucceededfailedcancelled
input_formatstring
target_formatstring
optionsOptions

The settings the job converts with, as sent when it was created.

Show properties
qualityinteger | null

Lossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.

min 1 · max 100
max_sizeinteger | null

Longest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.

min 1
video_heightinteger | null

Maximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.

min 2
audio_bitrateinteger | null

Audio bitrate in kbit/s, from 8 to 640.

min 8 · max 640
pagesstring | null

PDF pages to render: 2, 1-3 or 4- (page 4 to the end).

matches ^[1-9][0-9]*(-([1-9][0-9]*)?)?$
dpiinteger | null

Resolution for rendering PDF and SVG pages, from 18 to 1200.

min 18 · max 1200
video_codecstring | null

Encoder for MP4, MOV and MKV output: h264 (the default) or hevc.

Allowed:h264hevcnull
backgroundstring | null

What transparent areas become: transparent, white, black or a color like #ff8800. Unset keeps transparency where the format can store it and uses white where it can't. transparent fails for formats without transparency, such as JPEG.

strip_audioboolean

Leave the audio out of video output.

default: false
target_sizeinteger

Largest output file in bytes. Lowers quality, and image size, to fit.

min 10000
strip_metadataboolean

Leave EXIF, GPS and other metadata out of the output.

default: false
trim_startnumber | string | null

Start video or audio output here: seconds (12.5) or a timestamp ("1:30").

trim_endnumber | string | null

End video or audio output here: seconds (12.5) or a timestamp ("1:30").

fpsinteger | null

Frames per second for video and GIF output.

min 1 · max 120
input_bytesinteger | null

Size you reserved

attemptinteger

How many times a worker has picked up the job. Starts at 0.

error_codestring | null

Why a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.

expires_atstring<date-time>required

When the job and its files are deleted

created_atstring<date-time>
source_urlstring

The origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.

webhook_urlstring

The origin of the webhook_url you sent. The full URL is never returned.

job_idstring

The job the failed request created, when the full job could not be read. Check it with GET /v1/jobs/{id} before retrying.

413

file_too_large: over 25 MB. Use POST /v1/jobs or source_url.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
request_idstring | null
jobJob

The job the failed request created or touched, when there is one.

Show properties
idstringrequired

Job id, prefixed job_.

statusstringrequired

created → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.

Allowed:createduploadedqueuedrunningsucceededfailedcancelled
input_formatstring
target_formatstring
optionsOptions

The settings the job converts with, as sent when it was created.

Show properties
qualityinteger | null

Lossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.

min 1 · max 100
max_sizeinteger | null

Longest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.

min 1
video_heightinteger | null

Maximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.

min 2
audio_bitrateinteger | null

Audio bitrate in kbit/s, from 8 to 640.

min 8 · max 640
pagesstring | null

PDF pages to render: 2, 1-3 or 4- (page 4 to the end).

matches ^[1-9][0-9]*(-([1-9][0-9]*)?)?$
dpiinteger | null

Resolution for rendering PDF and SVG pages, from 18 to 1200.

min 18 · max 1200
video_codecstring | null

Encoder for MP4, MOV and MKV output: h264 (the default) or hevc.

Allowed:h264hevcnull
backgroundstring | null

What transparent areas become: transparent, white, black or a color like #ff8800. Unset keeps transparency where the format can store it and uses white where it can't. transparent fails for formats without transparency, such as JPEG.

strip_audioboolean

Leave the audio out of video output.

default: false
target_sizeinteger

Largest output file in bytes. Lowers quality, and image size, to fit.

min 10000
strip_metadataboolean

Leave EXIF, GPS and other metadata out of the output.

default: false
trim_startnumber | string | null

Start video or audio output here: seconds (12.5) or a timestamp ("1:30").

trim_endnumber | string | null

End video or audio output here: seconds (12.5) or a timestamp ("1:30").

fpsinteger | null

Frames per second for video and GIF output.

min 1 · max 120
input_bytesinteger | null

Size you reserved

attemptinteger

How many times a worker has picked up the job. Starts at 0.

error_codestring | null

Why a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.

expires_atstring<date-time>required

When the job and its files are deleted

created_atstring<date-time>
source_urlstring

The origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.

webhook_urlstring

The origin of the webhook_url you sent. The full URL is never returned.

job_idstring

The job the failed request created, when the full job could not be read. Check it with GET /v1/jobs/{id} before retrying.

422

The conversion failed. code is the job's error_code, such as conversion_failed or source_fetch_failed. Not charged.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
request_idstring | null
jobJob

One conversion and its state.

Show properties
idstringrequired

Job id, prefixed job_.

statusstringrequired

created → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.

Allowed:createduploadedqueuedrunningsucceededfailedcancelled
input_formatstring
target_formatstring
optionsOptions

The settings the job converts with, as sent when it was created.

Show properties
qualityinteger | null

Lossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.

min 1 · max 100
max_sizeinteger | null

Longest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.

min 1
video_heightinteger | null

Maximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.

min 2
audio_bitrateinteger | null

Audio bitrate in kbit/s, from 8 to 640.

min 8 · max 640
pagesstring | null

PDF pages to render: 2, 1-3 or 4- (page 4 to the end).

matches ^[1-9][0-9]*(-([1-9][0-9]*)?)?$
dpiinteger | null

Resolution for rendering PDF and SVG pages, from 18 to 1200.

min 18 · max 1200
video_codecstring | null

Encoder for MP4, MOV and MKV output: h264 (the default) or hevc.

Allowed:h264hevcnull
backgroundstring | null

What transparent areas become: transparent, white, black or a color like #ff8800. Unset keeps transparency where the format can store it and uses white where it can't. transparent fails for formats without transparency, such as JPEG.

strip_audioboolean

Leave the audio out of video output.

default: false
target_sizeinteger

Largest output file in bytes. Lowers quality, and image size, to fit.

min 10000
strip_metadataboolean

Leave EXIF, GPS and other metadata out of the output.

default: false
trim_startnumber | string | null

Start video or audio output here: seconds (12.5) or a timestamp ("1:30").

trim_endnumber | string | null

End video or audio output here: seconds (12.5) or a timestamp ("1:30").

fpsinteger | null

Frames per second for video and GIF output.

min 1 · max 120
input_bytesinteger | null

Size you reserved

attemptinteger

How many times a worker has picked up the job. Starts at 0.

error_codestring | null

Why a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.

expires_atstring<date-time>required

When the job and its files are deleted

created_atstring<date-time>
source_urlstring

The origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.

webhook_urlstring

The origin of the webhook_url you sent. The full URL is never returned.

job_idstring

The job the failed request created, when the full job could not be read. Check it with GET /v1/jobs/{id} before retrying.

429

rate_limited: more than 120 requests in a minute for this key.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
request_idstring | null
jobJob

The job the failed request created or touched, when there is one.

Show properties
idstringrequired

Job id, prefixed job_.

statusstringrequired

created → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.

Allowed:createduploadedqueuedrunningsucceededfailedcancelled
input_formatstring
target_formatstring
optionsOptions

The settings the job converts with, as sent when it was created.

Show properties
qualityinteger | null

Lossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.

min 1 · max 100
max_sizeinteger | null

Longest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.

min 1
video_heightinteger | null

Maximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.

min 2
audio_bitrateinteger | null

Audio bitrate in kbit/s, from 8 to 640.

min 8 · max 640
pagesstring | null

PDF pages to render: 2, 1-3 or 4- (page 4 to the end).

matches ^[1-9][0-9]*(-([1-9][0-9]*)?)?$
dpiinteger | null

Resolution for rendering PDF and SVG pages, from 18 to 1200.

min 18 · max 1200
video_codecstring | null

Encoder for MP4, MOV and MKV output: h264 (the default) or hevc.

Allowed:h264hevcnull
backgroundstring | null

What transparent areas become: transparent, white, black or a color like #ff8800. Unset keeps transparency where the format can store it and uses white where it can't. transparent fails for formats without transparency, such as JPEG.

strip_audioboolean

Leave the audio out of video output.

default: false
target_sizeinteger

Largest output file in bytes. Lowers quality, and image size, to fit.

min 10000
strip_metadataboolean

Leave EXIF, GPS and other metadata out of the output.

default: false
trim_startnumber | string | null

Start video or audio output here: seconds (12.5) or a timestamp ("1:30").

trim_endnumber | string | null

End video or audio output here: seconds (12.5) or a timestamp ("1:30").

fpsinteger | null

Frames per second for video and GIF output.

min 1 · max 120
input_bytesinteger | null

Size you reserved

attemptinteger

How many times a worker has picked up the job. Starts at 0.

error_codestring | null

Why a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.

expires_atstring<date-time>required

When the job and its files are deleted

created_atstring<date-time>
source_urlstring

The origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.

webhook_urlstring

The origin of the webhook_url you sent. The full URL is never returned.

job_idstring

The job the failed request created, when the full job could not be read. Check it with GET /v1/jobs/{id} before retrying.

500

internal. If the job already exists, the body has job_id and Convt-Job-Id and Location name it: check it before retrying, because it may still finish and be billed.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
request_idstring | null
jobJob

The job the failed request created or touched, when there is one.

Show properties
idstringrequired

Job id, prefixed job_.

statusstringrequired

created → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.

Allowed:createduploadedqueuedrunningsucceededfailedcancelled
input_formatstring
target_formatstring
optionsOptions

The settings the job converts with, as sent when it was created.

Show properties
qualityinteger | null

Lossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.

min 1 · max 100
max_sizeinteger | null

Longest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.

min 1
video_heightinteger | null

Maximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.

min 2
audio_bitrateinteger | null

Audio bitrate in kbit/s, from 8 to 640.

min 8 · max 640
pagesstring | null

PDF pages to render: 2, 1-3 or 4- (page 4 to the end).

matches ^[1-9][0-9]*(-([1-9][0-9]*)?)?$
dpiinteger | null

Resolution for rendering PDF and SVG pages, from 18 to 1200.

min 18 · max 1200
video_codecstring | null

Encoder for MP4, MOV and MKV output: h264 (the default) or hevc.

Allowed:h264hevcnull
backgroundstring | null

What transparent areas become: transparent, white, black or a color like #ff8800. Unset keeps transparency where the format can store it and uses white where it can't. transparent fails for formats without transparency, such as JPEG.

strip_audioboolean

Leave the audio out of video output.

default: false
target_sizeinteger

Largest output file in bytes. Lowers quality, and image size, to fit.

min 10000
strip_metadataboolean

Leave EXIF, GPS and other metadata out of the output.

default: false
trim_startnumber | string | null

Start video or audio output here: seconds (12.5) or a timestamp ("1:30").

trim_endnumber | string | null

End video or audio output here: seconds (12.5) or a timestamp ("1:30").

fpsinteger | null

Frames per second for video and GIF output.

min 1 · max 120
input_bytesinteger | null

Size you reserved

attemptinteger

How many times a worker has picked up the job. Starts at 0.

error_codestring | null

Why a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.

expires_atstring<date-time>required

When the job and its files are deleted

created_atstring<date-time>
source_urlstring

The origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.

webhook_urlstring

The origin of the webhook_url you sent. The full URL is never returned.

job_idstring

The job the failed request created, when the full job could not be read. Check it with GET /v1/jobs/{id} before retrying.

502

storage_unavailable: storage did not answer. If the body names a job, read it with GET /v1/jobs/{id} first: a succeeded job was billed, so fetch its outputs from /download instead of converting again; a job still created, queued or running can be collected by retrying the original request with its original Idempotency-Key. output_missing: the job succeeded and was billed but an output is gone from storage; fresh links will not help, so contact us with the job id.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
request_idstring | null
jobJob

One conversion and its state.

Show properties
idstringrequired

Job id, prefixed job_.

statusstringrequired

created → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.

Allowed:createduploadedqueuedrunningsucceededfailedcancelled
input_formatstring
target_formatstring
optionsOptions

The settings the job converts with, as sent when it was created.

Show properties
qualityinteger | null

Lossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.

min 1 · max 100
max_sizeinteger | null

Longest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.

min 1
video_heightinteger | null

Maximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.

min 2
audio_bitrateinteger | null

Audio bitrate in kbit/s, from 8 to 640.

min 8 · max 640
pagesstring | null

PDF pages to render: 2, 1-3 or 4- (page 4 to the end).

matches ^[1-9][0-9]*(-([1-9][0-9]*)?)?$
dpiinteger | null

Resolution for rendering PDF and SVG pages, from 18 to 1200.

min 18 · max 1200
video_codecstring | null

Encoder for MP4, MOV and MKV output: h264 (the default) or hevc.

Allowed:h264hevcnull
backgroundstring | null

What transparent areas become: transparent, white, black or a color like #ff8800. Unset keeps transparency where the format can store it and uses white where it can't. transparent fails for formats without transparency, such as JPEG.

strip_audioboolean

Leave the audio out of video output.

default: false
target_sizeinteger

Largest output file in bytes. Lowers quality, and image size, to fit.

min 10000
strip_metadataboolean

Leave EXIF, GPS and other metadata out of the output.

default: false
trim_startnumber | string | null

Start video or audio output here: seconds (12.5) or a timestamp ("1:30").

trim_endnumber | string | null

End video or audio output here: seconds (12.5) or a timestamp ("1:30").

fpsinteger | null

Frames per second for video and GIF output.

min 1 · max 120
input_bytesinteger | null

Size you reserved

attemptinteger

How many times a worker has picked up the job. Starts at 0.

error_codestring | null

Why a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.

expires_atstring<date-time>required

When the job and its files are deleted

created_atstring<date-time>
source_urlstring

The origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.

webhook_urlstring

The origin of the webhook_url you sent. The full URL is never returned.

job_idstring

The job the failed request created, when the full job could not be read. Check it with GET /v1/jobs/{id} before retrying.

503

server_busy: too many uploads in progress. Retry after Retry-After seconds.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
request_idstring | null
jobJob

The job the failed request created or touched, when there is one.

Show properties
idstringrequired

Job id, prefixed job_.

statusstringrequired

created → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.

Allowed:createduploadedqueuedrunningsucceededfailedcancelled
input_formatstring
target_formatstring
optionsOptions

The settings the job converts with, as sent when it was created.

Show properties
qualityinteger | null

Lossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.

min 1 · max 100
max_sizeinteger | null

Longest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.

min 1
video_heightinteger | null

Maximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.

min 2
audio_bitrateinteger | null

Audio bitrate in kbit/s, from 8 to 640.

min 8 · max 640
pagesstring | null

PDF pages to render: 2, 1-3 or 4- (page 4 to the end).

matches ^[1-9][0-9]*(-([1-9][0-9]*)?)?$
dpiinteger | null

Resolution for rendering PDF and SVG pages, from 18 to 1200.

min 18 · max 1200
video_codecstring | null

Encoder for MP4, MOV and MKV output: h264 (the default) or hevc.

Allowed:h264hevcnull
backgroundstring | null

What transparent areas become: transparent, white, black or a color like #ff8800. Unset keeps transparency where the format can store it and uses white where it can't. transparent fails for formats without transparency, such as JPEG.

strip_audioboolean

Leave the audio out of video output.

default: false
target_sizeinteger

Largest output file in bytes. Lowers quality, and image size, to fit.

min 10000
strip_metadataboolean

Leave EXIF, GPS and other metadata out of the output.

default: false
trim_startnumber | string | null

Start video or audio output here: seconds (12.5) or a timestamp ("1:30").

trim_endnumber | string | null

End video or audio output here: seconds (12.5) or a timestamp ("1:30").

fpsinteger | null

Frames per second for video and GIF output.

min 1 · max 120
input_bytesinteger | null

Size you reserved

attemptinteger

How many times a worker has picked up the job. Starts at 0.

error_codestring | null

Why a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.

expires_atstring<date-time>required

When the job and its files are deleted

created_atstring<date-time>
source_urlstring

The origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.

webhook_urlstring

The origin of the webhook_url you sent. The full URL is never returned.

job_idstring

The job the failed request created, when the full job could not be read. Check it with GET /v1/jobs/{id} before retrying.

504

timeout: a file request without an Idempotency-Key did not finish within wait. The job was cancelled; not charged.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
request_idstring | null
jobJob

One conversion and its state.

Show properties
idstringrequired

Job id, prefixed job_.

statusstringrequired

created → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.

Allowed:createduploadedqueuedrunningsucceededfailedcancelled
input_formatstring
target_formatstring
optionsOptions

The settings the job converts with, as sent when it was created.

Show properties
qualityinteger | null

Lossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.

min 1 · max 100
max_sizeinteger | null

Longest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.

min 1
video_heightinteger | null

Maximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.

min 2
audio_bitrateinteger | null

Audio bitrate in kbit/s, from 8 to 640.

min 8 · max 640
pagesstring | null

PDF pages to render: 2, 1-3 or 4- (page 4 to the end).

matches ^[1-9][0-9]*(-([1-9][0-9]*)?)?$
dpiinteger | null

Resolution for rendering PDF and SVG pages, from 18 to 1200.

min 18 · max 1200
video_codecstring | null

Encoder for MP4, MOV and MKV output: h264 (the default) or hevc.

Allowed:h264hevcnull
backgroundstring | null

What transparent areas become: transparent, white, black or a color like #ff8800. Unset keeps transparency where the format can store it and uses white where it can't. transparent fails for formats without transparency, such as JPEG.

strip_audioboolean

Leave the audio out of video output.

default: false
target_sizeinteger

Largest output file in bytes. Lowers quality, and image size, to fit.

min 10000
strip_metadataboolean

Leave EXIF, GPS and other metadata out of the output.

default: false
trim_startnumber | string | null

Start video or audio output here: seconds (12.5) or a timestamp ("1:30").

trim_endnumber | string | null

End video or audio output here: seconds (12.5) or a timestamp ("1:30").

fpsinteger | null

Frames per second for video and GIF output.

min 1 · max 120
input_bytesinteger | null

Size you reserved

attemptinteger

How many times a worker has picked up the job. Starts at 0.

error_codestring | null

Why a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.

expires_atstring<date-time>required

When the job and its files are deleted

created_atstring<date-time>
source_urlstring

The origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.

webhook_urlstring

The origin of the webhook_url you sent. The full URL is never returned.

job_idstring

The job the failed request created, when the full job could not be read. Check it with GET /v1/jobs/{id} before retrying.

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'https://api.convt.app/v1/convert' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "source_url": "http://example.com",
  "to": "string",
  "from": "string",
  "options": {
    "quality": 1,
    "max_size": 1,
    "video_height": 2,
    "audio_bitrate": 8,
    "pages": "string",
    "dpi": 18,
    "video_codec": "h264",
    "background": "string",
    "strip_audio": false,
    "target_size": 10000,
    "strip_metadata": false,
    "trim_start": 0,
    "trim_end": 0,
    "fps": 1
  }
}'
Response
{
  "job": {
    "id": "string",
    "status": "created",
    "input_format": "string",
    "target_format": "string",
    "options": {
      "quality": 1,
      "max_size": 1,
      "video_height": 2,
      "audio_bitrate": 8,
      "pages": "string",
      "dpi": 18,
      "video_codec": "h264",
      "background": "string",
      "strip_audio": false,
      "target_size": 10000,
      "strip_metadata": false,
      "trim_start": 0,
      "trim_end": 0,
      "fps": 1
    },
    "input_bytes": 0,
    "attempt": 0,
    "error_code": "string",
    "expires_at": "2019-08-24T14:15:22Z",
    "created_at": "2019-08-24T14:15:22Z",
    "source_url": "string",
    "webhook_url": "string"
  },
  "outputs": [
    {
      "name": "string",
      "url": "http://example.com"
    }
  ],
  "expires_in": 0
}