Docs › API reference
API reference
Every operation, grouped like the spec. Open one to see its parameters, request body and responses, each with an example and the full schema. Load openapi.json or openapi.yaml into Postman, Insomnia or a code generator.
Videos
Create, list, check and delete videos (uploads and edits).
GET/videosList my videos (newest first)
Filter by metadata: include up to 5 parameters like metadata.lessonId=123. Filters are AND'd together.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer | |
nextToken | query | string | From the previous page |
metadata.<key> | query | string | Filter by metadata value (up to 5 filters; dynamic parameter name) |
Responses
200A page of videos
{
"videos": [
{
"videoId": "string",
"fileName": "string",
"cameraFileName": "string",
"createdAt": 0,
"sizeBytes": 0,
"state": "UPLOADING",
"mode": "live",
"redactions": 0,
"originalDeleted": false,
"clips": 0,
"audioTracks": 0,
"reprocessOf": "string",
"trim": {
"start": 0,
"end": 0
},
"metadata": {},
"captions": false,
"autoRedact": false,
"embeddable": false,
"outcome": "SUCCEEDED",
"endedAt": 0,
"durationSeconds": 0,
"height": 0
}
],
"nextToken": "string"
}Schema
videosarray of VideoSummaryvideoIdstringfileNamestringcameraFileNamestringcreatedAtintegerUnix time
sizeBytesintegerstatestringCall GET /videos/{id} for live status
one of"UPLOADING","READY_TO_START","SUBMITTED"modestringA key lists only its own mode's videos; test videos are deleted after 24 hours
one of"live","test"redactionsintegeroriginalDeletedbooleanclipsintegerPresent for edits
audioTracksintegerPresent for edits with audio tracks (music
reprocessOfstringtrimTrimKeep only part of the upload (frame-accurate, no extra encode). Redaction times are on the trimmed timeline.
startnumbermin0· default0endnumbernull = to the end
metadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
captionsbooleanMade with captions
autoRedactbooleanMade with auto-redaction
embeddablebooleanThe embeddable player is on
outcomestringHow processing ended; absent while it runs
one of"SUCCEEDED","FAILED","TIMED_OUT","ABORTED"endedAtnumberUnix time processing ended
durationSecondsnumberThe output's length (SUCCEEDED only)
heightintegerThe top quality's short side, e.g. 1080 (SUCCEEDED only)
nextTokenstring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId listVideos
POST/videosCreate a video (an upload, or an edit of finished videos)
Send an upload request, or an edit (no upload) to cut, join and splice your finished videos.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
dryRun | query | boolean | Validate only: nothing is created or started (answers 200 with valid: true) |
Idempotency-Key | header | string | Unique key for idempotent requests: POST /videos, POST /videos/{id}/complete, POST /videos/{id}/reprocess. Same key with same request = replay of first response. Stored 24 hours. |
Request body required
{
"fileName": "lesson1.mp4",
"title": "string",
"description": "string",
"sizeBytes": 104857600,
"maxHeight": 1080,
"camera": {
"fileName": "string",
"sizeBytes": 0
},
"layout": "pip",
"streaming": false,
"prestart": false,
"durationSeconds": 0,
"metadata": {},
"overlays": [
{
"fileName": "string",
"sizeBytes": 0,
"position": "bottom-right",
"margin": 0.03,
"x": 0,
"y": 0,
"w": 0.15,
"h": 0,
"start": 0,
"end": 0,
"opacity": 1,
"fadeIn": 0,
"fadeOut": 0
}
]
}Schema
fileNamestringrequiredtitlestringYour title for the video (one line)
max length200descriptionstringYour description (line breaks kept)
max length5000sizeBytesintegerRequired unless streaming
maxHeightintegerHighest output quality; never upscales
one of720,1080,1440,2160· default1080cameraobjectOptional second file shown picture-in-picture over the first (screen + camera)
fileNamestringsizeBytesinteger
layoutstring | objectScreen + camera only: how the two are combined. "pip" (camera bottom-right, medium) and "side-by-side" (screen left) are shorthands; the object form picks the corner and size, or which side the screen is on.
One of:stringobjecttypestringrequiredone of"pip","side-by-side"positionstringpip only (default bottom-right)
one of"bottom-right","bottom-left","top-right","top-left"sizestringpip only (default medium)
one of"small","medium","large"screenstringside-by-side only (default left)
one of"left","right"
streamingbooleanSize unknown yet (e.g. still recording); parts are signed per size
prestartbooleanWith streaming
durationSecondsnumberOptional hint, not for streaming: the file's length in seconds. Used only to start GPU machines early for a video of 10 minutes or more (and not for a shorter one); never used for billing, limits or processing.
max86400metadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
overlaysarray of Overlay1-4 images drawn over the video, in order (later ones on top); times are after any trim. Each is uploaded after the video is created (file overlays[n]). Every plan, test mode too. Not with streaming (400), nor with an upload token (403 UPLOAD_TOKEN_SCOPE)
max items4fileNamestringrequiredThe image's name (shown in status; never a storage key)
min length1· max length200sizeBytesintegerrequiredThe file's size in bytes (up to 10 MB); decides the part count (always 1)
min1· max10485760positionstringWhere the image sits, inside the frame. Not with x/y
one of"top-left","top","top-right","left","center","right","bottom-left","bottom","bottom-right"· default"bottom-right"marginnumberWith position: the gap to the edges it's placed against, as a fraction of the frame's shorter side
min0· max0.25· default0.03xnumberInstead of position: the image's left edge, as a fraction of the frame's width. With y; not with position or margin. Anything past the right edge is cut off
min0· max1ynumberInstead of position: the image's top edge, as a fraction of the frame's height. With x. Anything past the bottom edge is cut off
min0· max1wnumberThe image's width as a fraction of the frame's width (the height follows). Not with h
min0· max1· default0.15hnumberInstead of w: the image's height as a fraction of the frame's height (the width follows)
min0· max1startnumberSeconds on the video's timeline (after a trim; an edit's own timeline) where it appears
min0· default0endnumberSeconds where it goes; null = to the end. At least 0.1 s after start
opacitynumber1 as the image is; lower is more see-through (multiplies the image's own transparency)
min0· max1· default1fadeInnumberSeconds of fade at the start of its time window
min0· max10· default0fadeOutnumberSeconds of fade at the end of its time window (with end null, ending where the video ends)
min0· max10· default0
sourceUrlstring (uri)requiredHTTPS URL (public internet addresses only; no username/password) with the video file. At most 3 redirects, each checked. The server must answer 200; file size is checked against the upload limit.
max length2048fileNamestringDisplay name (default: last URL path segment). 1–200 characters.
maxHeightintegerHighest output quality; never upscales
one of720,1080,1440,2160· default1080trimTrimKeep only part of the upload (frame-accurate, no extra encode). Redaction times are on the trimmed timeline.
startnumbermin0· default0endnumbernull = to the end
redactionsarray of RedactionRegions to blur or black out
max items20typestringrequiredbox = solid black bar
one of"blur","box"shapestringone of"rect","ellipse"· default"rect"xnumberFraction of the final frame width
min0· max1ynumbermin0· max1wnumbermin0· max1hnumbermin0· max1startnumberSeconds
default0endnumberSeconds; null = until the end
trackarray of objectKeyframes for moving content, in time order; the region glides between them (instead of x, y, w, h)
max items50timenumberrequiredSeconds on the output timeline
min0xnumberrequiredmin0· max1ynumberrequiredmin0· max1wnumberrequiredmin0· max1hnumberrequiredmin0· max1
deleteOriginalbooleanDelete the imported file once the output is published
captionsCaptionsOptionPro and Scale. Speech-to-text subtitles: true detects the spoken language, or {"language": "es"} sets it (ISO 639-1 code). Adds WebVTT/SRT/text files and a subtitle track to the HLS stream. Each captioned minute counts as 2 extra processing minutes (minimum 1). At most 4 hours of video, and 1,200 captioned minutes per account per day.
One of:booleanobjectlanguagestring
autoRedactAutoRedactOptionPro and Scale. Before encoding, find what shouldn't be seen on screen and hide it, wherever and whenever it appears: true finds secrets (API keys and tokens), email addresses and card numbers and blurs them; or choose {"types": ["secrets", "emails", "cards", "faces"], "style": "blur" or "box"}. Faces are faces shown on the screen (never the camera overlay) and are off unless listed. Regions are added after your own redactions, within the same limits. If detection can't run, the video fails rather than being published unredacted. With "review": true it only looks: nothing is hidden, encoded, published or metered, and the video stops as NEEDS_REVIEW with what was found (status: review); confirm with a reprocess that sends the regions to apply. When it looks for secrets, the keys in a known format it recognises are also listed by format and last four characters (status: autoRedaction.secrets or review.secrets; webhook: video.secrets_found), so they can be rotated: hiding a key protects viewers, but it was on screen while recording.
One of:booleanobjecttypesarray of stringdefault["secrets", "emails", "cards"]stylestringone of"blur","box"· default"blur"reviewbooleanStop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess
defaultfalse
metadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
editobjectrequired- max items
50videoIdstringrequiredOne of your finished (SUCCEEDED) videos; may repeat
pattern"^[a-f0-9]{32}$"startnumberSeconds into that video
min0· default0endnumberSeconds into that video; null = to its end
transitionobjectHow this clip starts from the previous one (hard cut if omitted; not on the first clip)
typestringone of"fade","fadeblack"· default"fade"secondsnumbermin0.1· max3· default0.5
volumenumberThis clip's own sound: 1 as recorded, 0 mutes it (for example under music), 2 twice as loud
min0· max2· default1
audioarray of AudioTrack1-4 audio files (any format FFmpeg reads, up to 200 MB each) mixed over the clips; uploaded after the edit is created. Every plan, test mode too. Not with an edit token (403 EDIT_TOKEN_SCOPE)
max items4fileNamestringrequiredThe file's name (shown in status; never a storage key)
min length1· max length200sizeBytesintegerrequiredThe file's size in bytes (up to 200 MB); decides the part count
min1· max209715200atnumberSeconds on the edit's timeline where the track starts; must be before the edit ends
min0· default0startnumberSeconds into the file: where to start reading it
min0· default0endnumberSeconds into the file; null = to its end. At least 0.1 s after start
volumenumber1 as in the file, 0.4 quiet music under speech, 2 twice as loud
min0· max2· default1fadeInnumberSeconds of fade at the start of the track
min0· max10· default0fadeOutnumberSeconds of fade at the end of the track (where it stops, or where the video ends if it was cut there)
min0· max10· default0loopbooleanRepeat the chosen part (start to end) until the video ends; the part must be at most 10 minutes long
defaultfalseduckbooleanLower this track while the clips have sound (sidechain compression), so speech in the clips stays clear over music
defaultfalse
fileNamestringDisplay name (default: Edit of N clips)
maxHeightintegerone of720,1080,1440,2160· default1080redactionsarray of RedactionOn the edit's own timeline
max items20typestringrequiredbox = solid black bar
one of"blur","box"shapestringone of"rect","ellipse"· default"rect"xnumberFraction of the final frame width
min0· max1ynumbermin0· max1wnumbermin0· max1hnumbermin0· max1startnumberSeconds
default0endnumberSeconds; null = until the end
trackarray of objectKeyframes for moving content, in time order; the region glides between them (instead of x, y, w, h)
max items50timenumberrequiredSeconds on the output timeline
min0xnumberrequiredmin0· max1ynumberrequiredmin0· max1wnumberrequiredmin0· max1hnumberrequiredmin0· max1
overlaysarray of Overlay1-4 images drawn over the edit, in order (later ones on top), on the edit's own timeline (a start at or after the edit's end is a 400). Uploaded after the edit is created (file overlays[n]). Not with an edit token (403 EDIT_TOKEN_SCOPE)
max items4fileNamestringrequiredThe image's name (shown in status; never a storage key)
min length1· max length200sizeBytesintegerrequiredThe file's size in bytes (up to 10 MB); decides the part count (always 1)
min1· max10485760positionstringWhere the image sits, inside the frame. Not with x/y
one of"top-left","top","top-right","left","center","right","bottom-left","bottom","bottom-right"· default"bottom-right"marginnumberWith position: the gap to the edges it's placed against, as a fraction of the frame's shorter side
min0· max0.25· default0.03xnumberInstead of position: the image's left edge, as a fraction of the frame's width. With y; not with position or margin. Anything past the right edge is cut off
min0· max1ynumberInstead of position: the image's top edge, as a fraction of the frame's height. With x. Anything past the bottom edge is cut off
min0· max1wnumberThe image's width as a fraction of the frame's width (the height follows). Not with h
min0· max1· default0.15hnumberInstead of w: the image's height as a fraction of the frame's height (the width follows)
min0· max1startnumberSeconds on the video's timeline (after a trim; an edit's own timeline) where it appears
min0· default0endnumberSeconds where it goes; null = to the end. At least 0.1 s after start
opacitynumber1 as the image is; lower is more see-through (multiplies the image's own transparency)
min0· max1· default1fadeInnumberSeconds of fade at the start of its time window
min0· max10· default0fadeOutnumberSeconds of fade at the end of its time window (with end null, ending where the video ends)
min0· max10· default0
captionsCaptionsOptionPro and Scale. Speech-to-text subtitles: true detects the spoken language, or {"language": "es"} sets it (ISO 639-1 code). Adds WebVTT/SRT/text files and a subtitle track to the HLS stream. Each captioned minute counts as 2 extra processing minutes (minimum 1). At most 4 hours of video, and 1,200 captioned minutes per account per day.
One of:booleanobjectlanguagestring
autoRedactAutoRedactOptionPro and Scale. Before encoding, find what shouldn't be seen on screen and hide it, wherever and whenever it appears: true finds secrets (API keys and tokens), email addresses and card numbers and blurs them; or choose {"types": ["secrets", "emails", "cards", "faces"], "style": "blur" or "box"}. Faces are faces shown on the screen (never the camera overlay) and are off unless listed. Regions are added after your own redactions, within the same limits. If detection can't run, the video fails rather than being published unredacted. With "review": true it only looks: nothing is hidden, encoded, published or metered, and the video stops as NEEDS_REVIEW with what was found (status: review); confirm with a reprocess that sends the regions to apply. When it looks for secrets, the keys in a known format it recognises are also listed by format and last four characters (status: autoRedaction.secrets or review.secrets; webhook: video.secrets_found), so they can be rotated: hiding a key protects viewers, but it was on screen while recording.
One of:booleanobjecttypesarray of stringdefault["secrets", "emails", "cards"]stylestringone of"blur","box"· default"blur"reviewbooleanStop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess
defaultfalse
metadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
Responses
201Created
{
"videoId": "string",
"partSize": 0,
"partCount": 0,
"camera": {
"partSize": 0,
"partCount": 0
},
"clips": 0,
"audio": [
{
"file": "audio[0]",
"fileName": "string",
"partSize": 0,
"partCount": 0
}
],
"overlays": [
{
"file": "overlays[0]",
"fileName": "string",
"partSize": 0,
"partCount": 0
}
],
"status": "UPLOADING",
"statusPath": "string"
}Schema
videoIdstringpartSizeintegerUploads only. Bytes per part (last part may be smaller)
partCountintegerUploads only
cameraobjectpartSizeintegerpartCountinteger
clipsintegerEdits only
audioarray of objectEdits with audio tracks only (status UPLOADING): one entry per file, in the request's order. Upload each with POST /videos/{videoId}/parts and its file name (audio[0], audio[1]...), then POST /videos/{videoId}/complete with {} to start the render
filestringThe file name to send in the parts request
fileNamestringpartSizeintegerpartCountinteger
overlaysarray of objectUploads and edits with overlays only: one entry per image, in the request's order. Upload each with POST /videos/{videoId}/parts and its file name (overlays[0], overlays[1]...) and PUT, then POST /videos/{videoId}/complete (an upload: the usual body; an edit: {}). A dry run (200) instead answers each image's checked settings, every default filled in, plus file, partSize and partCount
filestringThe file name to send in the parts request
fileNamestringpartSizeintegerpartCountintegerAlways 1 (an image is at most 10 MB)
statusstringUPLOADING for an upload, or an edit with audio tracks or overlays; SUBMITTED for an edit without them (it starts at once)
statusPathstring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
403Plan does not allow this feature (e.g. streaming, 4K, screen recording) or plan limit reached (trials and plans that stop at their limits), or no plan (PLAN_REQUIRED); or overlays sent with an upload token (UPLOAD_TOKEN_SCOPE) or edit token (EDIT_TOKEN_SCOPE)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404Edit: a clip's videoId is not yours
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
409Edit: a clip's video has not finished processing
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429Rate limit or daily video limit
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId createVideo
GET/videos/{videoId}Status, timing and (when finished) download, playback and streaming links
Parameters
| Name | In | Type | Description |
|---|---|---|---|
videoIdrequired | path | string | |
linkTtl | query | integer | Seconds the playback and streaming links last (default max(1800, 2x the video's length), at most 86400) |
Responses
200Current state
{
"videoId": "string",
"status": "UPLOADING",
"mode": "live",
"deletesAt": 0,
"effective": {
"maxHeight": 480,
"maxSeconds": 60,
"streaming": false
},
"readyAt": 0,
"downloadUrl": "string",
"posterUrl": "string",
"thumbnail": {
"source": "auto",
"index": 0,
"time": 0,
"crop": {
"x": 0.21875,
"y": 0,
"w": 0.5625,
"h": 1
},
"status": "processing",
"error": "string",
"updatedAt": 0
},
"playbackUrl": "string",
"posterPlaybackUrl": "string",
"playbackExpiresAt": 0,
"embed": {
"videoId": "string",
"enabled": false,
"url": "string",
"iframe": "string"
},
"streamUrl": "string",
"streamExpiresAt": 0,
"captions": {
"status": "processing",
"language": "string",
"reason": "string",
"vttUrl": "string",
"srtUrl": "string",
"txtUrl": "string"
},
"review": {
"types": [
"string"
],
"style": "blur",
"found": 0,
"proposed": [],
"secrets": [
{
"type": "aws_access_key_id",
"name": "string",
"lastFour": "string",
"start": 0,
"end": 0,
"appearances": 0
}
],
"redactions": [
{
"type": "blur",
"shape": "rect",
"x": 0,
"y": 0,
"w": 0,
"h": 0,
"start": 0,
"end": 0,
"track": [
{
"time": 0,
"x": 0,
"y": 0,
"w": 0,
"h": 0
}
]
}
],
"durationSeconds": 0,
"previewUrl": "string",
"linksExpireInSeconds": 0
},
"autoRedaction": {
"types": [
"string"
],
"style": "blur",
"found": 0,
"secrets": [
{
"type": "aws_access_key_id",
"name": "string",
"lastFour": "string",
"start": 0,
"end": 0,
"appearances": 0
}
],
"regions": [
{
"kind": "secret",
"type": "blur",
"shape": "rect",
"start": 0,
"end": 0,
"x": 0,
"y": 0,
"w": 0,
"h": 0,
"track": [
{}
]
}
]
},
"edit": {
"clips": [
{
"videoId": "string",
"start": 0,
"end": 0,
"transition": {
"type": "fade",
"seconds": 0.5
},
"volume": 1
}
],
"audio": [
{
"fileName": "string",
"sizeBytes": 0,
"at": 0,
"start": 0,
"end": 0,
"volume": 1,
"fadeIn": 0,
"fadeOut": 0,
"loop": false,
"duck": false
}
]
},
"trim": {
"start": 0,
"end": 0
},
"overlays": [
{
"fileName": "string",
"sizeBytes": 0,
"position": "bottom-right",
"margin": 0.03,
"x": 0,
"y": 0,
"w": 0.15,
"h": 0,
"start": 0,
"end": 0,
"opacity": 1,
"fadeIn": 0,
"fadeOut": 0
}
],
"startedAt": 0,
"stoppedAt": 0,
"progress": {
"planned": false,
"chunksTotal": 0,
"chunksDone": 0,
"audioDone": false,
"videoSeconds": 0,
"topRendition": "1080p"
},
"downloadExpiresInSeconds": 0,
"result": {
"jobId": "string",
"downloadAvailable": false,
"streamAvailable": false
},
"processing": {
"passthrough": false,
"remuxed": [
"1080p"
],
"encoded": [
"720p"
]
}
}Schema
videoIdstringstatusstringNEEDS_REVIEW: a review run (autoRedact.review) stopped after looking; see review
one of"UPLOADING","READY_TO_START","RUNNING","SUCCEEDED","NEEDS_REVIEW","FAILED","TIMED_OUT","ABORTED","PENDING_REDRIVE","HISTORY_UNAVAILABLE"modestringtest for a test-mode video (free, marked TEST, deleted after 24 hours)
one of"live","test"deletesAtintegerTest videos only: Unix time they are deleted (about 24 hours after they were made)
effectiveobjectTest videos only: what the video is really made with, whatever was asked for
maxHeightintegermaxSecondsintegerstreamingboolean
readyAtnumberUnix time the output was published
downloadUrlstringPre-signed MP4 link (SUCCEEDED only)
posterUrlstringPre-signed still frame for thumbnails (SUCCEEDED only): the automatic frame, or the one chosen with POST /videos/{videoId}/thumbnail
thumbnailThumbnailChoiceThe current thumbnail
sourcestringframe: a moment chosen with time; custom: your image
one of"auto","candidate","frame","custom"indexintegertimenumberSeconds into the video
cropThumbnailCropThe part of the picture to keep, as fractions of its width and height from the top-left corner (x + w and y + h at most 1; w and h at least 0.02)
xnumberrequiredmin0· max1ynumberrequiredmin0· max1wnumberrequiredmin0.02· max1hnumberrequiredmin0.02· max1
statusstringOnly for a time or a crop, which a job makes
one of"processing","ready","failed"errorstringWhy it failed (status failed)
updatedAtinteger
playbackUrlstringSigned, seekable MP4 link for players (every plan). Lasts max(30 min, 2x the length), at most 24 h, or linkTtl; locked to the account's allowed domains
posterPlaybackUrlstringThe poster frame through the same signed link
playbackExpiresAtnumberUnix time the playback links expire
embedEmbedvideoIdstringenabledbooleanurlstringhttps://<site>/embed/<videoId>?t=<token>; add autoplay=1, loop=1, cc=1, start=<seconds>
iframestringReady-to-paste <iframe> code
streamUrlstringHLS master playlist link (Pro and Scale plans only); same lifetime and domain lock as playbackUrl
streamExpiresAtnumberUnix time the streaming link expires
captionsobjectOnly for videos made with captions. The video is published first; captions follow.
statusstringone of"processing","ready","skipped","failed"languagestringSpoken language (detected unless requested)
reasonstringWhy captions were skipped
vttUrlstringWebVTT file (valid 15 minutes)
srtUrlstringSubRip file (valid 15 minutes)
txtUrlstringPlain-text transcript (valid 15 minutes)
reviewobjectNEEDS_REVIEW only (autoRedact with review: true): what auto-redaction found, waiting to be confirmed. Confirm with POST /videos/{id}/reprocess sending the proposed regions you accept as redactions (as they came: kind and frameUrl are ignored), plus your own redactions again; nothing was hidden or published, and this video can then be deleted.
typesarray of stringstylestringone of"blur","box"foundintegerThings found (several can share one region when there are many)
proposedarray of anyEach region auto-redaction would apply, with a picture of the frame it was first seen in
secretsarray of FoundSecretWhen it looked for secrets: the keys in a known format it recognised (empty if none). Rotate them whatever you hide: they were on screen while recording.
typestringThe format
one of"aws_access_key_id","aws_temporary_access_key_id","stripe_live_secret_key","stripe_test_secret_key","stripe_live_restricted_key","stripe_test_restricted_key","webhook_signing_secret","github_token","slack_token","google_api_key","anthropic_api_key","openai_api_key","sk_api_key","video_piper_api_key","video_piper_test_api_key","video_piper_token","jwt","private_key"namestringThe format in words, e.g. Stripe live secret key
lastFourstringThe last four characters as read from the screen; null for a private key (its header says nothing about it) and for a JWT read without its signature
startnumberSeconds on the video's timeline from which it is hidden
endnumber...and until which (null: to the end of the video)
appearancesintegerHow many separate times it was on screen
redactionsarray of RedactionThe request's own redactions (not applied either; send them again)
typestringrequiredbox = solid black bar
one of"blur","box"shapestringone of"rect","ellipse"· default"rect"xnumberFraction of the final frame width
min0· max1ynumbermin0· max1wnumbermin0· max1hnumbermin0· max1startnumberSeconds
default0endnumberSeconds; null = until the end
trackarray of objectKeyframes for moving content, in time order; the region glides between them (instead of x, y, w, h)
max items50timenumberrequiredSeconds on the output timeline
min0xnumberrequiredmin0· max1ynumberrequiredmin0· max1wnumberrequiredmin0· max1hnumberrequiredmin0· max1
durationSecondsnumberpreviewUrlstringThe upload itself (valid 15 minutes)
linksExpireInSecondsinteger
autoRedactionobjectOnly for videos made with autoRedact: what was looked for, each region hidden (never the text read) and the keys it recognised, to rotate
typesarray of stringstylestringone of"blur","box"foundintegerThings found (several can share one region when there are many)
secretsarray of FoundSecretWhen it looked for secrets: the keys in a known format it recognised (empty if none; absent on videos processed before they were recorded). They are hidden in this video, but were on screen while recording and are still in the original: rotate them.
typestringThe format
one of"aws_access_key_id","aws_temporary_access_key_id","stripe_live_secret_key","stripe_test_secret_key","stripe_live_restricted_key","stripe_test_restricted_key","webhook_signing_secret","github_token","slack_token","google_api_key","anthropic_api_key","openai_api_key","sk_api_key","video_piper_api_key","video_piper_test_api_key","video_piper_token","jwt","private_key"namestringThe format in words, e.g. Stripe live secret key
lastFourstringThe last four characters as read from the screen; null for a private key (its header says nothing about it) and for a JWT read without its signature
startnumberSeconds on the video's timeline from which it is hidden
endnumber...and until which (null: to the end of the video)
appearancesintegerHow many separate times it was on screen
regionsarray of objectkindstringone of"secret","email","card","face","mixed"typestringone of"blur","box"shapestringone of"rect","ellipse"startnumberendnumberxnumberynumberwnumberhnumbertrackarray of objectKeyframes when the item moved
editobjectEdits only - how the video was cut, exactly as requested
clipsarray of ClipvideoIdstringrequiredOne of your finished (SUCCEEDED) videos; may repeat
pattern"^[a-f0-9]{32}$"startnumberSeconds into that video
min0· default0endnumberSeconds into that video; null = to its end
transitionobjectHow this clip starts from the previous one (hard cut if omitted; not on the first clip)
typestringone of"fade","fadeblack"· default"fade"secondsnumbermin0.1· max3· default0.5
volumenumberThis clip's own sound: 1 as recorded, 0 mutes it (for example under music), 2 twice as loud
min0· max2· default1
audioarray of AudioTrackOnly for an edit with audio tracks - each track's settings (never where the file is stored)
fileNamestringrequiredThe file's name (shown in status; never a storage key)
min length1· max length200sizeBytesintegerrequiredThe file's size in bytes (up to 200 MB); decides the part count
min1· max209715200atnumberSeconds on the edit's timeline where the track starts; must be before the edit ends
min0· default0startnumberSeconds into the file: where to start reading it
min0· default0endnumberSeconds into the file; null = to its end. At least 0.1 s after start
volumenumber1 as in the file, 0.4 quiet music under speech, 2 twice as loud
min0· max2· default1fadeInnumberSeconds of fade at the start of the track
min0· max10· default0fadeOutnumberSeconds of fade at the end of the track (where it stops, or where the video ends if it was cut there)
min0· max10· default0loopbooleanRepeat the chosen part (start to end) until the video ends; the part must be at most 10 minutes long
defaultfalseduckbooleanLower this track while the clips have sound (sidechain compression), so speech in the clips stays clear over music
defaultfalse
trimTrimKeep only part of the upload (frame-accurate, no extra encode). Redaction times are on the trimmed timeline.
startnumbermin0· default0endnumbernull = to the end
overlaysarray of OverlayOnly for videos made with overlays - each image's settings as they apply, in drawing order, without sizeBytes (never where the file is stored)
fileNamestringrequiredThe image's name (shown in status; never a storage key)
min length1· max length200sizeBytesintegerrequiredThe file's size in bytes (up to 10 MB); decides the part count (always 1)
min1· max10485760positionstringWhere the image sits, inside the frame. Not with x/y
one of"top-left","top","top-right","left","center","right","bottom-left","bottom","bottom-right"· default"bottom-right"marginnumberWith position: the gap to the edges it's placed against, as a fraction of the frame's shorter side
min0· max0.25· default0.03xnumberInstead of position: the image's left edge, as a fraction of the frame's width. With y; not with position or margin. Anything past the right edge is cut off
min0· max1ynumberInstead of position: the image's top edge, as a fraction of the frame's height. With x. Anything past the bottom edge is cut off
min0· max1wnumberThe image's width as a fraction of the frame's width (the height follows). Not with h
min0· max1· default0.15hnumberInstead of w: the image's height as a fraction of the frame's height (the width follows)
min0· max1startnumberSeconds on the video's timeline (after a trim; an edit's own timeline) where it appears
min0· default0endnumberSeconds where it goes; null = to the end. At least 0.1 s after start
opacitynumber1 as the image is; lower is more see-through (multiplies the image's own transparency)
min0· max1· default1fadeInnumberSeconds of fade at the start of its time window
min0· max10· default0fadeOutnumberSeconds of fade at the end of its time window (with end null, ending where the video ends)
min0· max10· default0
startedAtnumberUnix time processing started
stoppedAtnumberprogressobjectplannedbooleanchunksTotalintegerchunksDoneintegeraudioDonebooleanvideoSecondsnumbertopRenditionstring
downloadExpiresInSecondsintegerresultobjectSUCCEEDED only - publication status
jobIdstringdownloadAvailablebooleanstreamAvailablebooleanWhether a playable streaming link exists
processingobjectSUCCEEDED only - which outputs were stream-copied from the upload and which were encoded
passthroughbooleanTrue when at least one output was copied instead of re-encoded
remuxedarray of stringencodedarray of string
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId getVideo
PATCH/videos/{videoId}Update a video's title, description or metadata (null clears a field or a metadata key)
Parameters
| Name | In | Type | Description |
|---|---|---|---|
videoIdrequired | path | string |
Request body required
{
"title": "Quarterly update",
"metadata": {
"courseId": "algebra-2",
"archived": null
}
}Schema
titlestring | nullOne line; null or empty clears it
max length200descriptionstring | nullLine breaks kept; null or empty clears it
max length5000metadataobject
Responses
200Updated
{
"videoId": "string",
"metadata": {}
}Schema
videoIdstringmetadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
409IDEMPOTENCY_KEY_REUSED, IDEMPOTENCY_IN_PROGRESS, or other conflict
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId updateVideo
DELETE/videos/{videoId}Remove a video (irreversible; stops billing its storage)
Cancels any running processing, removes outputs and work files. The original upload is removed unless another video was reprocessed from it and still exists. Usage records are kept for billing history.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
videoIdrequired | path | string |
Responses
200Deleted
{
"videoId": "string",
"deleted": true,
"originalDeleted": false,
"freedBytes": 0
}Schema
videoIdstringdeletedbooleanoriginalDeletedbooleanWhether the original upload was also removed
freedBytesintegerTotal bytes removed from storage
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId deleteVideo
PUT/videos/{videoId}/embedTurn the embeddable player on or off for a video
On: makes a random token and returns the embed URL and <iframe> code (calling it again keeps the same code). Off: deletes the token; turning it on again makes a new code, so a leaked one can be revoked. The embed page plays the video with the <video-piper> player, keeps its links fresh, and only appears inside the account's allowed domains if set (CSP frame-ancestors). Pages are cached up to 5 minutes.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
videoIdrequired | path | string |
Request body required
{
"enabled": false
}Schema
enabledbooleanrequired
Responses
200The embed state
{
"videoId": "string",
"enabled": false,
"url": "string",
"iframe": "string"
}Schema
videoIdstringenabledbooleanurlstringhttps://<site>/embed/<videoId>?t=<token>; add autoplay=1, loop=1, cc=1, start=<seconds>
iframestringReady-to-paste <iframe> code
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId setEmbed
GET/videos/{videoId}/chaptersA video's chapters
The owner's chapters. GET /videos/{videoId} gives them too, with chaptersUrl (the signed WebVTT chapters file) beside the playback links.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
videoIdrequired | path | string |
Responses
200The chapters
{
"videoId": "string",
"chapters": [
{
"start": 0,
"title": "string"
}
],
"chaptersUrl": "string"
}Schema
videoIdstringchaptersarray of ChapterstartnumberrequiredSeconds into the video where the chapter begins.
min0titlestringrequiredOne line.
min length1· max length100
chaptersUrlstring (uri)Signed WebVTT chapters file (same lifetime and allowed domains as playbackUrl). In GET /videos/{videoId}, with the playback links.
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId getChapters
PUT/videos/{videoId}/chaptersSet a finished video's chapters
Replaces the video's chapters (an empty list removes them). Each runs until the next one starts, the last to the end. Up to 100; start in seconds, before the end of the video and at least 1 s after the one before; title one line of 1-100 characters. Published as a WebVTT chapters file (chaptersUrl) that the <video-piper> player shows as a Chapters menu. Nothing is re-encoded. 409 NOT_READY until the video has finished processing.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
videoIdrequired | path | string |
Request body required
{
"chapters": [
{
"start": 0,
"title": "string"
}
]
}Schema
- max items
100startnumberrequiredSeconds into the video where the chapter begins.
min0titlestringrequiredOne line.
min length1· max length100
Responses
200The saved chapters
{
"videoId": "string",
"chapters": [
{
"start": 0,
"title": "string"
}
],
"chaptersUrl": "string"
}Schema
videoIdstringchaptersarray of ChapterstartnumberrequiredSeconds into the video where the chapter begins.
min0titlestringrequiredOne line.
min length1· max length100
chaptersUrlstring (uri)Signed WebVTT chapters file (same lifetime and allowed domains as playbackUrl). In GET /videos/{videoId}, with the playback links.
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
409The video hasn't finished processing (NOT_READY)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId setChapters
DELETE/videos/{videoId}/chaptersRemove a video's chapters
Parameters
| Name | In | Type | Description |
|---|---|---|---|
videoIdrequired | path | string |
Responses
200No chapters
{
"videoId": "string",
"chapters": [
{
"start": 0,
"title": "string"
}
],
"chaptersUrl": "string"
}Schema
videoIdstringchaptersarray of ChapterstartnumberrequiredSeconds into the video where the chapter begins.
min0titlestringrequiredOne line.
min length1· max length100
chaptersUrlstring (uri)Signed WebVTT chapters file (same lifetime and allowed domains as playbackUrl). In GET /videos/{videoId}, with the playback links.
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId deleteChapters
GET/videos/{videoId}/thumbnailsThumbnail choices for a finished video
The candidate frames saved when the video was published (index 0 is the automatic poster; up to six more are spread through the video) with pre-signed links valid for 15 minutes, plus the current choice. Videos published before thumbnail choices existed return no candidates; you can still upload your own image.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
videoIdrequired | path | string |
Responses
200OK
{
"videoId": "string",
"current": {
"source": "auto",
"index": 0,
"time": 0,
"crop": {
"x": 0.21875,
"y": 0,
"w": 0.5625,
"h": 1
},
"status": "processing",
"error": "string",
"updatedAt": 0
},
"posterUrl": "string",
"durationSeconds": 0,
"playbackUrl": "string",
"linkExpiresInSeconds": 900,
"candidates": [
{
"index": 2,
"time": 24.0,
"url": "string"
}
]
}Schema
videoIdstringcurrentThumbnailChoiceThe current thumbnail
sourcestringframe: a moment chosen with time; custom: your image
one of"auto","candidate","frame","custom"indexintegertimenumberSeconds into the video
cropThumbnailCropThe part of the picture to keep, as fractions of its width and height from the top-left corner (x + w and y + h at most 1; w and h at least 0.02)
xnumberrequiredmin0· max1ynumberrequiredmin0· max1wnumberrequiredmin0.02· max1hnumberrequiredmin0.02· max1
statusstringOnly for a time or a crop, which a job makes
one of"processing","ready","failed"errorstringWhy it failed (status failed)
updatedAtinteger
posterUrlstringdurationSecondsnumberThe video's length, for choosing a time
playbackUrlstringA signed link to play the video (locked to your allowed domains), for picking a moment
linkExpiresInSecondsintegercandidatesarray of objectindexintegertimenumberurlstring
409The video isn't ready yet (NOT_READY)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId listThumbnails
POST/videos/{videoId}/thumbnailChoose the video's thumbnail (a frame, any moment, or your own image), optionally cropped
Send a candidate index from GET /videos/{videoId}/thumbnails (0 goes back to the automatic poster), your own JPEG or PNG image, base64-encoded (at most 2 MB, 16-8192 pixels per side; the content is checked, not just the declared type), or a time: any moment of the video. Any of them can add a crop, fractions of the picture from its top-left corner. A candidate or image without a crop applies at once (200); a time or a crop is made by a short job (202, current.status processing): poll GET /videos/{videoId}/thumbnails until current.status is ready or failed. The choice replaces posterUrl everywhere: status, listings and webhooks.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
videoIdrequired | path | string |
Request body required
{
"candidate": 2,
"crop": {
"x": 0.21875,
"y": 0,
"w": 0.5625,
"h": 1
}
}Schema
candidateintegerrequiredcropThumbnailCropThe part of the picture to keep, as fractions of its width and height from the top-left corner (x + w and y + h at most 1; w and h at least 0.02)
xnumberrequiredmin0· max1ynumberrequiredmin0· max1wnumberrequiredmin0.02· max1hnumberrequiredmin0.02· max1
imagestringrequiredThe image file's bytes
contentTypestringrequiredone of"image/jpeg","image/png"cropThumbnailCropThe part of the picture to keep, as fractions of its width and height from the top-left corner (x + w and y + h at most 1; w and h at least 0.02)
xnumberrequiredmin0· max1ynumberrequiredmin0· max1wnumberrequiredmin0.02· max1hnumberrequiredmin0.02· max1
timenumberrequiredSeconds into the video, from 0 to under durationSeconds
cropThumbnailCropThe part of the picture to keep, as fractions of its width and height from the top-left corner (x + w and y + h at most 1; w and h at least 0.02)
xnumberrequiredmin0· max1ynumberrequiredmin0· max1wnumberrequiredmin0.02· max1hnumberrequiredmin0.02· max1
Responses
202A time or a crop: a job is making the thumbnail (usually within a minute)
{
"videoId": "string",
"requestId": "string",
"current": {
"source": "auto",
"index": 0,
"time": 0,
"crop": {
"x": 0.21875,
"y": 0,
"w": 0.5625,
"h": 1
},
"status": "processing",
"error": "string",
"updatedAt": 0
}
}Schema
videoIdstringrequestIdstringcurrentThumbnailChoiceThe current thumbnail
sourcestringframe: a moment chosen with time; custom: your image
one of"auto","candidate","frame","custom"indexintegertimenumberSeconds into the video
cropThumbnailCropThe part of the picture to keep, as fractions of its width and height from the top-left corner (x + w and y + h at most 1; w and h at least 0.02)
xnumberrequiredmin0· max1ynumberrequiredmin0· max1wnumberrequiredmin0.02· max1hnumberrequiredmin0.02· max1
statusstringOnly for a time or a crop, which a job makes
one of"processing","ready","failed"errorstringWhy it failed (status failed)
updatedAtinteger
200The new thumbnail
{
"videoId": "string",
"current": {
"source": "auto",
"index": 0,
"time": 0,
"crop": {
"x": 0.21875,
"y": 0,
"w": 0.5625,
"h": 1
},
"status": "processing",
"error": "string",
"updatedAt": 0
},
"posterUrl": "string"
}Schema
videoIdstringcurrentThumbnailChoiceThe current thumbnail
sourcestringframe: a moment chosen with time; custom: your image
one of"auto","candidate","frame","custom"indexintegertimenumberSeconds into the video
cropThumbnailCropThe part of the picture to keep, as fractions of its width and height from the top-left corner (x + w and y + h at most 1; w and h at least 0.02)
xnumberrequiredmin0· max1ynumberrequiredmin0· max1wnumberrequiredmin0.02· max1hnumberrequiredmin0.02· max1
statusstringOnly for a time or a crop, which a job makes
one of"processing","ready","failed"errorstringWhy it failed (status failed)
updatedAtinteger
posterUrlstring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
409Not ready yet (NOT_READY), or made before thumbnail choices existed (NO_CANDIDATES)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
413The image is larger than 2 MB (TOO_LARGE)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId chooseThumbnail
POST/upload-tokensA short-lived token a browser can use to upload one video (no API key in the page)
Call from your server (API key) and pass the token to the page, e.g. <video-piper-recorder upload-token=...>. The token can create one video by upload, upload its parts, complete or abort it, send heartbeats and read its status; anything else answers 403 UPLOAD_TOKEN_SCOPE, and a second video 409 UPLOAD_TOKEN_USED (aborting frees it for a retake). Its settings are applied on the server whatever the browser sends.
Request body
{
"expiresIn": 3600,
"maxBytes": 0,
"maxSeconds": 0,
"maxHeight": 720,
"captions": false,
"autoRedact": false,
"metadata": {}
}Schema
expiresInintegerSeconds to start the upload; once started, the token works for it for 24 hours
min60· max86400· default3600maxBytesintegerLargest upload (default: the account's upload limit)
maxSecondsintegerThe video is trimmed to this length
min5· max28800maxHeightintegerone of720,1080,1440,2160captionsCaptionsOptionPro and Scale. Speech-to-text subtitles: true detects the spoken language, or {"language": "es"} sets it (ISO 639-1 code). Adds WebVTT/SRT/text files and a subtitle track to the HLS stream. Each captioned minute counts as 2 extra processing minutes (minimum 1). At most 4 hours of video, and 1,200 captioned minutes per account per day.
One of:booleanobjectlanguagestring
autoRedactAutoRedactOptionPro and Scale. Before encoding, find what shouldn't be seen on screen and hide it, wherever and whenever it appears: true finds secrets (API keys and tokens), email addresses and card numbers and blurs them; or choose {"types": ["secrets", "emails", "cards", "faces"], "style": "blur" or "box"}. Faces are faces shown on the screen (never the camera overlay) and are off unless listed. Regions are added after your own redactions, within the same limits. If detection can't run, the video fails rather than being published unredacted. With "review": true it only looks: nothing is hidden, encoded, published or metered, and the video stops as NEEDS_REVIEW with what was found (status: review); confirm with a reprocess that sends the regions to apply. When it looks for secrets, the keys in a known format it recognises are also listed by format and last four characters (status: autoRedaction.secrets or review.secrets; webhook: video.secrets_found), so they can be rotated: hiding a key protects viewers, but it was on screen while recording.
One of:booleanobjecttypesarray of stringdefault["secrets", "emails", "cards"]stylestringone of"blur","box"· default"blur"reviewbooleanStop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess
defaultfalse
metadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
Responses
201The token (shown once; only its hash is stored)
{
"uploadToken": "vpu_…",
"tokenId": "string",
"expiresAt": 0,
"policy": {}
}Schema
uploadTokenstringtokenIdstringexpiresAtintegerpolicyobject
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
403PLAN_UPGRADE_REQUIRED (captions) or UPLOAD_TOKEN_SCOPE (a token can't make tokens)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId createUploadToken
POST/edit-tokensA short-lived token a browser can use to edit some of your videos into one new video (no API key in the page)
Call from your server (API key, or a signed-in session) and pass the token to the page, e.g. <video-piper-editor token=...>. Every video must be yours and finished. With Authorization: Bearer vpe_... the browser may only read the allowed videos' lengths, signed playback links, posters and filmstrip frames (GET /edit-session), create ONE edit whose clips are those videos only (POST /videos with edit; at most maxSeconds long; a second edit answers 409 EDIT_TOKEN_USED), and read the status of the video it made (GET /videos/{videoId}). Anything else, including making tokens, answers 403 EDIT_TOKEN_SCOPE. The token's title and metadata are applied on the server whatever the browser sends; the new video is processed and billed like any edit made with your key, on whichever plan allows edits. An edit token can't be used with an upload token's or an API key's routes, and counts toward your key's rate limits.
Request body required
{
"videoIds": [
"string"
],
"expiresIn": 900,
"maxSeconds": 0,
"title": "string",
"metadata": {}
}Schema
videoIdsarray of stringrequiredYour finished videos the editor may use
max items20expiresInintegerSeconds the token works; once its edit is created it works for that video's status for 24 hours
min60· max86400· default900maxSecondsintegerThe longest the result may be (after crossfades)
min1· max28800titlestringThe new video's name (the browser can't change it)
max length200metadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
Responses
201The token (shown once; only its hash is stored)
{
"token": "vpe_…",
"expiresAt": 0,
"videoIds": [
"string"
]
}Schema
tokenstringexpiresAtintegervideoIdsarray of string
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
403EDIT_TOKEN_SCOPE or UPLOAD_TOKEN_SCOPE (a token can't make tokens)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: a video isn't yours (details name each one)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
409EDIT_SOURCE_NOT_READY: a video hasn't finished processing
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId createEditToken
POST/thumbnail-tokensA short-lived token a browser can use to choose one video's thumbnail (no API key in the page)
Call from your server (API key, or a signed-in session) and pass the token to the page, e.g. <video-piper-thumbnail token=... video-id=...>. The video must be yours and finished. With Authorization: Bearer vpt_... the browser may only call GET /videos/{videoId}/thumbnails and POST /videos/{videoId}/thumbnail for that video, as often as it likes until the token expires; another video answers 404 and anything else, including making tokens, 403 THUMBNAIL_TOKEN_SCOPE. Counts toward your key's rate limits.
Request body required
{
"videoId": "string",
"expiresIn": 900
}Schema
videoIdstringrequiredOne of your finished videos
expiresInintegerSeconds the token works
min60· max86400· default900
Responses
201The token (shown once; only its hash is stored)
{
"token": "vpt_…",
"expiresAt": 0,
"videoId": "string"
}Schema
tokenstringexpiresAtintegervideoIdstring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
403A token can't make tokens (UPLOAD_TOKEN_SCOPE, EDIT_TOKEN_SCOPE or THUMBNAIL_TOKEN_SCOPE)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: the video isn't yours
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
409NOT_READY: the video hasn't finished processing
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId createThumbnailToken
GET/edit-sessionWhat the editor needs to open (edit tokens only)
Only with an edit token (vpe_...); anything else answers 403 EDIT_TOKEN_SCOPE. Returns just the token's videos, in the token's order: length, size, a signed MP4 link (locked to your allowed domains), the poster and the filmstrip frames, and the token's maxSeconds and title. No names, metadata or other account data. Links last a few minutes to half an hour: ask again after refreshInSeconds.
Responses
200The videos
{
"videos": [
{
"videoId": "string",
"durationSeconds": 0,
"width": 0,
"height": 0,
"playbackUrl": "string",
"posterUrl": "string",
"thumbnails": [
{
"time": 0,
"url": "string"
}
]
}
],
"maxSeconds": 0,
"title": "string",
"refreshInSeconds": 0
}Schema
videosarray of objectvideoIdstringdurationSecondsnumberwidthintegerheightintegerplaybackUrlstringposterUrlstringthumbnailsarray of objecttimenumberurlstring
maxSecondsintegertitlestringrefreshInSecondsinteger
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
403EDIT_TOKEN_SCOPE (not an edit token)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404The token's videos are no longer available
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId getEditSession
Uploads
Send a file's bytes in parts with pre-signed URLs, then complete or abort the upload.
POST/videos/{videoId}/partsGet pre-signed upload URLs for parts
Parameters
| Name | In | Type | Description |
|---|---|---|---|
videoIdrequired | path | string |
Request body required
{
"partNumbers": [
1,
2
],
"file": "source",
"parts": [
{
"partNumber": 0,
"sizeBytes": 0
}
]
}Schema
partNumbersarray of integerFor normal uploads (1-100 per call)
filestringsource (the main file), camera (the second file of a screen + camera upload), overlays[0], overlays[1]... for the images of a video with overlays, or audio[0], audio[1]... for the audio files of an edit with audio tracks (as named in the create response)
pattern"^(source|camera|audio\\[[0-3]\\]|overlays\\[[0-3]\\])$"· default"source"partsarray of objectFor streaming uploads, each part with its exact size (>= 5 MiB except the last)
partNumberintegersizeBytesinteger
Responses
200URLs valid for 15 minutes; PUT the bytes with exactly sizeBytes as Content-Length
{
"parts": [
{
"partNumber": 0,
"sizeBytes": 0,
"url": "string"
}
],
"expiresInSeconds": 0
}Schema
partsarray of objectpartNumberintegersizeBytesintegerurlstring
expiresInSecondsinteger
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId getPartUrls
POST/videos/{videoId}/completeFinish the upload and start processing (optionally with redactions)
For an edit with audio tracks or overlays, call it with an empty body {} once every file is uploaded: it pins the files and starts the render. The edit's options were given when it was created, so any field here is a 400. For an upload with overlays, the usual body: it pins every image before the video's own file (409 UPLOAD_INCOMPLETE while one is missing parts). Safe to repeat.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
dryRun | query | boolean | Validate only: nothing is created or started (answers 200 with valid: true) |
videoIdrequired | path | string | |
Idempotency-Key | header | string | Unique key for idempotent requests: POST /videos, POST /videos/{id}/complete, POST /videos/{id}/reprocess. Same key with same request = replay of first response. Stored 24 hours. |
Request body
{
"redactions": [
{
"type": "blur",
"shape": "rect",
"x": 0,
"y": 0,
"w": 0,
"h": 0,
"start": 0,
"end": 0,
"track": [
{
"time": 0,
"x": 0,
"y": 0,
"w": 0,
"h": 0
}
]
}
],
"deleteOriginal": false,
"trim": {
"start": 0,
"end": 0
},
"captions": false,
"autoRedact": false,
"source": {
"sizeBytes": 0,
"partCount": 0
},
"camera": {
"sizeBytes": 0,
"partCount": 0
}
}Schema
redactionsarray of Redactionmax items20typestringrequiredbox = solid black bar
one of"blur","box"shapestringone of"rect","ellipse"· default"rect"xnumberFraction of the final frame width
min0· max1ynumbermin0· max1wnumbermin0· max1hnumbermin0· max1startnumberSeconds
default0endnumberSeconds; null = until the end
trackarray of objectKeyframes for moving content, in time order; the region glides between them (instead of x, y, w, h)
max items50timenumberrequiredSeconds on the output timeline
min0xnumberrequiredmin0· max1ynumberrequiredmin0· max1wnumberrequiredmin0· max1hnumberrequiredmin0· max1
deleteOriginalbooleanDelete the unredacted upload after the output is published
trimTrimKeep only part of the upload (frame-accurate, no extra encode). Redaction times are on the trimmed timeline.
startnumbermin0· default0endnumbernull = to the end
captionsCaptionsOptionPro and Scale. Speech-to-text subtitles: true detects the spoken language, or {"language": "es"} sets it (ISO 639-1 code). Adds WebVTT/SRT/text files and a subtitle track to the HLS stream. Each captioned minute counts as 2 extra processing minutes (minimum 1). At most 4 hours of video, and 1,200 captioned minutes per account per day.
One of:booleanobjectlanguagestring
autoRedactAutoRedactOptionPro and Scale. Before encoding, find what shouldn't be seen on screen and hide it, wherever and whenever it appears: true finds secrets (API keys and tokens), email addresses and card numbers and blurs them; or choose {"types": ["secrets", "emails", "cards", "faces"], "style": "blur" or "box"}. Faces are faces shown on the screen (never the camera overlay) and are off unless listed. Regions are added after your own redactions, within the same limits. If detection can't run, the video fails rather than being published unredacted. With "review": true it only looks: nothing is hidden, encoded, published or metered, and the video stops as NEEDS_REVIEW with what was found (status: review); confirm with a reprocess that sends the regions to apply. When it looks for secrets, the keys in a known format it recognises are also listed by format and last four characters (status: autoRedaction.secrets or review.secrets; webhook: video.secrets_found), so they can be rotated: hiding a key protects viewers, but it was on screen while recording.
One of:booleanobjecttypesarray of stringdefault["secrets", "emails", "cards"]stylestringone of"blur","box"· default"blur"reviewbooleanStop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess
defaultfalse
sourceobjectStreaming uploads only
sizeBytesintegerpartCountinteger
cameraobjectStreaming uploads only
sizeBytesintegerpartCountinteger
Responses
202Accepted; poll GET /videos/{videoId}
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
403Plan does not allow this feature (e.g. redaction) or plan limit reached (trials and plans that stop at their limits), or no plan (PLAN_REQUIRED)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
409Upload incomplete (the video, an overlay image or an audio file is missing parts) or sizes don't match
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId completeUpload
POST/videos/{videoId}/abortCancel an unfinished upload (deletes uploaded parts and the record)
Also discards the video's overlay images and, for an edit with audio tracks or overlays (until its complete call), the edit and its files.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
videoIdrequired | path | string |
Responses
200Cancelled
409Upload already completed
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId abortUpload
POST/videos/{videoId}/heartbeatKeep a pre-started recording job waiting (send every ~10 s while recording)
If heartbeats stop for 2 minutes the waiting job gives up. To cancel on purpose, call abort.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
videoIdrequired | path | string |
Responses
200OK
409Not an unfinished streaming upload with prestart
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId sendHeartbeat
Processing
Stop processing, or process a finished video again with new options.
POST/videos/{videoId}/cancelStop processing (the workflow and any of its queued or running jobs)
Parameters
| Name | In | Type | Description |
|---|---|---|---|
videoIdrequired | path | string |
Responses
200Stopped; includes terminatedJobs
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId cancelProcessing
POST/videos/{videoId}/reprocessProcess a video again as a new video (new quality, trim and/or redactions)
Reuses the original upload (nothing is re-sent); for an edit, renders the same clips again. Options are not inherited. After deleteOriginal, the new video is made from this video's processed MP4 instead: trim, redactions, autoRedact and captions are on its own timeline, and what it already hides stays hidden (maxHeight, trim, redactions, captions, autoRedact, metadata, title and description only). Overlays (and an edit's audio tracks) are kept: the same images and settings; a reprocess can't change or remove them. A dry run of an edit's reprocess counts them (audio, overlays).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
dryRun | query | boolean | Validate only: nothing is created or started (answers 200 with valid: true) |
videoIdrequired | path | string | |
Idempotency-Key | header | string | Unique key for idempotent requests: POST /videos, POST /videos/{id}/complete, POST /videos/{id}/reprocess. Same key with same request = replay of first response. Stored 24 hours. |
Request body
{
"maxHeight": 720,
"redactions": [
{
"type": "blur",
"shape": "rect",
"x": 0,
"y": 0,
"w": 0,
"h": 0,
"start": 0,
"end": 0,
"track": [
{
"time": 0,
"x": 0,
"y": 0,
"w": 0,
"h": 0
}
]
}
],
"deleteOriginal": false,
"trim": {
"start": 0,
"end": 0
},
"captions": false,
"autoRedact": false,
"metadata": {}
}Schema
maxHeightintegerone of720,1080,1440,2160redactionsarray of Redactionmax items20typestringrequiredbox = solid black bar
one of"blur","box"shapestringone of"rect","ellipse"· default"rect"xnumberFraction of the final frame width
min0· max1ynumbermin0· max1wnumbermin0· max1hnumbermin0· max1startnumberSeconds
default0endnumberSeconds; null = until the end
trackarray of objectKeyframes for moving content, in time order; the region glides between them (instead of x, y, w, h)
max items50timenumberrequiredSeconds on the output timeline
min0xnumberrequiredmin0· max1ynumberrequiredmin0· max1wnumberrequiredmin0· max1hnumberrequiredmin0· max1
deleteOriginalbooleanUploads only
trimTrimKeep only part of the upload (frame-accurate, no extra encode). Redaction times are on the trimmed timeline.
startnumbermin0· default0endnumbernull = to the end
captionsCaptionsOptionPro and Scale. Speech-to-text subtitles: true detects the spoken language, or {"language": "es"} sets it (ISO 639-1 code). Adds WebVTT/SRT/text files and a subtitle track to the HLS stream. Each captioned minute counts as 2 extra processing minutes (minimum 1). At most 4 hours of video, and 1,200 captioned minutes per account per day.
One of:booleanobjectlanguagestring
autoRedactAutoRedactOptionPro and Scale. Before encoding, find what shouldn't be seen on screen and hide it, wherever and whenever it appears: true finds secrets (API keys and tokens), email addresses and card numbers and blurs them; or choose {"types": ["secrets", "emails", "cards", "faces"], "style": "blur" or "box"}. Faces are faces shown on the screen (never the camera overlay) and are off unless listed. Regions are added after your own redactions, within the same limits. If detection can't run, the video fails rather than being published unredacted. With "review": true it only looks: nothing is hidden, encoded, published or metered, and the video stops as NEEDS_REVIEW with what was found (status: review); confirm with a reprocess that sends the regions to apply. When it looks for secrets, the keys in a known format it recognises are also listed by format and last four characters (status: autoRedaction.secrets or review.secrets; webhook: video.secrets_found), so they can be rotated: hiding a key protects viewers, but it was on screen while recording.
One of:booleanobjecttypesarray of stringdefault["secrets", "emails", "cards"]stylestringone of"blur","box"· default"blur"reviewbooleanStop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess
defaultfalse
metadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
Responses
201New video created; poll its status
{
"videoId": "string",
"reprocessOf": "string"
}Schema
videoIdstringreprocessOfstring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
403Plan does not allow the requested quality or feature, or plan limit reached (trials and plans that stop at their limits), or no plan (PLAN_REQUIRED); reprocessing at a lower quality if the plan allows
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
409The original upload never completed
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId reprocessVideo
Usage
Processing minutes and storage for billing.
GET/usageUsage for a calendar month (for billing)
Returns processing time and storage for a month, against the plan. Month defaults to the current UTC month. With a test key it is always empty, because test videos are never metered.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
month | query | string | YYYY-MM (default: current month) |
Responses
200Usage summary
{
"month": "2026-10",
"complete": false,
"processing": {
"videos": 0,
"outputMinutes": 0,
"billableMinutes": 0
},
"storage": {
"gbMonths": 0,
"storedGb": 0,
"note": "string"
},
"delivery": {
"gb": 0,
"note": "string"
}
}Schema
monthstringcompletebooleanWhether the month is complete (now >= month end)
processingobjectvideosintegerCount of videos that finished processing
outputMinutesnumberSum of output duration (after trim/edit)
billableMinutesnumbermax(60
storageobjectgbMonthsnumberByte-time (bytes × time) for bytes kept
storedGbnumberWhat is stored right now
notestring
deliveryobjectgbnumberGigabytes sent to viewers this month (download links and streaming), from access logs; trails real time by up to a few hours
notestring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId getUsage
Authentication
Sign up and sign in with email, create sessions and API keys, manage your account.
POST/auth/startEmail a sign-in code (public; no auth required)
Sends a 6-digit code to the email address. 5 attempts per code, 10 minute expiry. Rate limited 5 per email per hour, 30 per IP per hour.
Request body required
{
"email": "user@example.com",
"intent": "signin"
}Schema
emailstringrequiredintentstringOptional; accepted but never changes the response, so this endpoint does not reveal whether an account exists.
one of"signin","signup"
Responses
200Code sent
{
"sent": false,
"expiresInSeconds": 0
}Schema
sentbooleanexpiresInSecondsinteger
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429Rate limited
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId startSignIn
POST/auth/verifyVerify a sign-in code (public; no auth required)
Returns a session token valid for 30 days. Without intent, an email with no account gets one created (acceptTerms must be true). With intent: signup, a new account is created with profile (validated like PUT /v1/account/profile, name required) saved in the same write; an email that already has an account is just signed in and its saved profile is left alone (created is false). With intent: signin, an email with no account gets 404 NO_ACCOUNT and nothing is created (the code stays valid).
Request body required
{
"email": "user@example.com",
"code": "123456",
"acceptTerms": false,
"intent": "signin",
"profile": {
"fullName": "string",
"company": "string",
"role": "string",
"useCase": "string",
"country": "string"
}
}Schema
emailstringrequiredcodestringrequiredpattern"^\\d{6}$"acceptTermsbooleanRequired to create an account
intentstringOptional; see above
one of"signin","signup"profileobjectWith intent signup: saved on the new account. fullName is required.
fullNamestringmax length100companystringmax length100rolestringuseCasestringcountrystringmax length60
Responses
200Verified
{
"sessionToken": "vps_...",
"expiresAt": 0,
"created": false,
"account": {
"email": "string",
"plan": "string",
"user": "string"
}
}Schema
sessionTokenstringexpiresAtintegerUnix time
createdbooleanTrue if a new account was created
accountobjectemailstringplanstringuserstring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404intent signin and no account for this email (NO_ACCOUNT)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429Rate limited
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId verifySignIn
POST/auth/signoutEnd a session (session token only)
Responses
200Signed out
{
"signedOut": false
}Schema
signedOutboolean
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId signOut
GET/accountYour account info, plan and this month's usage
Responses
200Account details
{
"email": "string",
"user": "string",
"plan": "string",
"planName": "Pro trial",
"trial": false,
"readOnly": false,
"createdAt": "string",
"profileComplete": false,
"profile": {
"fullName": "string",
"company": "string",
"role": "string",
"useCase": "string",
"country": "string",
"completedAt": "string"
},
"limits": {
"minutes": 0,
"storageGb": 0,
"maxHeight": 720,
"features": [
"string"
],
"videosPerDay": 0,
"apiKeys": 0,
"overage": false
},
"usage": {
"month": "2026-10",
"billableMinutes": 0,
"videos": 0,
"storedGb": 0,
"gbMonths": 0
},
"session": false,
"allowedDomains": [
"string"
],
"billing": {
"customer": false
}
}Schema
emailstringuserstringplanstringA plan id: starter, growth, pro, scale, enterprise, <plan>_trial during a free trial (e.g. pro_trial), unsubscribed for no plan, or free (the old Free plan)
planNamestringtrialbooleanA free trial: the plan's features, with usage stopping at 100 minutes, 10 GB stored and 15 GB delivered
readOnlybooleanNo plan: videos can be listed, played and downloaded; nothing new is processed (PLAN_REQUIRED)
createdAtstring (date-time)profileCompletebooleanWhether the account's profile (name) has been filled in
profileProfileThe account's "about you" answers (empty strings when not given).
fullNamestringcompanystringrolestringuseCasestringcountrystringcompletedAtstring (date-time)
limitsobjectminutesintegerMonthly processing minutes (billable)
storageGbintegerMonthly storage in GB
maxHeightintegerone of720,1080,1440,2160featuresarray of stringvideosPerDayintegerapiKeysintegerMax simultaneous API keys
overagebooleanWhether overage is billed
usageobjectmonthstringbillableMinutesnumbervideosintegerstoredGbnumbergbMonthsnumber
sessionbooleanTrue if authenticated with a session token
allowedDomainsarray of stringPlayback links only play on these sites (empty: any site)
billingobjectcustomerbooleanHas a Stripe customer ID
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId getAccount
GET/account/keysList your API keys (never the keys themselves)
Responses
200API keys
{
"keys": [
{
"keyId": "string",
"label": "string",
"createdAt": "string",
"revoked": false,
"prefix": "string",
"mode": "live"
}
]
}Schema
keysarray of objectkeyIdstringlabelstringcreatedAtstring (date-time)revokedbooleanprefixstringFirst 8 chars of the key (12 for a test key)
modestringA test key starts with vp_test_
one of"live","test"
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId listApiKeys
POST/account/keysCreate an API key (session token only)
Request body required
{
"label": "string",
"mode": "live"
}Schema
labelstringOptional label for the key
max length60modestringtest makes a free test key (vp_test_...): its videos are isolated, short, marked TEST and deleted after 24 hours. Up to 5 active test keys; they don't use the plan's key allowance.
one of"live","test"· default"live"
Responses
201Key created
{
"key": "string",
"keyId": "string",
"label": "string",
"mode": "live",
"note": "string"
}Schema
keystringThe full key (shown only once)
keyIdstringlabelstringmodestringone of"live","test"notestringCopy it now: it can't be shown again
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
403Session required or plan limit reached
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId createApiKey
DELETE/account/keys/{keyId}Revoke an API key (session token only)
Parameters
| Name | In | Type | Description |
|---|---|---|---|
keyIdrequired | path | string |
Responses
200Revoked
{
"keyId": "string",
"revoked": false
}Schema
keyIdstringrevokedboolean
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
403Session required
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId revokeApiKey
PUT/account/profileSave your profile (the "about you" form)
Only the name is required. Text is trimmed and control characters removed; role and use must be one of the listed values (or empty). The name also appears in the owner's user list.
Request body required
{
"fullName": "string",
"company": "string",
"role": "",
"useCase": "",
"country": "string"
}Schema
fullNamestringrequiredmax length100companystringmax length100rolestringone of"","Developer","Product/Design","Founder/Executive","Marketing/Content","Other"useCasestringone of"","Product videos/onboarding","User-generated content","Courses/education","Marketing","Internal tools","Other"countrystringmax length60
Responses
200Saved
{
"fullName": "string",
"company": "string",
"role": "string",
"useCase": "string",
"country": "string",
"completedAt": "string"
}Schema
fullNamestringcompanystringrolestringuseCasestringcountrystringcompletedAtstring (date-time)
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId setProfile
PUT/account/allowed-domainsLock playback and streaming links to your own sites (session token only)
The CDN then only serves a link's files to requests whose Origin or Referer is one of these hostnames, so other sites can't embed your videos. Applies to links made after the change. Requests with no Origin or Referer (some native apps) are refused for locked links. Hotlink protection, not DRM.
Request body required
{
"domains": [
"*.example.com"
]
}Schema
domainsarray of stringrequiredHostnames; *.example.com matches subdomains. [] allows any site.
max items20
Responses
200Saved (cleaned list)
{
"domains": [
"string"
]
}Schema
domainsarray of string
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
403Session required
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId setAllowedDomains
POST/billing/checkoutStart a paid plan (signed-in account session only)
Returns the URL of a Stripe Checkout page. An account that has never subscribed starts with a 7-day free trial: the card is taken at checkout and charged when the trial ends; during the trial usage stops at 100 processing minutes, 10 GB stored and 15 GB delivered, and the plan then renews monthly on the day the trial ended. Without a trial, subscriptions renew on the 1st of each month (UTC); the first month is prorated.
Request body required
{
"plan": "starter"
}Schema
planstringrequiredone of"starter","growth","pro","scale"
Responses
200Checkout page
{
"url": "string"
}Schema
urlstring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
409Already subscribed (ALREADY_SUBSCRIBED)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId startCheckout
POST/billing/portalManage card, invoices and cancellation in Stripe's Customer Portal (signed-in account session only)
Responses
200Portal page
{
"url": "string"
}Schema
urlstring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
409Never subscribed (NO_BILLING_ACCOUNT)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId openBillingPortal
POST/billing/planSwitch paid plan, or cancel at the end of the period (signed-in account session only)
Upgrades are charged now for the rest of the month; downgrades credit the next invoice; during a free trial the trial continues on the new plan. none cancels at the end of the period or trial (the account then has no plan: read-only); free is accepted for none.
Request body required
{
"plan": "starter"
}Schema
planstringrequiredone of"starter","growth","pro","scale","none","free"
Responses
200The billing state
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
409No subscription yet (NO_SUBSCRIPTION) or no change
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId changePlan
POST/billing/end-trialEnd a free trial now and start paying (signed-in account session only)
The card on file is charged for the plan, a monthly period starts today, and the trial's limit gives way to the plan's full allowance.
Responses
200The billing state
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
409There is no trial to end (INVALID_STATE)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId endTrial
Webhooks
Set up an endpoint to receive events when videos finish, fail, or you reach usage thresholds. Each account has one webhook. Events are signed with Standard Webhooks. Events: video.ready (the video is published and plays; sent before any captions are made), captions.ready and captions.failed (captions finished, or could not be made or were skipped), video.needs_review (a review run stopped after looking: confirm with a reprocess), video.secrets_found (auto-redaction recognised API keys or tokens on screen: each one's format and last four characters, never the key, so it can be rotated), video.failed, video.canceled, video.deleted, usage.threshold (80% and 100% of plan limits). Each event envelope contains id, type, livemode (false for events about test-mode videos, which go to the same endpoint), createdAt and data. Signature verification uses HMAC-SHA256 of "id.timestamp.body" with the base64-decoded secret after "whsec_".
GET/webhookGet your webhook configuration
Responses
200Webhook config
{
"configured": false,
"url": "string",
"events": [
"video.ready"
],
"enabled": false,
"secret": "string",
"createdAt": "string",
"updatedAt": "string"
}Schema
configuredbooleanurlstringeventsarray of stringenabledbooleansecretstringwhsec_-prefixed signing secret
createdAtstring (date-time)updatedAtstring (date-time)
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId getWebhookConfig
PUT/webhookSet or update your webhook endpoint
Request body required
{
"url": "string",
"events": [
"video.ready"
],
"enabled": false
}Schema
urlstring (uri)requiredHTTPS only, public addresses only
eventsarray of stringDefaults to all events for a new webhook, and to the events you already chose for an existing one. Webhooks saved before an event existed (such as captions.ready, captions.failed, video.needs_review and video.secrets_found) do not get it until you add it.
enabledbooleanDefaults to true
Responses
200Saved
{
"configured": false,
"url": "string",
"events": [
"string"
],
"enabled": false,
"secret": "string",
"createdAt": "string",
"updatedAt": "string"
}Schema
configuredbooleanurlstringeventsarray of stringenabledbooleansecretstringcreatedAtstring (date-time)updatedAtstring (date-time)
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId setWebhookConfig
DELETE/webhookRemove your webhook endpoint
Responses
200Deleted
{
"configured": false
}Schema
configuredboolean
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId deleteWebhookConfig
POST/webhook/rotateGenerate a new signing secret (keep the URL)
Responses
200New secret
{
"configured": false,
"url": "string",
"events": [
"string"
],
"enabled": false,
"secret": "string",
"createdAt": "string",
"updatedAt": "string"
}Schema
configuredbooleanurlstringeventsarray of stringenabledbooleansecretstringNew whsec_-prefixed secret; old one stops working immediately
createdAtstring (date-time)updatedAtstring (date-time)
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404No webhook is set up yet
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId rotateWebhookSecret
POST/webhook/testSend a test event and report the result immediately
Responses
200Test sent and one attempt reported
{
"ok": false,
"status": 0,
"ms": 0,
"error": "string",
"response": "string",
"eventId": "string"
}Schema
okbooleanstatusintegerHTTP status code from the endpoint
msintegerMilliseconds to respond (or error)
errorstringError message if not ok
responsestringFirst 500 bytes of the response body
eventIdstringThe test event ID
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404No webhook is set up yet
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId testWebhook
GET/webhook/deliveriesRecent webhook delivery attempts (kept for 30 days)
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer |
Responses
200Delivery log
{
"deliveries": [
{
"eventId": "string",
"type": "string",
"attempt": 0,
"ok": false,
"status": 0,
"ms": 0,
"error": "string",
"response": "string",
"at": 0,
"final": false
}
]
}Schema
deliveriesarray of objecteventIdstringtypestringattemptintegerokbooleanstatusintegermsintegerMilliseconds taken
errorstringresponsestringFirst 500 bytes of response
atintegerUnix time
finalbooleanWhether retries will stop
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
503UNAVAILABLE: temporary failure; retry with backoff
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId listWebhookDeliveries
Recording links
A link to send anyone, so they record a video into your account: they open it, record their screen, camera or both in the browser (or pick a file), and the video lands in your videos with their name and email in its metadata. No account, key or app on their side. Recording in the browser is Pro and Scale.
GET/recording-linksList recording links, newest first
Every link of yours (a test key lists test links), with its status and the recordings taken.
Responses
200Your links
{
"recordingLinks": [
{
"recordingLinkId": "r-3f9a1c2b4d5e",
"url": "string",
"status": "active",
"mode": "live",
"title": "string",
"message": "string",
"modes": [
"screen+camera"
],
"askName": false,
"askEmail": false,
"maxRecordings": 0,
"recordings": 0,
"maxSeconds": 0,
"maxHeight": 0,
"captions": false,
"autoRedact": false,
"metadata": {},
"expiresAt": 0,
"createdAt": "string"
}
]
}Schema
recordingLinksarray of RecordingLinkrecordingLinkIdstringurlstringhttps://<site>/record/<token>: what you send the guest
statusstringfull: every recording taken
one of"active","full","expired"modestringone of"live","test"titlestringmessagestringmodesarray of stringaskNamebooleanaskEmailbooleanmaxRecordingsintegernull: no limit
recordingsintegerRecordings taken so far
maxSecondsintegermaxHeightintegercaptionsCaptionsOptionPro and Scale. Speech-to-text subtitles: true detects the spoken language, or {"language": "es"} sets it (ISO 639-1 code). Adds WebVTT/SRT/text files and a subtitle track to the HLS stream. Each captioned minute counts as 2 extra processing minutes (minimum 1). At most 4 hours of video, and 1,200 captioned minutes per account per day.
One of:booleanobjectlanguagestring
autoRedactAutoRedactOptionPro and Scale. Before encoding, find what shouldn't be seen on screen and hide it, wherever and whenever it appears: true finds secrets (API keys and tokens), email addresses and card numbers and blurs them; or choose {"types": ["secrets", "emails", "cards", "faces"], "style": "blur" or "box"}. Faces are faces shown on the screen (never the camera overlay) and are off unless listed. Regions are added after your own redactions, within the same limits. If detection can't run, the video fails rather than being published unredacted. With "review": true it only looks: nothing is hidden, encoded, published or metered, and the video stops as NEEDS_REVIEW with what was found (status: review); confirm with a reprocess that sends the regions to apply. When it looks for secrets, the keys in a known format it recognises are also listed by format and last four characters (status: autoRedaction.secrets or review.secrets; webhook: video.secrets_found), so they can be rotated: hiding a key protects viewers, but it was on screen while recording.
One of:booleanobjecttypesarray of stringdefault["secrets", "emails", "cards"]stylestringone of"blur","box"· default"blur"reviewbooleanStop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess
defaultfalse
metadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
expiresAtintegerUnix time
createdAtstringISO 8601
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId listRecordingLinks
POST/recording-linksCreate a recording link
Makes a link (its url is what you send). By default it takes one recording and works for 7 days. Every video made through it carries metadata.recordingLink (the link's ID), guestName and guestEmail, with any metadata set here. Recording in the browser (any mode but file) needs Pro or Scale: Free and Starter get 403 PLAN_UPGRADE_REQUIRED. A test key makes a test link, which makes test videos.
Request body
{
"title": "string",
"message": "string",
"modes": [
"screen+camera"
],
"askName": true,
"askEmail": true,
"maxRecordings": 1,
"expiresIn": 604800,
"maxSeconds": 0,
"maxBytes": 0,
"maxHeight": 720,
"captions": false,
"autoRedact": false,
"metadata": null
}Schema
titlestringThe page's heading
max length120messagestringShown to the guest under the heading
max length1000modesarray of stringWhat the guest may record, in the order to offer them (default all four)
askNamebooleanAsk the guest for their name before recording
defaulttrueaskEmailbooleanAsk the guest for their email before recording
defaulttruemaxRecordingsintegerRecordings the link may take; null: no limit
min1· max1000· default1expiresInintegerHow long the link works
min60· max2592000· default604800maxSecondsintegerThe recording is trimmed to this length
min1maxBytesintegerThe largest upload; default your upload limit
min1maxHeightintegerone of720,1080,1440,2160captionsCaptionsOptionPro and Scale. Speech-to-text subtitles: true detects the spoken language, or {"language": "es"} sets it (ISO 639-1 code). Adds WebVTT/SRT/text files and a subtitle track to the HLS stream. Each captioned minute counts as 2 extra processing minutes (minimum 1). At most 4 hours of video, and 1,200 captioned minutes per account per day.
One of:booleanobjectlanguagestring
autoRedactAutoRedactOptionPro and Scale. Before encoding, find what shouldn't be seen on screen and hide it, wherever and whenever it appears: true finds secrets (API keys and tokens), email addresses and card numbers and blurs them; or choose {"types": ["secrets", "emails", "cards", "faces"], "style": "blur" or "box"}. Faces are faces shown on the screen (never the camera overlay) and are off unless listed. Regions are added after your own redactions, within the same limits. If detection can't run, the video fails rather than being published unredacted. With "review": true it only looks: nothing is hidden, encoded, published or metered, and the video stops as NEEDS_REVIEW with what was found (status: review); confirm with a reprocess that sends the regions to apply. When it looks for secrets, the keys in a known format it recognises are also listed by format and last four characters (status: autoRedaction.secrets or review.secrets; webhook: video.secrets_found), so they can be rotated: hiding a key protects viewers, but it was on screen while recording.
One of:booleanobjecttypesarray of stringdefault["secrets", "emails", "cards"]stylestringone of"blur","box"· default"blur"reviewbooleanStop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess
defaultfalse
metadataanySet on every video made through the link (recordingLink, guestName and guestEmail are the page's)
Responses
201The new link
{
"recordingLinkId": "r-3f9a1c2b4d5e",
"url": "string",
"status": "active",
"mode": "live",
"title": "string",
"message": "string",
"modes": [
"screen+camera"
],
"askName": false,
"askEmail": false,
"maxRecordings": 0,
"recordings": 0,
"maxSeconds": 0,
"maxHeight": 0,
"captions": false,
"autoRedact": false,
"metadata": {},
"expiresAt": 0,
"createdAt": "string"
}Schema
recordingLinkIdstringurlstringhttps://<site>/record/<token>: what you send the guest
statusstringfull: every recording taken
one of"active","full","expired"modestringone of"live","test"titlestringmessagestringmodesarray of stringaskNamebooleanaskEmailbooleanmaxRecordingsintegernull: no limit
recordingsintegerRecordings taken so far
maxSecondsintegermaxHeightintegercaptionsCaptionsOptionPro and Scale. Speech-to-text subtitles: true detects the spoken language, or {"language": "es"} sets it (ISO 639-1 code). Adds WebVTT/SRT/text files and a subtitle track to the HLS stream. Each captioned minute counts as 2 extra processing minutes (minimum 1). At most 4 hours of video, and 1,200 captioned minutes per account per day.
One of:booleanobjectlanguagestring
autoRedactAutoRedactOptionPro and Scale. Before encoding, find what shouldn't be seen on screen and hide it, wherever and whenever it appears: true finds secrets (API keys and tokens), email addresses and card numbers and blurs them; or choose {"types": ["secrets", "emails", "cards", "faces"], "style": "blur" or "box"}. Faces are faces shown on the screen (never the camera overlay) and are off unless listed. Regions are added after your own redactions, within the same limits. If detection can't run, the video fails rather than being published unredacted. With "review": true it only looks: nothing is hidden, encoded, published or metered, and the video stops as NEEDS_REVIEW with what was found (status: review); confirm with a reprocess that sends the regions to apply. When it looks for secrets, the keys in a known format it recognises are also listed by format and last four characters (status: autoRedaction.secrets or review.secrets; webhook: video.secrets_found), so they can be rotated: hiding a key protects viewers, but it was on screen while recording.
One of:booleanobjecttypesarray of stringdefault["secrets", "emails", "cards"]stylestringone of"blur","box"· default"blur"reviewbooleanStop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess
defaultfalse
metadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
expiresAtintegerUnix time
createdAtstringISO 8601
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
403PLAN_UPGRADE_REQUIRED or UPLOAD_TOKEN_SCOPE
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId createRecordingLink
GET/recording-links/{recordingLinkId}A recording link's status
Parameters
| Name | In | Type | Description |
|---|---|---|---|
recordingLinkIdrequired | path | string |
Responses
200The link
{
"recordingLinkId": "r-3f9a1c2b4d5e",
"url": "string",
"status": "active",
"mode": "live",
"title": "string",
"message": "string",
"modes": [
"screen+camera"
],
"askName": false,
"askEmail": false,
"maxRecordings": 0,
"recordings": 0,
"maxSeconds": 0,
"maxHeight": 0,
"captions": false,
"autoRedact": false,
"metadata": {},
"expiresAt": 0,
"createdAt": "string"
}Schema
recordingLinkIdstringurlstringhttps://<site>/record/<token>: what you send the guest
statusstringfull: every recording taken
one of"active","full","expired"modestringone of"live","test"titlestringmessagestringmodesarray of stringaskNamebooleanaskEmailbooleanmaxRecordingsintegernull: no limit
recordingsintegerRecordings taken so far
maxSecondsintegermaxHeightintegercaptionsCaptionsOptionPro and Scale. Speech-to-text subtitles: true detects the spoken language, or {"language": "es"} sets it (ISO 639-1 code). Adds WebVTT/SRT/text files and a subtitle track to the HLS stream. Each captioned minute counts as 2 extra processing minutes (minimum 1). At most 4 hours of video, and 1,200 captioned minutes per account per day.
One of:booleanobjectlanguagestring
autoRedactAutoRedactOptionPro and Scale. Before encoding, find what shouldn't be seen on screen and hide it, wherever and whenever it appears: true finds secrets (API keys and tokens), email addresses and card numbers and blurs them; or choose {"types": ["secrets", "emails", "cards", "faces"], "style": "blur" or "box"}. Faces are faces shown on the screen (never the camera overlay) and are off unless listed. Regions are added after your own redactions, within the same limits. If detection can't run, the video fails rather than being published unredacted. With "review": true it only looks: nothing is hidden, encoded, published or metered, and the video stops as NEEDS_REVIEW with what was found (status: review); confirm with a reprocess that sends the regions to apply. When it looks for secrets, the keys in a known format it recognises are also listed by format and last four characters (status: autoRedaction.secrets or review.secrets; webhook: video.secrets_found), so they can be rotated: hiding a key protects viewers, but it was on screen while recording.
One of:booleanobjecttypesarray of stringdefault["secrets", "emails", "cards"]stylestringone of"blur","box"· default"blur"reviewbooleanStop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess
defaultfalse
metadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
expiresAtintegerUnix time
createdAtstringISO 8601
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId getRecordingLink
DELETE/recording-links/{recordingLinkId}Delete a recording link
The link stops working at once (its page answers 404); videos already recorded through it stay.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
recordingLinkIdrequired | path | string |
Responses
200Deleted
{
"recordingLinkId": "string",
"deleted": false
}Schema
recordingLinkIdstringdeletedboolean
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId deleteRecordingLink
Live streams
Go live from the browser or OBS (Pro and Scale). A stream's ingest (RTMPS URL and stream key) is for whoever broadcasts; its watch link plays it for viewers. A recorded stream becomes a normal video when it ends. Webhook events: live.started, live.ended, live.recording.ready.
GET/live-streamsList live streams, newest first
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer | |
nextToken | query | string |
Responses
200A page of streams
{
"liveStreams": [
{
"liveStreamId": "string",
"status": "idle",
"mode": "live",
"title": "string",
"description": "string",
"metadata": {},
"record": false,
"maxDurationMinutes": 0,
"createdAt": 0,
"startedAt": 0,
"endedAt": 0,
"durationSeconds": 0,
"viewers": 0,
"videoId": "string",
"usage": {
"broadcastMinutes": 0,
"viewerHours": 0
},
"ingest": {
"rtmpsUrl": "rtmps://a1b2c3.global-contribute.live-video.net:443/app/",
"streamKey": "string"
},
"watch": {
"url": "string",
"iframe": "string"
},
"playbackUrl": "string",
"playbackExpiresAt": 0
}
],
"nextToken": "string"
}Schema
liveStreamsarray of LiveStreamliveStreamIdstringstatusstringone of"idle","live","ended","expired","failed"modestringone of"live","test"titlestringdescriptionstringmetadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
recordbooleanmaxDurationMinutesintegercreatedAtintegerstartedAtintegerendedAtintegerdurationSecondsintegerviewersintegerWhile live
videoIdstringThe video saved from the recording
usageobjectbroadcastMinutesnumberviewerHoursnumber
ingestLiveIngestWhere to broadcast. OBS, Custom service - server rtmpsUrl, key streamKey. The browser broadcaster takes the same two.
rtmpsUrlstringstreamKeystring
watchobjecturlstringiframestring
playbackUrlstringSigned low-latency HLS
playbackExpiresAtinteger
nextTokenstring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId listLiveStreams
POST/live-streamsCreate a live stream
Makes a stream to broadcast to: its ingest (shown here and by GET /live-streams/{id}/ingest while it's open), a watch link, and a signed low-latency playback link. Pro 2 and Scale 10 open (idle or live) at once; Free and Starter get 403 PLAN_UPGRADE_REQUIRED. A test key makes a free test stream of up to 5 minutes.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
dryRun | query | boolean | Validate only: nothing is created or started (answers 200 with valid: true) |
Request body
{
"title": "string",
"description": "string",
"metadata": {},
"record": true,
"captions": false,
"autoRedact": false,
"maxDurationMinutes": 120
}Schema
titlestringmax length200descriptionstringmax length5000metadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
recordbooleanSave the broadcast as a video when it ends
defaulttruecaptionsCaptionsOptionPro and Scale. Speech-to-text subtitles: true detects the spoken language, or {"language": "es"} sets it (ISO 639-1 code). Adds WebVTT/SRT/text files and a subtitle track to the HLS stream. Each captioned minute counts as 2 extra processing minutes (minimum 1). At most 4 hours of video, and 1,200 captioned minutes per account per day.
One of:booleanobjectlanguagestring
autoRedactAutoRedactOptionPro and Scale. Before encoding, find what shouldn't be seen on screen and hide it, wherever and whenever it appears: true finds secrets (API keys and tokens), email addresses and card numbers and blurs them; or choose {"types": ["secrets", "emails", "cards", "faces"], "style": "blur" or "box"}. Faces are faces shown on the screen (never the camera overlay) and are off unless listed. Regions are added after your own redactions, within the same limits. If detection can't run, the video fails rather than being published unredacted. With "review": true it only looks: nothing is hidden, encoded, published or metered, and the video stops as NEEDS_REVIEW with what was found (status: review); confirm with a reprocess that sends the regions to apply. When it looks for secrets, the keys in a known format it recognises are also listed by format and last four characters (status: autoRedaction.secrets or review.secrets; webhook: video.secrets_found), so they can be rotated: hiding a key protects viewers, but it was on screen while recording.
One of:booleanobjecttypesarray of stringdefault["secrets", "emails", "cards"]stylestringone of"blur","box"· default"blur"reviewbooleanStop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess
defaultfalse
maxDurationMinutesintegermin1· max480· default120
Responses
201The new stream
{
"liveStreamId": "string",
"status": "idle",
"mode": "live",
"title": "string",
"description": "string",
"metadata": {},
"record": false,
"maxDurationMinutes": 0,
"createdAt": 0,
"startedAt": 0,
"endedAt": 0,
"durationSeconds": 0,
"viewers": 0,
"videoId": "string",
"usage": {
"broadcastMinutes": 0,
"viewerHours": 0
},
"ingest": {
"rtmpsUrl": "rtmps://a1b2c3.global-contribute.live-video.net:443/app/",
"streamKey": "string"
},
"watch": {
"url": "string",
"iframe": "string"
},
"playbackUrl": "string",
"playbackExpiresAt": 0
}Schema
liveStreamIdstringstatusstringone of"idle","live","ended","expired","failed"modestringone of"live","test"titlestringdescriptionstringmetadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
recordbooleanmaxDurationMinutesintegercreatedAtintegerstartedAtintegerendedAtintegerdurationSecondsintegerviewersintegerWhile live
videoIdstringThe video saved from the recording
usageobjectbroadcastMinutesnumberviewerHoursnumber
ingestLiveIngestWhere to broadcast. OBS, Custom service - server rtmpsUrl, key streamKey. The browser broadcaster takes the same two.
rtmpsUrlstringstreamKeystring
watchobjecturlstringiframestring
playbackUrlstringSigned low-latency HLS
playbackExpiresAtinteger
200dryRun only
{}400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
403PLAN_UPGRADE_REQUIRED or TOKEN_SCOPE
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
409LIVE_LIMIT (the plan's streams open at once)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
429RATE_LIMITED (retry with backoff), QUOTA_EXCEEDED, DAILY_LIMIT, VIDEOS_PAUSED or TEST_LIMIT (5 test videos per 24 hours with no plan, 20 on paid plans and trials)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId createLiveStream
GET/live-streams/{liveStreamId}A live stream's status
Status, timings, viewers while live, a fresh playback link while open, the recording's videoId once saved, and usage about 10 minutes after it ends.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
liveStreamIdrequired | path | string |
Responses
200The stream
{
"liveStreamId": "string",
"status": "idle",
"mode": "live",
"title": "string",
"description": "string",
"metadata": {},
"record": false,
"maxDurationMinutes": 0,
"createdAt": 0,
"startedAt": 0,
"endedAt": 0,
"durationSeconds": 0,
"viewers": 0,
"videoId": "string",
"usage": {
"broadcastMinutes": 0,
"viewerHours": 0
},
"ingest": {
"rtmpsUrl": "rtmps://a1b2c3.global-contribute.live-video.net:443/app/",
"streamKey": "string"
},
"watch": {
"url": "string",
"iframe": "string"
},
"playbackUrl": "string",
"playbackExpiresAt": 0
}Schema
liveStreamIdstringstatusstringone of"idle","live","ended","expired","failed"modestringone of"live","test"titlestringdescriptionstringmetadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
recordbooleanmaxDurationMinutesintegercreatedAtintegerstartedAtintegerendedAtintegerdurationSecondsintegerviewersintegerWhile live
videoIdstringThe video saved from the recording
usageobjectbroadcastMinutesnumberviewerHoursnumber
ingestLiveIngestWhere to broadcast. OBS, Custom service - server rtmpsUrl, key streamKey. The browser broadcaster takes the same two.
rtmpsUrlstringstreamKeystring
watchobjecturlstringiframestring
playbackUrlstringSigned low-latency HLS
playbackExpiresAtinteger
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId getLiveStream
PATCH/live-streams/{liveStreamId}Change a live stream's title, description or metadata
Send any of title, description and metadata; null clears one. Metadata merges: given keys are set, a key set to null is removed. The recording's video takes them as they are when the stream ends.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
liveStreamIdrequired | path | string |
Request body required
{
"title": "string",
"description": "string",
"metadata": null
}Schema
titlestringmax length200descriptionstringmax length5000metadataany
Responses
200The updated stream
{
"liveStreamId": "string",
"status": "idle",
"mode": "live",
"title": "string",
"description": "string",
"metadata": {},
"record": false,
"maxDurationMinutes": 0,
"createdAt": 0,
"startedAt": 0,
"endedAt": 0,
"durationSeconds": 0,
"viewers": 0,
"videoId": "string",
"usage": {
"broadcastMinutes": 0,
"viewerHours": 0
},
"ingest": {
"rtmpsUrl": "rtmps://a1b2c3.global-contribute.live-video.net:443/app/",
"streamKey": "string"
},
"watch": {
"url": "string",
"iframe": "string"
},
"playbackUrl": "string",
"playbackExpiresAt": 0
}Schema
liveStreamIdstringstatusstringone of"idle","live","ended","expired","failed"modestringone of"live","test"titlestringdescriptionstringmetadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
recordbooleanmaxDurationMinutesintegercreatedAtintegerstartedAtintegerendedAtintegerdurationSecondsintegerviewersintegerWhile live
videoIdstringThe video saved from the recording
usageobjectbroadcastMinutesnumberviewerHoursnumber
ingestLiveIngestWhere to broadcast. OBS, Custom service - server rtmpsUrl, key streamKey. The browser broadcaster takes the same two.
rtmpsUrlstringstreamKeystring
watchobjecturlstringiframestring
playbackUrlstringSigned low-latency HLS
playbackExpiresAtinteger
400INVALID_REQUEST: invalid body or parameter (the message names the field)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId updateLiveStream
DELETE/live-streams/{liveStreamId}Delete a live stream
Stops it if live and deletes it; its watch link stops working. A video already saved from its recording is kept.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
liveStreamIdrequired | path | string |
Responses
200Deleted
{
"liveStreamId": "string",
"deleted": false,
"videoId": "string"
}Schema
liveStreamIdstringdeletedbooleanvideoIdstring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId deleteLiveStream
GET/live-streams/{liveStreamId}/ingestThe ingest URL and stream key again
While the stream is open (idle or live). The key lets whoever holds it broadcast to this stream until it ends.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
liveStreamIdrequired | path | string |
Responses
200The ingest
{
"liveStreamId": "string",
"status": "string",
"ingest": {
"rtmpsUrl": "rtmps://a1b2c3.global-contribute.live-video.net:443/app/",
"streamKey": "string"
}
}Schema
liveStreamIdstringstatusstringingestLiveIngestWhere to broadcast. OBS, Custom service - server rtmpsUrl, key streamKey. The browser broadcaster takes the same two.
rtmpsUrlstringstreamKeystring
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
409LIVE_ENDED
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId getLiveStreamIngest
POST/live-streams/{liveStreamId}/endEnd a live stream now
Stops the broadcast; the status becomes ended a moment later.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
liveStreamIdrequired | path | string |
Responses
200Ending
{
"liveStreamId": "string",
"status": "idle",
"mode": "live",
"title": "string",
"description": "string",
"metadata": {},
"record": false,
"maxDurationMinutes": 0,
"createdAt": 0,
"startedAt": 0,
"endedAt": 0,
"durationSeconds": 0,
"viewers": 0,
"videoId": "string",
"usage": {
"broadcastMinutes": 0,
"viewerHours": 0
},
"ingest": {
"rtmpsUrl": "rtmps://a1b2c3.global-contribute.live-video.net:443/app/",
"streamKey": "string"
},
"watch": {
"url": "string",
"iframe": "string"
},
"playbackUrl": "string",
"playbackExpiresAt": 0
}Schema
liveStreamIdstringstatusstringone of"idle","live","ended","expired","failed"modestringone of"live","test"titlestringdescriptionstringmetadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
recordbooleanmaxDurationMinutesintegercreatedAtintegerstartedAtintegerendedAtintegerdurationSecondsintegerviewersintegerWhile live
videoIdstringThe video saved from the recording
usageobjectbroadcastMinutesnumberviewerHoursnumber
ingestLiveIngestWhere to broadcast. OBS, Custom service - server rtmpsUrl, key streamKey. The browser broadcaster takes the same two.
rtmpsUrlstringstreamKeystring
watchobjecturlstringiframestring
playbackUrlstringSigned low-latency HLS
playbackExpiresAtinteger
401UNAUTHORIZED: missing, unknown or revoked API key
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
409LIVE_ENDED
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Schema
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
operationId endLiveStream
Schemas
ThumbnailCropobject
The part of the picture to keep, as fractions of its width and height from the top-left corner (x + w and y + h at most 1; w and h at least 0.02)
xnumberrequiredmin0· max1ynumberrequiredmin0· max1wnumberrequiredmin0.02· max1hnumberrequiredmin0.02· max1
{
"x": 0.21875,
"y": 0,
"w": 0.5625,
"h": 1
}ThumbnailChoiceobject
The current thumbnail
sourcestringframe: a moment chosen with time; custom: your image
one of"auto","candidate","frame","custom"indexintegertimenumberSeconds into the video
cropThumbnailCropThe part of the picture to keep, as fractions of its width and height from the top-left corner (x + w and y + h at most 1; w and h at least 0.02)
xnumberrequiredmin0· max1ynumberrequiredmin0· max1wnumberrequiredmin0.02· max1hnumberrequiredmin0.02· max1
statusstringOnly for a time or a crop, which a job makes
one of"processing","ready","failed"errorstringWhy it failed (status failed)
updatedAtinteger
{
"source": "auto",
"index": 0,
"time": 0,
"crop": {
"x": 0.21875,
"y": 0,
"w": 0.5625,
"h": 1
},
"status": "processing",
"error": "string",
"updatedAt": 0
}Profileobject
The account's "about you" answers (empty strings when not given).
fullNamestringcompanystringrolestringuseCasestringcountrystringcompletedAtstring (date-time)
{
"fullName": "string",
"company": "string",
"role": "string",
"useCase": "string",
"country": "string",
"completedAt": "string"
}Errorobject
Every error response (from the API and from API Gateway). Program against error; show message.
messagestringrequiredHuman-readable; wording may change
errorstringrequiredStable machine-readable code (new codes may be added; fall back to the HTTP status)
one of"INVALID_REQUEST","UNAUTHORIZED","MISSING_AUTHENTICATION","FORBIDDEN","REQUEST_REJECTED","NOT_FOUND","ROUTE_NOT_FOUND","METHOD_NOT_ALLOWED","UPLOAD_INCOMPLETE","ALREADY_COMPLETED","ORIGINAL_UNAVAILABLE","LIVE_LIMIT","LIVE_ENDED","TOKEN_SCOPE","EDIT_SOURCE_NOT_READY","NOT_AN_UPLOAD","IDEMPOTENCY_KEY_REUSED","IDEMPOTENCY_IN_PROGRESS","NOT_READY","NO_CANDIDATES","ALREADY_SUBSCRIBED","ENTERPRISE_PLAN","FEATURE_NOT_AVAILABLE","OFFER_NOT_FOUND","OFFER_USED","OFFER_EXPIRED","NO_SUBSCRIPTION","NO_BILLING_ACCOUNT","INVALID_STATE","TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","DAILY_LIMIT","VIDEOS_PAUSED","PLAN_UPGRADE_REQUIRED","PLAN_LIMIT_REACHED","PLAN_REQUIRED","TEST_LIMIT","OVERAGE_CAP_REACHED","INVALID_CODE","TERMS_REQUIRED","NO_ACCOUNT","SESSION_REQUIRED","UPLOAD_TOKEN_SCOPE","UPLOAD_TOKEN_USED","EDIT_TOKEN_SCOPE","EDIT_TOKEN_USED","EDIT_TOO_LONG","THUMBNAIL_TOKEN_SCOPE","NOT_WAITING","ACCOUNT_DISABLED","RECORDING_LINK_CLOSED","EMAIL_NOT_CONFIGURED","EMAIL_FAILED","BILLING_ERROR","INVALID_SIGNATURE","BILLING_NOT_CONFIGURED","BILLING_UNAVAILABLE","UPSTREAM_ERROR","UNAVAILABLE"requestIdstringrequiredQuote this when reporting a problem
detailsarray of objectValidation errors only (400 INVALID_REQUEST) - every problem found, with its field path
fieldstringmessagestring
{
"message": "Daily limit reached (50 videos per 24 hours); try again later",
"error": "DAILY_LIMIT",
"requestId": "string",
"details": [
{
"field": "edit.clips[0].end",
"message": "80s is past the end of video …, which is 60.0s (1:00); use null for \"to the end\""
}
]
}Metadataobject
Customer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
{}UploadRequestobject
fileNamestringrequiredtitlestringYour title for the video (one line)
max length200descriptionstringYour description (line breaks kept)
max length5000sizeBytesintegerRequired unless streaming
maxHeightintegerHighest output quality; never upscales
one of720,1080,1440,2160· default1080cameraobjectOptional second file shown picture-in-picture over the first (screen + camera)
fileNamestringsizeBytesinteger
layoutstring | objectScreen + camera only: how the two are combined. "pip" (camera bottom-right, medium) and "side-by-side" (screen left) are shorthands; the object form picks the corner and size, or which side the screen is on.
One of:stringobjecttypestringrequiredone of"pip","side-by-side"positionstringpip only (default bottom-right)
one of"bottom-right","bottom-left","top-right","top-left"sizestringpip only (default medium)
one of"small","medium","large"screenstringside-by-side only (default left)
one of"left","right"
streamingbooleanSize unknown yet (e.g. still recording); parts are signed per size
prestartbooleanWith streaming
durationSecondsnumberOptional hint, not for streaming: the file's length in seconds. Used only to start GPU machines early for a video of 10 minutes or more (and not for a shorter one); never used for billing, limits or processing.
max86400metadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
overlaysarray of Overlay1-4 images drawn over the video, in order (later ones on top); times are after any trim. Each is uploaded after the video is created (file overlays[n]). Every plan, test mode too. Not with streaming (400), nor with an upload token (403 UPLOAD_TOKEN_SCOPE)
max items4fileNamestringrequiredThe image's name (shown in status; never a storage key)
min length1· max length200sizeBytesintegerrequiredThe file's size in bytes (up to 10 MB); decides the part count (always 1)
min1· max10485760positionstringWhere the image sits, inside the frame. Not with x/y
one of"top-left","top","top-right","left","center","right","bottom-left","bottom","bottom-right"· default"bottom-right"marginnumberWith position: the gap to the edges it's placed against, as a fraction of the frame's shorter side
min0· max0.25· default0.03xnumberInstead of position: the image's left edge, as a fraction of the frame's width. With y; not with position or margin. Anything past the right edge is cut off
min0· max1ynumberInstead of position: the image's top edge, as a fraction of the frame's height. With x. Anything past the bottom edge is cut off
min0· max1wnumberThe image's width as a fraction of the frame's width (the height follows). Not with h
min0· max1· default0.15hnumberInstead of w: the image's height as a fraction of the frame's height (the width follows)
min0· max1startnumberSeconds on the video's timeline (after a trim; an edit's own timeline) where it appears
min0· default0endnumberSeconds where it goes; null = to the end. At least 0.1 s after start
opacitynumber1 as the image is; lower is more see-through (multiplies the image's own transparency)
min0· max1· default1fadeInnumberSeconds of fade at the start of its time window
min0· max10· default0fadeOutnumberSeconds of fade at the end of its time window (with end null, ending where the video ends)
min0· max10· default0
{
"fileName": "lesson1.mp4",
"title": "string",
"description": "string",
"sizeBytes": 104857600,
"maxHeight": 1080,
"camera": {
"fileName": "string",
"sizeBytes": 0
},
"layout": "pip",
"streaming": false,
"prestart": false,
"durationSeconds": 0,
"metadata": {},
"overlays": [
{
"fileName": "string",
"sizeBytes": 0,
"position": "bottom-right",
"margin": 0.03,
"x": 0,
"y": 0,
"w": 0.15,
"h": 0,
"start": 0,
"end": 0,
"opacity": 1,
"fadeIn": 0,
"fadeOut": 0
}
]
}ImportRequestobject
Import a video from a public HTTPS URL instead of uploading. The URL is downloaded by the API.
sourceUrlstring (uri)requiredHTTPS URL (public internet addresses only; no username/password) with the video file. At most 3 redirects, each checked. The server must answer 200; file size is checked against the upload limit.
max length2048fileNamestringDisplay name (default: last URL path segment). 1–200 characters.
maxHeightintegerHighest output quality; never upscales
one of720,1080,1440,2160· default1080trimTrimKeep only part of the upload (frame-accurate, no extra encode). Redaction times are on the trimmed timeline.
startnumbermin0· default0endnumbernull = to the end
redactionsarray of RedactionRegions to blur or black out
max items20typestringrequiredbox = solid black bar
one of"blur","box"shapestringone of"rect","ellipse"· default"rect"xnumberFraction of the final frame width
min0· max1ynumbermin0· max1wnumbermin0· max1hnumbermin0· max1startnumberSeconds
default0endnumberSeconds; null = until the end
trackarray of objectKeyframes for moving content, in time order; the region glides between them (instead of x, y, w, h)
max items50timenumberrequiredSeconds on the output timeline
min0xnumberrequiredmin0· max1ynumberrequiredmin0· max1wnumberrequiredmin0· max1hnumberrequiredmin0· max1
deleteOriginalbooleanDelete the imported file once the output is published
captionsCaptionsOptionPro and Scale. Speech-to-text subtitles: true detects the spoken language, or {"language": "es"} sets it (ISO 639-1 code). Adds WebVTT/SRT/text files and a subtitle track to the HLS stream. Each captioned minute counts as 2 extra processing minutes (minimum 1). At most 4 hours of video, and 1,200 captioned minutes per account per day.
One of:booleanobjectlanguagestring
autoRedactAutoRedactOptionPro and Scale. Before encoding, find what shouldn't be seen on screen and hide it, wherever and whenever it appears: true finds secrets (API keys and tokens), email addresses and card numbers and blurs them; or choose {"types": ["secrets", "emails", "cards", "faces"], "style": "blur" or "box"}. Faces are faces shown on the screen (never the camera overlay) and are off unless listed. Regions are added after your own redactions, within the same limits. If detection can't run, the video fails rather than being published unredacted. With "review": true it only looks: nothing is hidden, encoded, published or metered, and the video stops as NEEDS_REVIEW with what was found (status: review); confirm with a reprocess that sends the regions to apply. When it looks for secrets, the keys in a known format it recognises are also listed by format and last four characters (status: autoRedaction.secrets or review.secrets; webhook: video.secrets_found), so they can be rotated: hiding a key protects viewers, but it was on screen while recording.
One of:booleanobjecttypesarray of stringdefault["secrets", "emails", "cards"]stylestringone of"blur","box"· default"blur"reviewbooleanStop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess
defaultfalse
metadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
{
"sourceUrl": "string",
"fileName": "string",
"maxHeight": 1080,
"trim": {
"start": 0,
"end": 0
},
"redactions": [
{
"type": "blur",
"shape": "rect",
"x": 0,
"y": 0,
"w": 0,
"h": 0,
"start": 0,
"end": 0,
"track": [
{
"time": 0,
"x": 0,
"y": 0,
"w": 0,
"h": 0
}
]
}
],
"deleteOriginal": false,
"captions": false,
"autoRedact": false,
"metadata": {}
}EditRequestobject
A new video from clips of your finished videos, played in order (trim, stitch, splice), optionally with music or a voice-over mixed over them (audio) and images drawn over them (overlays). Without either the edit starts at once (201 SUBMITTED). With audio or overlays it answers 201 UPLOADING with a part count per file: upload each with POST /videos/{videoId}/parts (file audio[n] or overlays[n]) and PUT, then POST /videos/{videoId}/complete with {} starts the render.
editobjectrequired- max items
50videoIdstringrequiredOne of your finished (SUCCEEDED) videos; may repeat
pattern"^[a-f0-9]{32}$"startnumberSeconds into that video
min0· default0endnumberSeconds into that video; null = to its end
transitionobjectHow this clip starts from the previous one (hard cut if omitted; not on the first clip)
typestringone of"fade","fadeblack"· default"fade"secondsnumbermin0.1· max3· default0.5
volumenumberThis clip's own sound: 1 as recorded, 0 mutes it (for example under music), 2 twice as loud
min0· max2· default1
audioarray of AudioTrack1-4 audio files (any format FFmpeg reads, up to 200 MB each) mixed over the clips; uploaded after the edit is created. Every plan, test mode too. Not with an edit token (403 EDIT_TOKEN_SCOPE)
max items4fileNamestringrequiredThe file's name (shown in status; never a storage key)
min length1· max length200sizeBytesintegerrequiredThe file's size in bytes (up to 200 MB); decides the part count
min1· max209715200atnumberSeconds on the edit's timeline where the track starts; must be before the edit ends
min0· default0startnumberSeconds into the file: where to start reading it
min0· default0endnumberSeconds into the file; null = to its end. At least 0.1 s after start
volumenumber1 as in the file, 0.4 quiet music under speech, 2 twice as loud
min0· max2· default1fadeInnumberSeconds of fade at the start of the track
min0· max10· default0fadeOutnumberSeconds of fade at the end of the track (where it stops, or where the video ends if it was cut there)
min0· max10· default0loopbooleanRepeat the chosen part (start to end) until the video ends; the part must be at most 10 minutes long
defaultfalseduckbooleanLower this track while the clips have sound (sidechain compression), so speech in the clips stays clear over music
defaultfalse
fileNamestringDisplay name (default: Edit of N clips)
maxHeightintegerone of720,1080,1440,2160· default1080redactionsarray of RedactionOn the edit's own timeline
max items20typestringrequiredbox = solid black bar
one of"blur","box"shapestringone of"rect","ellipse"· default"rect"xnumberFraction of the final frame width
min0· max1ynumbermin0· max1wnumbermin0· max1hnumbermin0· max1startnumberSeconds
default0endnumberSeconds; null = until the end
trackarray of objectKeyframes for moving content, in time order; the region glides between them (instead of x, y, w, h)
max items50timenumberrequiredSeconds on the output timeline
min0xnumberrequiredmin0· max1ynumberrequiredmin0· max1wnumberrequiredmin0· max1hnumberrequiredmin0· max1
overlaysarray of Overlay1-4 images drawn over the edit, in order (later ones on top), on the edit's own timeline (a start at or after the edit's end is a 400). Uploaded after the edit is created (file overlays[n]). Not with an edit token (403 EDIT_TOKEN_SCOPE)
max items4fileNamestringrequiredThe image's name (shown in status; never a storage key)
min length1· max length200sizeBytesintegerrequiredThe file's size in bytes (up to 10 MB); decides the part count (always 1)
min1· max10485760positionstringWhere the image sits, inside the frame. Not with x/y
one of"top-left","top","top-right","left","center","right","bottom-left","bottom","bottom-right"· default"bottom-right"marginnumberWith position: the gap to the edges it's placed against, as a fraction of the frame's shorter side
min0· max0.25· default0.03xnumberInstead of position: the image's left edge, as a fraction of the frame's width. With y; not with position or margin. Anything past the right edge is cut off
min0· max1ynumberInstead of position: the image's top edge, as a fraction of the frame's height. With x. Anything past the bottom edge is cut off
min0· max1wnumberThe image's width as a fraction of the frame's width (the height follows). Not with h
min0· max1· default0.15hnumberInstead of w: the image's height as a fraction of the frame's height (the width follows)
min0· max1startnumberSeconds on the video's timeline (after a trim; an edit's own timeline) where it appears
min0· default0endnumberSeconds where it goes; null = to the end. At least 0.1 s after start
opacitynumber1 as the image is; lower is more see-through (multiplies the image's own transparency)
min0· max1· default1fadeInnumberSeconds of fade at the start of its time window
min0· max10· default0fadeOutnumberSeconds of fade at the end of its time window (with end null, ending where the video ends)
min0· max10· default0
captionsCaptionsOptionPro and Scale. Speech-to-text subtitles: true detects the spoken language, or {"language": "es"} sets it (ISO 639-1 code). Adds WebVTT/SRT/text files and a subtitle track to the HLS stream. Each captioned minute counts as 2 extra processing minutes (minimum 1). At most 4 hours of video, and 1,200 captioned minutes per account per day.
One of:booleanobjectlanguagestring
autoRedactAutoRedactOptionPro and Scale. Before encoding, find what shouldn't be seen on screen and hide it, wherever and whenever it appears: true finds secrets (API keys and tokens), email addresses and card numbers and blurs them; or choose {"types": ["secrets", "emails", "cards", "faces"], "style": "blur" or "box"}. Faces are faces shown on the screen (never the camera overlay) and are off unless listed. Regions are added after your own redactions, within the same limits. If detection can't run, the video fails rather than being published unredacted. With "review": true it only looks: nothing is hidden, encoded, published or metered, and the video stops as NEEDS_REVIEW with what was found (status: review); confirm with a reprocess that sends the regions to apply. When it looks for secrets, the keys in a known format it recognises are also listed by format and last four characters (status: autoRedaction.secrets or review.secrets; webhook: video.secrets_found), so they can be rotated: hiding a key protects viewers, but it was on screen while recording.
One of:booleanobjecttypesarray of stringdefault["secrets", "emails", "cards"]stylestringone of"blur","box"· default"blur"reviewbooleanStop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess
defaultfalse
metadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
{
"edit": {
"clips": [
{
"videoId": "string",
"start": 0,
"end": 0,
"transition": {
"type": "fade",
"seconds": 0.5
},
"volume": 1
}
],
"audio": [
{
"fileName": "string",
"sizeBytes": 0,
"at": 0,
"start": 0,
"end": 0,
"volume": 1,
"fadeIn": 0,
"fadeOut": 0,
"loop": false,
"duck": false
}
]
},
"fileName": "string",
"maxHeight": 1080,
"redactions": [
{
"type": "blur",
"shape": "rect",
"x": 0,
"y": 0,
"w": 0,
"h": 0,
"start": 0,
"end": 0,
"track": [
{
"time": 0,
"x": 0,
"y": 0,
"w": 0,
"h": 0
}
]
}
],
"overlays": [
{
"fileName": "string",
"sizeBytes": 0,
"position": "bottom-right",
"margin": 0.03,
"x": 0,
"y": 0,
"w": 0.15,
"h": 0,
"start": 0,
"end": 0,
"opacity": 1,
"fadeIn": 0,
"fadeOut": 0
}
],
"captions": false,
"autoRedact": false,
"metadata": {}
}Clipobject
videoIdstringrequiredOne of your finished (SUCCEEDED) videos; may repeat
pattern"^[a-f0-9]{32}$"startnumberSeconds into that video
min0· default0endnumberSeconds into that video; null = to its end
transitionobjectHow this clip starts from the previous one (hard cut if omitted; not on the first clip)
typestringone of"fade","fadeblack"· default"fade"secondsnumbermin0.1· max3· default0.5
volumenumberThis clip's own sound: 1 as recorded, 0 mutes it (for example under music), 2 twice as loud
min0· max2· default1
{
"videoId": "string",
"start": 0,
"end": 0,
"transition": {
"type": "fade",
"seconds": 0.5
},
"volume": 1
}AudioTrackobject
An audio file (music, a voice-over) mixed over an edit's clips. In a request, fileName and sizeBytes describe the file you will upload next; in a video's status the same object comes back without sizeBytes. The track is cut where the video ends.
fileNamestringrequiredThe file's name (shown in status; never a storage key)
min length1· max length200sizeBytesintegerrequiredThe file's size in bytes (up to 200 MB); decides the part count
min1· max209715200atnumberSeconds on the edit's timeline where the track starts; must be before the edit ends
min0· default0startnumberSeconds into the file: where to start reading it
min0· default0endnumberSeconds into the file; null = to its end. At least 0.1 s after start
volumenumber1 as in the file, 0.4 quiet music under speech, 2 twice as loud
min0· max2· default1fadeInnumberSeconds of fade at the start of the track
min0· max10· default0fadeOutnumberSeconds of fade at the end of the track (where it stops, or where the video ends if it was cut there)
min0· max10· default0loopbooleanRepeat the chosen part (start to end) until the video ends; the part must be at most 10 minutes long
defaultfalseduckbooleanLower this track while the clips have sound (sidechain compression), so speech in the clips stays clear over music
defaultfalse
{
"fileName": "string",
"sizeBytes": 0,
"at": 0,
"start": 0,
"end": 0,
"volume": 1,
"fadeIn": 0,
"fadeOut": 0,
"loop": false,
"duck": false
}Overlayobject
An image (a logo, a watermark, a lower third) drawn over the video on the final frame, before redactions: a redaction still hides whatever is under it. Place it with position (+ margin) or with x and y, not both; size it with w or h, not both (the other side follows the image's shape, and it is never larger than the frame). The file must be a still PNG (transparency kept), JPEG or WebP, each side up to 4096 pixels: anything else makes the video end FAILED, since the file is only read by the worker. In a request, fileName and sizeBytes describe the file you will upload next; in a video's status the same object comes back without sizeBytes.
fileNamestringrequiredThe image's name (shown in status; never a storage key)
min length1· max length200sizeBytesintegerrequiredThe file's size in bytes (up to 10 MB); decides the part count (always 1)
min1· max10485760positionstringWhere the image sits, inside the frame. Not with x/y
one of"top-left","top","top-right","left","center","right","bottom-left","bottom","bottom-right"· default"bottom-right"marginnumberWith position: the gap to the edges it's placed against, as a fraction of the frame's shorter side
min0· max0.25· default0.03xnumberInstead of position: the image's left edge, as a fraction of the frame's width. With y; not with position or margin. Anything past the right edge is cut off
min0· max1ynumberInstead of position: the image's top edge, as a fraction of the frame's height. With x. Anything past the bottom edge is cut off
min0· max1wnumberThe image's width as a fraction of the frame's width (the height follows). Not with h
min0· max1· default0.15hnumberInstead of w: the image's height as a fraction of the frame's height (the width follows)
min0· max1startnumberSeconds on the video's timeline (after a trim; an edit's own timeline) where it appears
min0· default0endnumberSeconds where it goes; null = to the end. At least 0.1 s after start
opacitynumber1 as the image is; lower is more see-through (multiplies the image's own transparency)
min0· max1· default1fadeInnumberSeconds of fade at the start of its time window
min0· max10· default0fadeOutnumberSeconds of fade at the end of its time window (with end null, ending where the video ends)
min0· max10· default0
{
"fileName": "string",
"sizeBytes": 0,
"position": "bottom-right",
"margin": 0.03,
"x": 0,
"y": 0,
"w": 0.15,
"h": 0,
"start": 0,
"end": 0,
"opacity": 1,
"fadeIn": 0,
"fadeOut": 0
}Chapterobject
startnumberrequiredSeconds into the video where the chapter begins.
min0titlestringrequiredOne line.
min length1· max length100
{
"start": 0,
"title": "string"
}Chaptersobject
videoIdstringchaptersarray of ChapterstartnumberrequiredSeconds into the video where the chapter begins.
min0titlestringrequiredOne line.
min length1· max length100
chaptersUrlstring (uri)Signed WebVTT chapters file (same lifetime and allowed domains as playbackUrl). In GET /videos/{videoId}, with the playback links.
{
"videoId": "string",
"chapters": [
{
"start": 0,
"title": "string"
}
],
"chaptersUrl": "string"
}Embedobject
videoIdstringenabledbooleanurlstringhttps://<site>/embed/<videoId>?t=<token>; add autoplay=1, loop=1, cc=1, start=<seconds>
iframestringReady-to-paste <iframe> code
{
"videoId": "string",
"enabled": false,
"url": "string",
"iframe": "string"
}AutoRedactOptionboolean | object
Pro and Scale. Before encoding, find what shouldn't be seen on screen and hide it, wherever and whenever it appears: true finds secrets (API keys and tokens), email addresses and card numbers and blurs them; or choose {"types": ["secrets", "emails", "cards", "faces"], "style": "blur" or "box"}. Faces are faces shown on the screen (never the camera overlay) and are off unless listed. Regions are added after your own redactions, within the same limits. If detection can't run, the video fails rather than being published unredacted. With "review": true it only looks: nothing is hidden, encoded, published or metered, and the video stops as NEEDS_REVIEW with what was found (status: review); confirm with a reprocess that sends the regions to apply. When it looks for secrets, the keys in a known format it recognises are also listed by format and last four characters (status: autoRedaction.secrets or review.secrets; webhook: video.secrets_found), so they can be rotated: hiding a key protects viewers, but it was on screen while recording.
typesarray of stringdefault["secrets", "emails", "cards"]stylestringone of"blur","box"· default"blur"reviewbooleanStop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess
defaultfalse
falseFoundSecretobject
A key in a known format (an API key, a token or a private key) that auto-redaction recognised on screen, for its owner to rotate. Never the key itself: its format and its last four characters as read from the screen. Text recognition can get a character wrong (a 0 read as an O, a 5 as an S), so use them with the format and the time to find the key, not as proof. Long random-looking strings without a known format, email addresses, card numbers and faces are hidden but never listed. At most 50 per video.
typestringThe format
one of"aws_access_key_id","aws_temporary_access_key_id","stripe_live_secret_key","stripe_test_secret_key","stripe_live_restricted_key","stripe_test_restricted_key","webhook_signing_secret","github_token","slack_token","google_api_key","anthropic_api_key","openai_api_key","sk_api_key","video_piper_api_key","video_piper_test_api_key","video_piper_token","jwt","private_key"namestringThe format in words, e.g. Stripe live secret key
lastFourstringThe last four characters as read from the screen; null for a private key (its header says nothing about it) and for a JWT read without its signature
startnumberSeconds on the video's timeline from which it is hidden
endnumber...and until which (null: to the end of the video)
appearancesintegerHow many separate times it was on screen
{
"type": "aws_access_key_id",
"name": "string",
"lastFour": "string",
"start": 0,
"end": 0,
"appearances": 0
}CaptionsOptionboolean | object
Pro and Scale. Speech-to-text subtitles: true detects the spoken language, or {"language": "es"} sets it (ISO 639-1 code). Adds WebVTT/SRT/text files and a subtitle track to the HLS stream. Each captioned minute counts as 2 extra processing minutes (minimum 1). At most 4 hours of video, and 1,200 captioned minutes per account per day.
languagestring
falseTrimobject
Keep only part of the upload (frame-accurate, no extra encode). Redaction times are on the trimmed timeline.
startnumbermin0· default0endnumbernull = to the end
{
"start": 0,
"end": 0
}VideoSummaryobject
videoIdstringfileNamestringcameraFileNamestringcreatedAtintegerUnix time
sizeBytesintegerstatestringCall GET /videos/{id} for live status
one of"UPLOADING","READY_TO_START","SUBMITTED"modestringA key lists only its own mode's videos; test videos are deleted after 24 hours
one of"live","test"redactionsintegeroriginalDeletedbooleanclipsintegerPresent for edits
audioTracksintegerPresent for edits with audio tracks (music
reprocessOfstringtrimTrimKeep only part of the upload (frame-accurate, no extra encode). Redaction times are on the trimmed timeline.
startnumbermin0· default0endnumbernull = to the end
metadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
captionsbooleanMade with captions
autoRedactbooleanMade with auto-redaction
embeddablebooleanThe embeddable player is on
outcomestringHow processing ended; absent while it runs
one of"SUCCEEDED","FAILED","TIMED_OUT","ABORTED"endedAtnumberUnix time processing ended
durationSecondsnumberThe output's length (SUCCEEDED only)
heightintegerThe top quality's short side, e.g. 1080 (SUCCEEDED only)
{
"videoId": "string",
"fileName": "string",
"cameraFileName": "string",
"createdAt": 0,
"sizeBytes": 0,
"state": "UPLOADING",
"mode": "live",
"redactions": 0,
"originalDeleted": false,
"clips": 0,
"audioTracks": 0,
"reprocessOf": "string",
"trim": {
"start": 0,
"end": 0
},
"metadata": {},
"captions": false,
"autoRedact": false,
"embeddable": false,
"outcome": "SUCCEEDED",
"endedAt": 0,
"durationSeconds": 0,
"height": 0
}Redactionobject
A fixed box (x, y, w, h) or a moving one (track). Not both. A review's proposed regions can be sent back as they came (their kind and frameUrl are ignored).
typestringrequiredbox = solid black bar
one of"blur","box"shapestringone of"rect","ellipse"· default"rect"xnumberFraction of the final frame width
min0· max1ynumbermin0· max1wnumbermin0· max1hnumbermin0· max1startnumberSeconds
default0endnumberSeconds; null = until the end
trackarray of objectKeyframes for moving content, in time order; the region glides between them (instead of x, y, w, h)
max items50timenumberrequiredSeconds on the output timeline
min0xnumberrequiredmin0· max1ynumberrequiredmin0· max1wnumberrequiredmin0· max1hnumberrequiredmin0· max1
{
"type": "blur",
"shape": "rect",
"x": 0,
"y": 0,
"w": 0,
"h": 0,
"start": 0,
"end": 0,
"track": [
{
"time": 0,
"x": 0,
"y": 0,
"w": 0,
"h": 0
}
]
}LiveIngestobject
Where to broadcast. OBS, Custom service - server rtmpsUrl, key streamKey. The browser broadcaster takes the same two.
rtmpsUrlstringstreamKeystring
{
"rtmpsUrl": "rtmps://a1b2c3.global-contribute.live-video.net:443/app/",
"streamKey": "string"
}LiveStreamobject
liveStreamIdstringstatusstringone of"idle","live","ended","expired","failed"modestringone of"live","test"titlestringdescriptionstringmetadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
recordbooleanmaxDurationMinutesintegercreatedAtintegerstartedAtintegerendedAtintegerdurationSecondsintegerviewersintegerWhile live
videoIdstringThe video saved from the recording
usageobjectbroadcastMinutesnumberviewerHoursnumber
ingestLiveIngestWhere to broadcast. OBS, Custom service - server rtmpsUrl, key streamKey. The browser broadcaster takes the same two.
rtmpsUrlstringstreamKeystring
watchobjecturlstringiframestring
playbackUrlstringSigned low-latency HLS
playbackExpiresAtinteger
{
"liveStreamId": "string",
"status": "idle",
"mode": "live",
"title": "string",
"description": "string",
"metadata": {},
"record": false,
"maxDurationMinutes": 0,
"createdAt": 0,
"startedAt": 0,
"endedAt": 0,
"durationSeconds": 0,
"viewers": 0,
"videoId": "string",
"usage": {
"broadcastMinutes": 0,
"viewerHours": 0
},
"ingest": {
"rtmpsUrl": "rtmps://a1b2c3.global-contribute.live-video.net:443/app/",
"streamKey": "string"
},
"watch": {
"url": "string",
"iframe": "string"
},
"playbackUrl": "string",
"playbackExpiresAt": 0
}RecordingLinkobject
A link a guest records a video with, into your account
recordingLinkIdstringurlstringhttps://<site>/record/<token>: what you send the guest
statusstringfull: every recording taken
one of"active","full","expired"modestringone of"live","test"titlestringmessagestringmodesarray of stringaskNamebooleanaskEmailbooleanmaxRecordingsintegernull: no limit
recordingsintegerRecordings taken so far
maxSecondsintegermaxHeightintegercaptionsCaptionsOptionPro and Scale. Speech-to-text subtitles: true detects the spoken language, or {"language": "es"} sets it (ISO 639-1 code). Adds WebVTT/SRT/text files and a subtitle track to the HLS stream. Each captioned minute counts as 2 extra processing minutes (minimum 1). At most 4 hours of video, and 1,200 captioned minutes per account per day.
One of:booleanobjectlanguagestring
autoRedactAutoRedactOptionPro and Scale. Before encoding, find what shouldn't be seen on screen and hide it, wherever and whenever it appears: true finds secrets (API keys and tokens), email addresses and card numbers and blurs them; or choose {"types": ["secrets", "emails", "cards", "faces"], "style": "blur" or "box"}. Faces are faces shown on the screen (never the camera overlay) and are off unless listed. Regions are added after your own redactions, within the same limits. If detection can't run, the video fails rather than being published unredacted. With "review": true it only looks: nothing is hidden, encoded, published or metered, and the video stops as NEEDS_REVIEW with what was found (status: review); confirm with a reprocess that sends the regions to apply. When it looks for secrets, the keys in a known format it recognises are also listed by format and last four characters (status: autoRedaction.secrets or review.secrets; webhook: video.secrets_found), so they can be rotated: hiding a key protects viewers, but it was on screen while recording.
One of:booleanobjecttypesarray of stringdefault["secrets", "emails", "cards"]stylestringone of"blur","box"· default"blur"reviewbooleanStop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess
defaultfalse
metadataMetadataCustomer key-value pairs (up to 20 keys, 4 KB total). Keys are 1-40 [A-Za-z0-9_.-]; values are strings up to 500 chars.
expiresAtintegerUnix time
createdAtstringISO 8601
{
"recordingLinkId": "r-3f9a1c2b4d5e",
"url": "string",
"status": "active",
"mode": "live",
"title": "string",
"message": "string",
"modes": [
"screen+camera"
],
"askName": false,
"askEmail": false,
"maxRecordings": 0,
"recordings": 0,
"maxSeconds": 0,
"maxHeight": 0,
"captions": false,
"autoRedact": false,
"metadata": {},
"expiresAt": 0,
"createdAt": "string"
}