Rotate the webhook signing secret
Replaces the account’s webhook signing secret and returns the new one. Deliveries from then on are signed with it. API keys only.
/v1/webhooks/secret/rotateAuthorizationBearer token · headerrequiredA cvt_live_ API key from the dashboard, sent as Authorization: Bearer cvt_live_…. Keep it on your server.
The account's signing secret.
secretstringversionintegerRequest refused
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredrequest_idstring | nulljobJobThe job the failed request created or touched, when there is one.
Show propertiesHide properties
idstringrequiredJob id, prefixed job_.
statusstringrequiredcreated → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.
createduploadedqueuedrunningsucceededfailedcancelledinput_formatstringtarget_formatstringoptionsOptionsThe settings the job converts with, as sent when it was created.
Show propertiesHide properties
qualityinteger | nullLossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.
max_sizeinteger | nullLongest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.
video_heightinteger | nullMaximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.
audio_bitrateinteger | nullAudio bitrate in kbit/s, from 8 to 640.
pagesstring | nullPDF pages to render: 2, 1-3 or 4- (page 4 to the end).
dpiinteger | nullResolution for rendering PDF and SVG pages, from 18 to 1200.
video_codecstring | nullEncoder for MP4, MOV and MKV output: h264 (the default) or hevc.
h264hevcnullbackgroundstring | nullWhat 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_audiobooleanLeave the audio out of video output.
target_sizeintegerLargest output file in bytes. Lowers quality, and image size, to fit.
strip_metadatabooleanLeave EXIF, GPS and other metadata out of the output.
trim_startnumber | string | nullStart video or audio output here: seconds (12.5) or a timestamp ("1:30").
trim_endnumber | string | nullEnd video or audio output here: seconds (12.5) or a timestamp ("1:30").
fpsinteger | nullFrames per second for video and GIF output.
input_bytesinteger | nullSize you reserved
attemptintegerHow many times a worker has picked up the job. Starts at 0.
error_codestring | nullWhy a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.
expires_atstring<date-time>requiredWhen the job and its files are deleted
created_atstring<date-time>source_urlstringThe origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.
webhook_urlstringThe origin of the webhook_url you sent. The full URL is never returned.
job_idstringThe job the failed request created, when the full job could not be read. Check it with GET /v1/jobs/{id} before retrying.
unauthorized: no Authorization: Bearer header.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredrequest_idstring | nulljobJobThe job the failed request created or touched, when there is one.
Show propertiesHide properties
idstringrequiredJob id, prefixed job_.
statusstringrequiredcreated → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.
createduploadedqueuedrunningsucceededfailedcancelledinput_formatstringtarget_formatstringoptionsOptionsThe settings the job converts with, as sent when it was created.
Show propertiesHide properties
qualityinteger | nullLossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.
max_sizeinteger | nullLongest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.
video_heightinteger | nullMaximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.
audio_bitrateinteger | nullAudio bitrate in kbit/s, from 8 to 640.
pagesstring | nullPDF pages to render: 2, 1-3 or 4- (page 4 to the end).
dpiinteger | nullResolution for rendering PDF and SVG pages, from 18 to 1200.
video_codecstring | nullEncoder for MP4, MOV and MKV output: h264 (the default) or hevc.
h264hevcnullbackgroundstring | nullWhat 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_audiobooleanLeave the audio out of video output.
target_sizeintegerLargest output file in bytes. Lowers quality, and image size, to fit.
strip_metadatabooleanLeave EXIF, GPS and other metadata out of the output.
trim_startnumber | string | nullStart video or audio output here: seconds (12.5) or a timestamp ("1:30").
trim_endnumber | string | nullEnd video or audio output here: seconds (12.5) or a timestamp ("1:30").
fpsinteger | nullFrames per second for video and GIF output.
input_bytesinteger | nullSize you reserved
attemptintegerHow many times a worker has picked up the job. Starts at 0.
error_codestring | nullWhy a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.
expires_atstring<date-time>requiredWhen the job and its files are deleted
created_atstring<date-time>source_urlstringThe origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.
webhook_urlstringThe origin of the webhook_url you sent. The full URL is never returned.
job_idstringThe job the failed request created, when the full job could not be read. Check it with GET /v1/jobs/{id} before retrying.
unauthorized (key invalid or revoked) or a billing limit.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredrequest_idstring | nulljobJobThe job the failed request created or touched, when there is one.
Show propertiesHide properties
idstringrequiredJob id, prefixed job_.
statusstringrequiredcreated → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.
createduploadedqueuedrunningsucceededfailedcancelledinput_formatstringtarget_formatstringoptionsOptionsThe settings the job converts with, as sent when it was created.
Show propertiesHide properties
qualityinteger | nullLossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.
max_sizeinteger | nullLongest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.
video_heightinteger | nullMaximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.
audio_bitrateinteger | nullAudio bitrate in kbit/s, from 8 to 640.
pagesstring | nullPDF pages to render: 2, 1-3 or 4- (page 4 to the end).
dpiinteger | nullResolution for rendering PDF and SVG pages, from 18 to 1200.
video_codecstring | nullEncoder for MP4, MOV and MKV output: h264 (the default) or hevc.
h264hevcnullbackgroundstring | nullWhat 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_audiobooleanLeave the audio out of video output.
target_sizeintegerLargest output file in bytes. Lowers quality, and image size, to fit.
strip_metadatabooleanLeave EXIF, GPS and other metadata out of the output.
trim_startnumber | string | nullStart video or audio output here: seconds (12.5) or a timestamp ("1:30").
trim_endnumber | string | nullEnd video or audio output here: seconds (12.5) or a timestamp ("1:30").
fpsinteger | nullFrames per second for video and GIF output.
input_bytesinteger | nullSize you reserved
attemptintegerHow many times a worker has picked up the job. Starts at 0.
error_codestring | nullWhy a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.
expires_atstring<date-time>requiredWhen the job and its files are deleted
created_atstring<date-time>source_urlstringThe origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.
webhook_urlstringThe origin of the webhook_url you sent. The full URL is never returned.
job_idstringThe job the failed request created, when the full job could not be read. Check it with GET /v1/jobs/{id} before retrying.
rate_limited: more than 120 requests in a minute for this key.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredrequest_idstring | nulljobJobThe job the failed request created or touched, when there is one.
Show propertiesHide properties
idstringrequiredJob id, prefixed job_.
statusstringrequiredcreated → queued → running → succeeded or failed. cancelled can happen at any point before the job finishes. uploaded is reserved and not used yet.
createduploadedqueuedrunningsucceededfailedcancelledinput_formatstringtarget_formatstringoptionsOptionsThe settings the job converts with, as sent when it was created.
Show propertiesHide properties
qualityinteger | nullLossy quality from 1 to 100 for JPEG, AVIF, HEIC and video output. WebP output is lossless and ignores it.
max_sizeinteger | nullLongest edge of image output in pixels. Larger images are scaled down; smaller ones are left alone.
video_heightinteger | nullMaximum video height in pixels, an even number. Scales down only and keeps the aspect ratio.
audio_bitrateinteger | nullAudio bitrate in kbit/s, from 8 to 640.
pagesstring | nullPDF pages to render: 2, 1-3 or 4- (page 4 to the end).
dpiinteger | nullResolution for rendering PDF and SVG pages, from 18 to 1200.
video_codecstring | nullEncoder for MP4, MOV and MKV output: h264 (the default) or hevc.
h264hevcnullbackgroundstring | nullWhat 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_audiobooleanLeave the audio out of video output.
target_sizeintegerLargest output file in bytes. Lowers quality, and image size, to fit.
strip_metadatabooleanLeave EXIF, GPS and other metadata out of the output.
trim_startnumber | string | nullStart video or audio output here: seconds (12.5) or a timestamp ("1:30").
trim_endnumber | string | nullEnd video or audio output here: seconds (12.5) or a timestamp ("1:30").
fpsinteger | nullFrames per second for video and GIF output.
input_bytesinteger | nullSize you reserved
attemptintegerHow many times a worker has picked up the job. Starts at 0.
error_codestring | nullWhy a failed job failed (conversion_failed, source_fetch_failed, expired_or_exhausted or expired), otherwise null.
expires_atstring<date-time>requiredWhen the job and its files are deleted
created_atstring<date-time>source_urlstringThe origin of the source_url you sent, such as https://bucket.s3.amazonaws.com/…. The full URL is never returned.
webhook_urlstringThe origin of the webhook_url you sent. The full URL is never returned.
job_idstringThe job the failed request created, when the full job could not be read. Check it with GET /v1/jobs/{id} before retrying.