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

Get the webhook signing secret

Returns the secret that signs your account’s webhook deliveries in the Convt-Signature header, and its version. API keys only. Fetch it once and store it with your other secrets. See Webhooks.

GET/v1/webhooks/secret
Authorization
AuthorizationBearer token · headerrequired

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

Responses
200

The account's signing secret.

secretstring
versioninteger
400

Request refused

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.

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.

Try it
Server
Authorization
Request
curl -X GET 'https://api.convt.app/v1/webhooks/secret' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "secret": "string",
  "version": 0
}