Video Piper APIv1 Home OpenAPI spec

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
NameInTypeDescription
limitqueryinteger
nextTokenquerystring

From the previous page

metadata.<key>querystring

Filter by metadata value (up to 5 filters; dynamic parameter name)

Responses
200A page of videos
application/json object
{
  "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 VideoSummary
    • videoIdstring
    • fileNamestring
    • cameraFileNamestring
    • createdAtinteger

      Unix time

    • sizeBytesinteger
    • statestring

      Call GET /videos/{id} for live status

      one of "UPLOADING", "READY_TO_START", "SUBMITTED"
    • modestring

      A key lists only its own mode's videos; test videos are deleted after 24 hours

      one of "live", "test"
    • redactionsinteger
    • originalDeletedboolean
    • clipsinteger

      Present for edits

    • audioTracksinteger

      Present for edits with audio tracks (music

    • reprocessOfstring
    • trimTrim

      Keep only part of the upload (frame-accurate, no extra encode). Redaction times are on the trimmed timeline.

      • startnumber
        min 0 · default 0
      • endnumber

        null = to the end

    • metadataMetadata

      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.

    • captionsboolean

      Made with captions

    • autoRedactboolean

      Made with auto-redaction

    • embeddableboolean

      The embeddable player is on

    • outcomestring

      How processing ended; absent while it runs

      one of "SUCCEEDED", "FAILED", "TIMED_OUT", "ABORTED"
    • endedAtnumber

      Unix time processing ended

    • durationSecondsnumber

      The output's length (SUCCEEDED only)

    • heightinteger

      The top quality's short side, e.g. 1080 (SUCCEEDED only)

  • nextTokenstring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
dryRunqueryboolean

Validate only: nothing is created or started (answers 200 with valid: true)

Idempotency-Keyheaderstring

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
One of:
UploadRequest
  • fileNamestringrequired
  • titlestring

    Your title for the video (one line)

    max length 200
  • descriptionstring

    Your description (line breaks kept)

    max length 5000
  • sizeBytesinteger

    Required unless streaming

  • maxHeightinteger

    Highest output quality; never upscales

    one of 720, 1080, 1440, 2160 · default 1080
  • cameraobject

    Optional second file shown picture-in-picture over the first (screen + camera)

    • fileNamestring
    • sizeBytesinteger
  • layoutstring | object

    Screen + 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:
    string
    object
    • typestringrequired
      one of "pip", "side-by-side"
    • positionstring

      pip only (default bottom-right)

      one of "bottom-right", "bottom-left", "top-right", "top-left"
    • sizestring

      pip only (default medium)

      one of "small", "medium", "large"
    • screenstring

      side-by-side only (default left)

      one of "left", "right"
  • streamingboolean

    Size unknown yet (e.g. still recording); parts are signed per size

  • prestartboolean

    With streaming

  • durationSecondsnumber

    Optional 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.

    max 86400
  • metadataMetadata

    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.

  • overlaysarray of Overlay

    1-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 items 4
    • fileNamestringrequired

      The image's name (shown in status; never a storage key)

      min length 1 · max length 200
    • sizeBytesintegerrequired

      The file's size in bytes (up to 10 MB); decides the part count (always 1)

      min 1 · max 10485760
    • positionstring

      Where 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"
    • marginnumber

      With position: the gap to the edges it's placed against, as a fraction of the frame's shorter side

      min 0 · max 0.25 · default 0.03
    • xnumber

      Instead 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

      min 0 · max 1
    • ynumber

      Instead 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

      min 0 · max 1
    • wnumber

      The image's width as a fraction of the frame's width (the height follows). Not with h

      min 0 · max 1 · default 0.15
    • hnumber

      Instead of w: the image's height as a fraction of the frame's height (the width follows)

      min 0 · max 1
    • startnumber

      Seconds on the video's timeline (after a trim; an edit's own timeline) where it appears

      min 0 · default 0
    • endnumber

      Seconds where it goes; null = to the end. At least 0.1 s after start

    • opacitynumber

      1 as the image is; lower is more see-through (multiplies the image's own transparency)

      min 0 · max 1 · default 1
    • fadeInnumber

      Seconds of fade at the start of its time window

      min 0 · max 10 · default 0
    • fadeOutnumber

      Seconds of fade at the end of its time window (with end null, ending where the video ends)

      min 0 · max 10 · default 0
ImportRequest
  • sourceUrlstring (uri)required

    HTTPS 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 length 2048
  • fileNamestring

    Display name (default: last URL path segment). 1–200 characters.

  • maxHeightinteger

    Highest output quality; never upscales

    one of 720, 1080, 1440, 2160 · default 1080
  • trimTrim

    Keep only part of the upload (frame-accurate, no extra encode). Redaction times are on the trimmed timeline.

    • startnumber
      min 0 · default 0
    • endnumber

      null = to the end

  • redactionsarray of Redaction

    Regions to blur or black out

    max items 20
    • typestringrequired

      box = solid black bar

      one of "blur", "box"
    • shapestring
      one of "rect", "ellipse" · default "rect"
    • xnumber

      Fraction of the final frame width

      min 0 · max 1
    • ynumber
      min 0 · max 1
    • wnumber
      min 0 · max 1
    • hnumber
      min 0 · max 1
    • startnumber

      Seconds

      default 0
    • endnumber

      Seconds; null = until the end

    • trackarray of object

      Keyframes for moving content, in time order; the region glides between them (instead of x, y, w, h)

      max items 50
      • timenumberrequired

        Seconds on the output timeline

        min 0
      • xnumberrequired
        min 0 · max 1
      • ynumberrequired
        min 0 · max 1
      • wnumberrequired
        min 0 · max 1
      • hnumberrequired
        min 0 · max 1
  • deleteOriginalboolean

    Delete the imported file once the output is published

  • 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.

    One of:
    boolean
    object
    • languagestring
  • 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.

    One of:
    boolean
    object
    • typesarray of string
      default ["secrets", "emails", "cards"]
    • stylestring
      one of "blur", "box" · default "blur"
    • reviewboolean

      Stop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess

      default false
  • metadataMetadata

    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.

EditRequest
  • editobjectrequired
    • clipsarray of Cliprequired
      max items 50
      • videoIdstringrequired

        One of your finished (SUCCEEDED) videos; may repeat

        pattern "^[a-f0-9]{32}$"
      • startnumber

        Seconds into that video

        min 0 · default 0
      • endnumber

        Seconds into that video; null = to its end

      • transitionobject

        How this clip starts from the previous one (hard cut if omitted; not on the first clip)

        • typestring
          one of "fade", "fadeblack" · default "fade"
        • secondsnumber
          min 0.1 · max 3 · default 0.5
      • volumenumber

        This clip's own sound: 1 as recorded, 0 mutes it (for example under music), 2 twice as loud

        min 0 · max 2 · default 1
    • audioarray of AudioTrack

      1-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 items 4
      • fileNamestringrequired

        The file's name (shown in status; never a storage key)

        min length 1 · max length 200
      • sizeBytesintegerrequired

        The file's size in bytes (up to 200 MB); decides the part count

        min 1 · max 209715200
      • atnumber

        Seconds on the edit's timeline where the track starts; must be before the edit ends

        min 0 · default 0
      • startnumber

        Seconds into the file: where to start reading it

        min 0 · default 0
      • endnumber

        Seconds into the file; null = to its end. At least 0.1 s after start

      • volumenumber

        1 as in the file, 0.4 quiet music under speech, 2 twice as loud

        min 0 · max 2 · default 1
      • fadeInnumber

        Seconds of fade at the start of the track

        min 0 · max 10 · default 0
      • fadeOutnumber

        Seconds of fade at the end of the track (where it stops, or where the video ends if it was cut there)

        min 0 · max 10 · default 0
      • loopboolean

        Repeat the chosen part (start to end) until the video ends; the part must be at most 10 minutes long

        default false
      • duckboolean

        Lower this track while the clips have sound (sidechain compression), so speech in the clips stays clear over music

        default false
  • fileNamestring

    Display name (default: Edit of N clips)

  • maxHeightinteger
    one of 720, 1080, 1440, 2160 · default 1080
  • redactionsarray of Redaction

    On the edit's own timeline

    max items 20
    • typestringrequired

      box = solid black bar

      one of "blur", "box"
    • shapestring
      one of "rect", "ellipse" · default "rect"
    • xnumber

      Fraction of the final frame width

      min 0 · max 1
    • ynumber
      min 0 · max 1
    • wnumber
      min 0 · max 1
    • hnumber
      min 0 · max 1
    • startnumber

      Seconds

      default 0
    • endnumber

      Seconds; null = until the end

    • trackarray of object

      Keyframes for moving content, in time order; the region glides between them (instead of x, y, w, h)

      max items 50
      • timenumberrequired

        Seconds on the output timeline

        min 0
      • xnumberrequired
        min 0 · max 1
      • ynumberrequired
        min 0 · max 1
      • wnumberrequired
        min 0 · max 1
      • hnumberrequired
        min 0 · max 1
  • overlaysarray of Overlay

    1-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 items 4
    • fileNamestringrequired

      The image's name (shown in status; never a storage key)

      min length 1 · max length 200
    • sizeBytesintegerrequired

      The file's size in bytes (up to 10 MB); decides the part count (always 1)

      min 1 · max 10485760
    • positionstring

      Where 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"
    • marginnumber

      With position: the gap to the edges it's placed against, as a fraction of the frame's shorter side

      min 0 · max 0.25 · default 0.03
    • xnumber

      Instead 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

      min 0 · max 1
    • ynumber

      Instead 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

      min 0 · max 1
    • wnumber

      The image's width as a fraction of the frame's width (the height follows). Not with h

      min 0 · max 1 · default 0.15
    • hnumber

      Instead of w: the image's height as a fraction of the frame's height (the width follows)

      min 0 · max 1
    • startnumber

      Seconds on the video's timeline (after a trim; an edit's own timeline) where it appears

      min 0 · default 0
    • endnumber

      Seconds where it goes; null = to the end. At least 0.1 s after start

    • opacitynumber

      1 as the image is; lower is more see-through (multiplies the image's own transparency)

      min 0 · max 1 · default 1
    • fadeInnumber

      Seconds of fade at the start of its time window

      min 0 · max 10 · default 0
    • fadeOutnumber

      Seconds of fade at the end of its time window (with end null, ending where the video ends)

      min 0 · max 10 · default 0
  • 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.

    One of:
    boolean
    object
    • languagestring
  • 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.

    One of:
    boolean
    object
    • typesarray of string
      default ["secrets", "emails", "cards"]
    • stylestring
      one of "blur", "box" · default "blur"
    • reviewboolean

      Stop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess

      default false
  • metadataMetadata

    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.

Responses
201Created
application/json object
{
  "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
  • videoIdstring
  • partSizeinteger

    Uploads only. Bytes per part (last part may be smaller)

  • partCountinteger

    Uploads only

  • cameraobject
    • partSizeinteger
    • partCountinteger
  • clipsinteger

    Edits only

  • audioarray of object

    Edits 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

    • filestring

      The file name to send in the parts request

    • fileNamestring
    • partSizeinteger
    • partCountinteger
  • overlaysarray of object

    Uploads 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

    • filestring

      The file name to send in the parts request

    • fileNamestring
    • partSizeinteger
    • partCountinteger

      Always 1 (an image is at most 10 MB)

  • statusstring

    UPLOADING 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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404Edit: a clip's videoId is not yours
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
409Edit: a clip's video has not finished processing
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
429Rate limit or daily video limit
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

operationId createVideo

GET/videos/{videoId}Status, timing and (when finished) download, playback and streaming links
Parameters
NameInTypeDescription
videoIdrequiredpathstring
linkTtlqueryinteger

Seconds the playback and streaming links last (default max(1800, 2x the video's length), at most 86400)

Responses
200Current state
application/json object
{
  "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
  • videoIdstring
  • statusstring

    NEEDS_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"
  • modestring

    test for a test-mode video (free, marked TEST, deleted after 24 hours)

    one of "live", "test"
  • deletesAtinteger

    Test videos only: Unix time they are deleted (about 24 hours after they were made)

  • effectiveobject

    Test videos only: what the video is really made with, whatever was asked for

    • maxHeightinteger
    • maxSecondsinteger
    • streamingboolean
  • readyAtnumber

    Unix time the output was published

  • downloadUrlstring

    Pre-signed MP4 link (SUCCEEDED only)

  • posterUrlstring

    Pre-signed still frame for thumbnails (SUCCEEDED only): the automatic frame, or the one chosen with POST /videos/{videoId}/thumbnail

  • The current thumbnail

    • sourcestring

      frame: a moment chosen with time; custom: your image

      one of "auto", "candidate", "frame", "custom"
    • indexinteger
    • timenumber

      Seconds into the video

    • 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)

      • xnumberrequired
        min 0 · max 1
      • ynumberrequired
        min 0 · max 1
      • wnumberrequired
        min 0.02 · max 1
      • hnumberrequired
        min 0.02 · max 1
    • statusstring

      Only for a time or a crop, which a job makes

      one of "processing", "ready", "failed"
    • errorstring

      Why it failed (status failed)

    • updatedAtinteger
  • playbackUrlstring

    Signed, 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

  • posterPlaybackUrlstring

    The poster frame through the same signed link

  • playbackExpiresAtnumber

    Unix time the playback links expire

  • embedEmbed
    • videoIdstring
    • enabledboolean
    • urlstring

      https://<site>/embed/<videoId>?t=<token>; add autoplay=1, loop=1, cc=1, start=<seconds>

    • iframestring

      Ready-to-paste <iframe> code

  • streamUrlstring

    HLS master playlist link (Pro and Scale plans only); same lifetime and domain lock as playbackUrl

  • streamExpiresAtnumber

    Unix time the streaming link expires

  • captionsobject

    Only for videos made with captions. The video is published first; captions follow.

    • statusstring
      one of "processing", "ready", "skipped", "failed"
    • languagestring

      Spoken language (detected unless requested)

    • reasonstring

      Why captions were skipped

    • vttUrlstring

      WebVTT file (valid 15 minutes)

    • srtUrlstring

      SubRip file (valid 15 minutes)

    • txtUrlstring

      Plain-text transcript (valid 15 minutes)

  • reviewobject

    NEEDS_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 string
    • stylestring
      one of "blur", "box"
    • foundinteger

      Things found (several can share one region when there are many)

    • proposedarray of any

      Each region auto-redaction would apply, with a picture of the frame it was first seen in

    • secretsarray of FoundSecret

      When 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.

      • typestring

        The 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"
      • namestring

        The format in words, e.g. Stripe live secret key

      • lastFourstring

        The 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

      • startnumber

        Seconds on the video's timeline from which it is hidden

      • endnumber

        ...and until which (null: to the end of the video)

      • appearancesinteger

        How many separate times it was on screen

    • redactionsarray of Redaction

      The request's own redactions (not applied either; send them again)

      • typestringrequired

        box = solid black bar

        one of "blur", "box"
      • shapestring
        one of "rect", "ellipse" · default "rect"
      • xnumber

        Fraction of the final frame width

        min 0 · max 1
      • ynumber
        min 0 · max 1
      • wnumber
        min 0 · max 1
      • hnumber
        min 0 · max 1
      • startnumber

        Seconds

        default 0
      • endnumber

        Seconds; null = until the end

      • trackarray of object

        Keyframes for moving content, in time order; the region glides between them (instead of x, y, w, h)

        max items 50
        • timenumberrequired

          Seconds on the output timeline

          min 0
        • xnumberrequired
          min 0 · max 1
        • ynumberrequired
          min 0 · max 1
        • wnumberrequired
          min 0 · max 1
        • hnumberrequired
          min 0 · max 1
    • durationSecondsnumber
    • previewUrlstring

      The upload itself (valid 15 minutes)

    • linksExpireInSecondsinteger
  • autoRedactionobject

    Only 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 string
    • stylestring
      one of "blur", "box"
    • foundinteger

      Things found (several can share one region when there are many)

    • secretsarray of FoundSecret

      When 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.

      • typestring

        The 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"
      • namestring

        The format in words, e.g. Stripe live secret key

      • lastFourstring

        The 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

      • startnumber

        Seconds on the video's timeline from which it is hidden

      • endnumber

        ...and until which (null: to the end of the video)

      • appearancesinteger

        How many separate times it was on screen

    • regionsarray of object
      • kindstring
        one of "secret", "email", "card", "face", "mixed"
      • typestring
        one of "blur", "box"
      • shapestring
        one of "rect", "ellipse"
      • startnumber
      • endnumber
      • xnumber
      • ynumber
      • wnumber
      • hnumber
      • trackarray of object

        Keyframes when the item moved

  • editobject

    Edits only - how the video was cut, exactly as requested

    • clipsarray of Clip
      • videoIdstringrequired

        One of your finished (SUCCEEDED) videos; may repeat

        pattern "^[a-f0-9]{32}$"
      • startnumber

        Seconds into that video

        min 0 · default 0
      • endnumber

        Seconds into that video; null = to its end

      • transitionobject

        How this clip starts from the previous one (hard cut if omitted; not on the first clip)

        • typestring
          one of "fade", "fadeblack" · default "fade"
        • secondsnumber
          min 0.1 · max 3 · default 0.5
      • volumenumber

        This clip's own sound: 1 as recorded, 0 mutes it (for example under music), 2 twice as loud

        min 0 · max 2 · default 1
    • audioarray of AudioTrack

      Only for an edit with audio tracks - each track's settings (never where the file is stored)

      • fileNamestringrequired

        The file's name (shown in status; never a storage key)

        min length 1 · max length 200
      • sizeBytesintegerrequired

        The file's size in bytes (up to 200 MB); decides the part count

        min 1 · max 209715200
      • atnumber

        Seconds on the edit's timeline where the track starts; must be before the edit ends

        min 0 · default 0
      • startnumber

        Seconds into the file: where to start reading it

        min 0 · default 0
      • endnumber

        Seconds into the file; null = to its end. At least 0.1 s after start

      • volumenumber

        1 as in the file, 0.4 quiet music under speech, 2 twice as loud

        min 0 · max 2 · default 1
      • fadeInnumber

        Seconds of fade at the start of the track

        min 0 · max 10 · default 0
      • fadeOutnumber

        Seconds of fade at the end of the track (where it stops, or where the video ends if it was cut there)

        min 0 · max 10 · default 0
      • loopboolean

        Repeat the chosen part (start to end) until the video ends; the part must be at most 10 minutes long

        default false
      • duckboolean

        Lower this track while the clips have sound (sidechain compression), so speech in the clips stays clear over music

        default false
  • trimTrim

    Keep only part of the upload (frame-accurate, no extra encode). Redaction times are on the trimmed timeline.

    • startnumber
      min 0 · default 0
    • endnumber

      null = to the end

  • overlaysarray of Overlay

    Only for videos made with overlays - each image's settings as they apply, in drawing order, without sizeBytes (never where the file is stored)

    • fileNamestringrequired

      The image's name (shown in status; never a storage key)

      min length 1 · max length 200
    • sizeBytesintegerrequired

      The file's size in bytes (up to 10 MB); decides the part count (always 1)

      min 1 · max 10485760
    • positionstring

      Where 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"
    • marginnumber

      With position: the gap to the edges it's placed against, as a fraction of the frame's shorter side

      min 0 · max 0.25 · default 0.03
    • xnumber

      Instead 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

      min 0 · max 1
    • ynumber

      Instead 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

      min 0 · max 1
    • wnumber

      The image's width as a fraction of the frame's width (the height follows). Not with h

      min 0 · max 1 · default 0.15
    • hnumber

      Instead of w: the image's height as a fraction of the frame's height (the width follows)

      min 0 · max 1
    • startnumber

      Seconds on the video's timeline (after a trim; an edit's own timeline) where it appears

      min 0 · default 0
    • endnumber

      Seconds where it goes; null = to the end. At least 0.1 s after start

    • opacitynumber

      1 as the image is; lower is more see-through (multiplies the image's own transparency)

      min 0 · max 1 · default 1
    • fadeInnumber

      Seconds of fade at the start of its time window

      min 0 · max 10 · default 0
    • fadeOutnumber

      Seconds of fade at the end of its time window (with end null, ending where the video ends)

      min 0 · max 10 · default 0
  • startedAtnumber

    Unix time processing started

  • stoppedAtnumber
  • progressobject
    • plannedboolean
    • chunksTotalinteger
    • chunksDoneinteger
    • audioDoneboolean
    • videoSecondsnumber
    • topRenditionstring
  • downloadExpiresInSecondsinteger
  • resultobject

    SUCCEEDED only - publication status

    • jobIdstring
    • downloadAvailableboolean
    • streamAvailableboolean

      Whether a playable streaming link exists

  • processingobject

    SUCCEEDED only - which outputs were stream-copied from the upload and which were encoded

    • passthroughboolean

      True when at least one output was copied instead of re-encoded

    • remuxedarray of string
    • encodedarray of string
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

operationId getVideo

PATCH/videos/{videoId}Update a video's title, description or metadata (null clears a field or a metadata key)
Parameters
NameInTypeDescription
videoIdrequiredpathstring
Request body required
application/json object
{
  "title": "Quarterly update",
  "metadata": {
    "courseId": "algebra-2",
    "archived": null
  }
}
Schema
  • titlestring | null

    One line; null or empty clears it

    max length 200
  • descriptionstring | null

    Line breaks kept; null or empty clears it

    max length 5000
  • metadataobject
Responses
200Updated
application/json object
{
  "videoId": "string",
  "metadata": {}
}
Schema
  • videoIdstring
  • metadataMetadata

    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.

400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
409IDEMPOTENCY_KEY_REUSED, IDEMPOTENCY_IN_PROGRESS, or other conflict
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
videoIdrequiredpathstring
Responses
200Deleted
application/json object
{
  "videoId": "string",
  "deleted": true,
  "originalDeleted": false,
  "freedBytes": 0
}
Schema
  • videoIdstring
  • deletedboolean
  • originalDeletedboolean

    Whether the original upload was also removed

  • freedBytesinteger

    Total bytes removed from storage

400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
videoIdrequiredpathstring
Request body required
application/json object
{
  "enabled": false
}
Schema
  • enabledbooleanrequired
Responses
200The embed state
application/json Embed
{
  "videoId": "string",
  "enabled": false,
  "url": "string",
  "iframe": "string"
}
Schema
  • videoIdstring
  • enabledboolean
  • urlstring

    https://<site>/embed/<videoId>?t=<token>; add autoplay=1, loop=1, cc=1, start=<seconds>

  • iframestring

    Ready-to-paste <iframe> code

400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
videoIdrequiredpathstring
Responses
200The chapters
application/json Chapters
{
  "videoId": "string",
  "chapters": [
    {
      "start": 0,
      "title": "string"
    }
  ],
  "chaptersUrl": "string"
}
Schema
  • videoIdstring
  • chaptersarray of Chapter
    • startnumberrequired

      Seconds into the video where the chapter begins.

      min 0
    • titlestringrequired

      One line.

      min length 1 · max length 100
  • 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
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
videoIdrequiredpathstring
Request body required
application/json object
{
  "chapters": [
    {
      "start": 0,
      "title": "string"
    }
  ]
}
Schema
  • chaptersarray of Chapterrequired
    max items 100
    • startnumberrequired

      Seconds into the video where the chapter begins.

      min 0
    • titlestringrequired

      One line.

      min length 1 · max length 100
Responses
200The saved chapters
application/json Chapters
{
  "videoId": "string",
  "chapters": [
    {
      "start": 0,
      "title": "string"
    }
  ],
  "chaptersUrl": "string"
}
Schema
  • videoIdstring
  • chaptersarray of Chapter
    • startnumberrequired

      Seconds into the video where the chapter begins.

      min 0
    • titlestringrequired

      One line.

      min length 1 · max length 100
  • 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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
409The video hasn't finished processing (NOT_READY)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

operationId setChapters

DELETE/videos/{videoId}/chaptersRemove a video's chapters
Parameters
NameInTypeDescription
videoIdrequiredpathstring
Responses
200No chapters
application/json Chapters
{
  "videoId": "string",
  "chapters": [
    {
      "start": 0,
      "title": "string"
    }
  ],
  "chaptersUrl": "string"
}
Schema
  • videoIdstring
  • chaptersarray of Chapter
    • startnumberrequired

      Seconds into the video where the chapter begins.

      min 0
    • titlestringrequired

      One line.

      min length 1 · max length 100
  • 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
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
videoIdrequiredpathstring
Responses
200OK
application/json object
{
  "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
  • videoIdstring
  • The current thumbnail

    • sourcestring

      frame: a moment chosen with time; custom: your image

      one of "auto", "candidate", "frame", "custom"
    • indexinteger
    • timenumber

      Seconds into the video

    • 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)

      • xnumberrequired
        min 0 · max 1
      • ynumberrequired
        min 0 · max 1
      • wnumberrequired
        min 0.02 · max 1
      • hnumberrequired
        min 0.02 · max 1
    • statusstring

      Only for a time or a crop, which a job makes

      one of "processing", "ready", "failed"
    • errorstring

      Why it failed (status failed)

    • updatedAtinteger
  • posterUrlstring
  • durationSecondsnumber

    The video's length, for choosing a time

  • playbackUrlstring

    A signed link to play the video (locked to your allowed domains), for picking a moment

  • linkExpiresInSecondsinteger
  • candidatesarray of object
    • indexinteger
    • timenumber
    • urlstring
409The video isn't ready yet (NOT_READY)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
videoIdrequiredpathstring
Request body required
application/json object | object | object
{
  "candidate": 2,
  "crop": {
    "x": 0.21875,
    "y": 0,
    "w": 0.5625,
    "h": 1
  }
}
Schema
One of:
object
  • candidateintegerrequired
  • 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)

    • xnumberrequired
      min 0 · max 1
    • ynumberrequired
      min 0 · max 1
    • wnumberrequired
      min 0.02 · max 1
    • hnumberrequired
      min 0.02 · max 1
object
  • imagestringrequired

    The image file's bytes

  • contentTypestringrequired
    one of "image/jpeg", "image/png"
  • 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)

    • xnumberrequired
      min 0 · max 1
    • ynumberrequired
      min 0 · max 1
    • wnumberrequired
      min 0.02 · max 1
    • hnumberrequired
      min 0.02 · max 1
object
  • timenumberrequired

    Seconds into the video, from 0 to under durationSeconds

  • 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)

    • xnumberrequired
      min 0 · max 1
    • ynumberrequired
      min 0 · max 1
    • wnumberrequired
      min 0.02 · max 1
    • hnumberrequired
      min 0.02 · max 1
Responses
202A time or a crop: a job is making the thumbnail (usually within a minute)
application/json object
{
  "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
  • videoIdstring
  • requestIdstring
  • The current thumbnail

    • sourcestring

      frame: a moment chosen with time; custom: your image

      one of "auto", "candidate", "frame", "custom"
    • indexinteger
    • timenumber

      Seconds into the video

    • 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)

      • xnumberrequired
        min 0 · max 1
      • ynumberrequired
        min 0 · max 1
      • wnumberrequired
        min 0.02 · max 1
      • hnumberrequired
        min 0.02 · max 1
    • statusstring

      Only for a time or a crop, which a job makes

      one of "processing", "ready", "failed"
    • errorstring

      Why it failed (status failed)

    • updatedAtinteger
200The new thumbnail
application/json object
{
  "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
  • videoIdstring
  • The current thumbnail

    • sourcestring

      frame: a moment chosen with time; custom: your image

      one of "auto", "candidate", "frame", "custom"
    • indexinteger
    • timenumber

      Seconds into the video

    • 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)

      • xnumberrequired
        min 0 · max 1
      • ynumberrequired
        min 0 · max 1
      • wnumberrequired
        min 0.02 · max 1
      • hnumberrequired
        min 0.02 · max 1
    • statusstring

      Only for a time or a crop, which a job makes

      one of "processing", "ready", "failed"
    • errorstring

      Why it failed (status failed)

    • updatedAtinteger
  • posterUrlstring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
409Not ready yet (NOT_READY), or made before thumbnail choices existed (NO_CANDIDATES)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
413The image is larger than 2 MB (TOO_LARGE)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
application/json object
{
  "expiresIn": 3600,
  "maxBytes": 0,
  "maxSeconds": 0,
  "maxHeight": 720,
  "captions": false,
  "autoRedact": false,
  "metadata": {}
}
Schema
  • expiresIninteger

    Seconds to start the upload; once started, the token works for it for 24 hours

    min 60 · max 86400 · default 3600
  • maxBytesinteger

    Largest upload (default: the account's upload limit)

  • maxSecondsinteger

    The video is trimmed to this length

    min 5 · max 28800
  • maxHeightinteger
    one of 720, 1080, 1440, 2160
  • 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.

    One of:
    boolean
    object
    • languagestring
  • 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.

    One of:
    boolean
    object
    • typesarray of string
      default ["secrets", "emails", "cards"]
    • stylestring
      one of "blur", "box" · default "blur"
    • reviewboolean

      Stop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess

      default false
  • metadataMetadata

    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.

Responses
201The token (shown once; only its hash is stored)
application/json object
{
  "uploadToken": "vpu_…",
  "tokenId": "string",
  "expiresAt": 0,
  "policy": {}
}
Schema
  • uploadTokenstring
  • tokenIdstring
  • expiresAtinteger
  • policyobject
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
403PLAN_UPGRADE_REQUIRED (captions) or UPLOAD_TOKEN_SCOPE (a token can't make tokens)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
application/json object
{
  "videoIds": [
    "string"
  ],
  "expiresIn": 900,
  "maxSeconds": 0,
  "title": "string",
  "metadata": {}
}
Schema
  • videoIdsarray of stringrequired

    Your finished videos the editor may use

    max items 20
  • expiresIninteger

    Seconds the token works; once its edit is created it works for that video's status for 24 hours

    min 60 · max 86400 · default 900
  • maxSecondsinteger

    The longest the result may be (after crossfades)

    min 1 · max 28800
  • titlestring

    The new video's name (the browser can't change it)

    max length 200
  • metadataMetadata

    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.

Responses
201The token (shown once; only its hash is stored)
application/json object
{
  "token": "vpe_…",
  "expiresAt": 0,
  "videoIds": [
    "string"
  ]
}
Schema
  • tokenstring
  • expiresAtinteger
  • videoIdsarray of string
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
403EDIT_TOKEN_SCOPE or UPLOAD_TOKEN_SCOPE (a token can't make tokens)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: a video isn't yours (details name each one)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
409EDIT_SOURCE_NOT_READY: a video hasn't finished processing
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
application/json object
{
  "videoId": "string",
  "expiresIn": 900
}
Schema
  • videoIdstringrequired

    One of your finished videos

  • expiresIninteger

    Seconds the token works

    min 60 · max 86400 · default 900
Responses
201The token (shown once; only its hash is stored)
application/json object
{
  "token": "vpt_…",
  "expiresAt": 0,
  "videoId": "string"
}
Schema
  • tokenstring
  • expiresAtinteger
  • videoIdstring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
403A token can't make tokens (UPLOAD_TOKEN_SCOPE, EDIT_TOKEN_SCOPE or THUMBNAIL_TOKEN_SCOPE)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: the video isn't yours
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
409NOT_READY: the video hasn't finished processing
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
application/json object
{
  "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 object
    • videoIdstring
    • durationSecondsnumber
    • widthinteger
    • heightinteger
    • playbackUrlstring
    • posterUrlstring
    • thumbnailsarray of object
      • timenumber
      • urlstring
  • maxSecondsinteger
  • titlestring
  • refreshInSecondsinteger
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
403EDIT_TOKEN_SCOPE (not an edit token)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404The token's videos are no longer available
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
videoIdrequiredpathstring
Request body required
application/json object
{
  "partNumbers": [
    1,
    2
  ],
  "file": "source",
  "parts": [
    {
      "partNumber": 0,
      "sizeBytes": 0
    }
  ]
}
Schema
  • partNumbersarray of integer

    For normal uploads (1-100 per call)

  • filestring

    source (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 object

    For streaming uploads, each part with its exact size (>= 5 MiB except the last)

    • partNumberinteger
    • sizeBytesinteger
Responses
200URLs valid for 15 minutes; PUT the bytes with exactly sizeBytes as Content-Length
application/json object
{
  "parts": [
    {
      "partNumber": 0,
      "sizeBytes": 0,
      "url": "string"
    }
  ],
  "expiresInSeconds": 0
}
Schema
  • partsarray of object
    • partNumberinteger
    • sizeBytesinteger
    • urlstring
  • expiresInSecondsinteger
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
dryRunqueryboolean

Validate only: nothing is created or started (answers 200 with valid: true)

videoIdrequiredpathstring
Idempotency-Keyheaderstring

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
application/json object
{
  "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 Redaction
    max items 20
    • typestringrequired

      box = solid black bar

      one of "blur", "box"
    • shapestring
      one of "rect", "ellipse" · default "rect"
    • xnumber

      Fraction of the final frame width

      min 0 · max 1
    • ynumber
      min 0 · max 1
    • wnumber
      min 0 · max 1
    • hnumber
      min 0 · max 1
    • startnumber

      Seconds

      default 0
    • endnumber

      Seconds; null = until the end

    • trackarray of object

      Keyframes for moving content, in time order; the region glides between them (instead of x, y, w, h)

      max items 50
      • timenumberrequired

        Seconds on the output timeline

        min 0
      • xnumberrequired
        min 0 · max 1
      • ynumberrequired
        min 0 · max 1
      • wnumberrequired
        min 0 · max 1
      • hnumberrequired
        min 0 · max 1
  • deleteOriginalboolean

    Delete the unredacted upload after the output is published

  • trimTrim

    Keep only part of the upload (frame-accurate, no extra encode). Redaction times are on the trimmed timeline.

    • startnumber
      min 0 · default 0
    • endnumber

      null = to the end

  • 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.

    One of:
    boolean
    object
    • languagestring
  • 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.

    One of:
    boolean
    object
    • typesarray of string
      default ["secrets", "emails", "cards"]
    • stylestring
      one of "blur", "box" · default "blur"
    • reviewboolean

      Stop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess

      default false
  • sourceobject

    Streaming uploads only

    • sizeBytesinteger
    • partCountinteger
  • cameraobject

    Streaming uploads only

    • sizeBytesinteger
    • partCountinteger
Responses
202Accepted; poll GET /videos/{videoId}
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
409Upload incomplete (the video, an overlay image or an audio file is missing parts) or sizes don't match
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
videoIdrequiredpathstring
Responses
200Cancelled
409Upload already completed
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
videoIdrequiredpathstring
Responses
200OK
409Not an unfinished streaming upload with prestart
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
videoIdrequiredpathstring
Responses
200Stopped; includes terminatedJobs
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
dryRunqueryboolean

Validate only: nothing is created or started (answers 200 with valid: true)

videoIdrequiredpathstring
Idempotency-Keyheaderstring

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
application/json object
{
  "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
  • maxHeightinteger
    one of 720, 1080, 1440, 2160
  • redactionsarray of Redaction
    max items 20
    • typestringrequired

      box = solid black bar

      one of "blur", "box"
    • shapestring
      one of "rect", "ellipse" · default "rect"
    • xnumber

      Fraction of the final frame width

      min 0 · max 1
    • ynumber
      min 0 · max 1
    • wnumber
      min 0 · max 1
    • hnumber
      min 0 · max 1
    • startnumber

      Seconds

      default 0
    • endnumber

      Seconds; null = until the end

    • trackarray of object

      Keyframes for moving content, in time order; the region glides between them (instead of x, y, w, h)

      max items 50
      • timenumberrequired

        Seconds on the output timeline

        min 0
      • xnumberrequired
        min 0 · max 1
      • ynumberrequired
        min 0 · max 1
      • wnumberrequired
        min 0 · max 1
      • hnumberrequired
        min 0 · max 1
  • deleteOriginalboolean

    Uploads only

  • trimTrim

    Keep only part of the upload (frame-accurate, no extra encode). Redaction times are on the trimmed timeline.

    • startnumber
      min 0 · default 0
    • endnumber

      null = to the end

  • 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.

    One of:
    boolean
    object
    • languagestring
  • 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.

    One of:
    boolean
    object
    • typesarray of string
      default ["secrets", "emails", "cards"]
    • stylestring
      one of "blur", "box" · default "blur"
    • reviewboolean

      Stop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess

      default false
  • metadataMetadata

    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.

Responses
201New video created; poll its status
application/json object
{
  "videoId": "string",
  "reprocessOf": "string"
}
Schema
  • videoIdstring
  • reprocessOfstring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
409The original upload never completed
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
monthquerystring

YYYY-MM (default: current month)

Responses
200Usage summary
application/json object
{
  "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
  • monthstring
  • completeboolean

    Whether the month is complete (now >= month end)

  • processingobject
    • videosinteger

      Count of videos that finished processing

    • outputMinutesnumber

      Sum of output duration (after trim/edit)

    • billableMinutesnumber

      max(60

  • storageobject
    • gbMonthsnumber

      Byte-time (bytes × time) for bytes kept

    • storedGbnumber

      What is stored right now

    • notestring
  • deliveryobject
    • gbnumber

      Gigabytes 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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
application/json object
{
  "email": "user@example.com",
  "intent": "signin"
}
Schema
  • emailstringrequired
  • intentstring

    Optional; accepted but never changes the response, so this endpoint does not reveal whether an account exists.

    one of "signin", "signup"
Responses
200Code sent
application/json object
{
  "sent": false,
  "expiresInSeconds": 0
}
Schema
  • sentboolean
  • expiresInSecondsinteger
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
429Rate limited
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
application/json object
{
  "email": "user@example.com",
  "code": "123456",
  "acceptTerms": false,
  "intent": "signin",
  "profile": {
    "fullName": "string",
    "company": "string",
    "role": "string",
    "useCase": "string",
    "country": "string"
  }
}
Schema
  • emailstringrequired
  • codestringrequired
    pattern "^\\d{6}$"
  • acceptTermsboolean

    Required to create an account

  • intentstring

    Optional; see above

    one of "signin", "signup"
  • profileobject

    With intent signup: saved on the new account. fullName is required.

    • fullNamestring
      max length 100
    • companystring
      max length 100
    • rolestring
    • useCasestring
    • countrystring
      max length 60
Responses
200Verified
application/json object
{
  "sessionToken": "vps_...",
  "expiresAt": 0,
  "created": false,
  "account": {
    "email": "string",
    "plan": "string",
    "user": "string"
  }
}
Schema
  • sessionTokenstring
  • expiresAtinteger

    Unix time

  • createdboolean

    True if a new account was created

  • accountobject
    • emailstring
    • planstring
    • userstring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404intent signin and no account for this email (NO_ACCOUNT)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
429Rate limited
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

operationId verifySignIn

POST/auth/signoutEnd a session (session token only)
Responses
200Signed out
application/json object
{
  "signedOut": false
}
Schema
  • signedOutboolean
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

operationId signOut

GET/accountYour account info, plan and this month's usage
Responses
200Account details
application/json object
{
  "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
  • emailstring
  • userstring
  • planstring

    A 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)

  • planNamestring
  • trialboolean

    A free trial: the plan's features, with usage stopping at 100 minutes, 10 GB stored and 15 GB delivered

  • readOnlyboolean

    No plan: videos can be listed, played and downloaded; nothing new is processed (PLAN_REQUIRED)

  • createdAtstring (date-time)
  • profileCompleteboolean

    Whether the account's profile (name) has been filled in

  • profileProfile

    The account's "about you" answers (empty strings when not given).

    • fullNamestring
    • companystring
    • rolestring
    • useCasestring
    • countrystring
    • completedAtstring (date-time)
  • limitsobject
    • minutesinteger

      Monthly processing minutes (billable)

    • storageGbinteger

      Monthly storage in GB

    • maxHeightinteger
      one of 720, 1080, 1440, 2160
    • featuresarray of string
    • videosPerDayinteger
    • apiKeysinteger

      Max simultaneous API keys

    • overageboolean

      Whether overage is billed

  • usageobject
    • monthstring
    • billableMinutesnumber
    • videosinteger
    • storedGbnumber
    • gbMonthsnumber
  • sessionboolean

    True if authenticated with a session token

  • allowedDomainsarray of string

    Playback links only play on these sites (empty: any site)

  • billingobject
    • customerboolean

      Has a Stripe customer ID

401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

operationId getAccount

GET/account/keysList your API keys (never the keys themselves)
Responses
200API keys
application/json object
{
  "keys": [
    {
      "keyId": "string",
      "label": "string",
      "createdAt": "string",
      "revoked": false,
      "prefix": "string",
      "mode": "live"
    }
  ]
}
Schema
  • keysarray of object
    • keyIdstring
    • labelstring
    • createdAtstring (date-time)
    • revokedboolean
    • prefixstring

      First 8 chars of the key (12 for a test key)

    • modestring

      A test key starts with vp_test_

      one of "live", "test"
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

operationId listApiKeys

POST/account/keysCreate an API key (session token only)
Request body required
application/json object
{
  "label": "string",
  "mode": "live"
}
Schema
  • labelstring

    Optional label for the key

    max length 60
  • modestring

    test 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
application/json object
{
  "key": "string",
  "keyId": "string",
  "label": "string",
  "mode": "live",
  "note": "string"
}
Schema
  • keystring

    The full key (shown only once)

  • keyIdstring
  • labelstring
  • modestring
    one of "live", "test"
  • notestring

    Copy it now: it can't be shown again

401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
403Session required or plan limit reached
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

operationId createApiKey

DELETE/account/keys/{keyId}Revoke an API key (session token only)
Parameters
NameInTypeDescription
keyIdrequiredpathstring
Responses
200Revoked
application/json object
{
  "keyId": "string",
  "revoked": false
}
Schema
  • keyIdstring
  • revokedboolean
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
403Session required
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
application/json object
{
  "fullName": "string",
  "company": "string",
  "role": "",
  "useCase": "",
  "country": "string"
}
Schema
  • fullNamestringrequired
    max length 100
  • companystring
    max length 100
  • rolestring
    one of "", "Developer", "Product/Design", "Founder/Executive", "Marketing/Content", "Other"
  • useCasestring
    one of "", "Product videos/onboarding", "User-generated content", "Courses/education", "Marketing", "Internal tools", "Other"
  • countrystring
    max length 60
Responses
200Saved
application/json Profile
{
  "fullName": "string",
  "company": "string",
  "role": "string",
  "useCase": "string",
  "country": "string",
  "completedAt": "string"
}
Schema
  • fullNamestring
  • companystring
  • rolestring
  • useCasestring
  • countrystring
  • completedAtstring (date-time)
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
application/json object
{
  "domains": [
    "*.example.com"
  ]
}
Schema
  • domainsarray of stringrequired

    Hostnames; *.example.com matches subdomains. [] allows any site.

    max items 20
Responses
200Saved (cleaned list)
application/json object
{
  "domains": [
    "string"
  ]
}
Schema
  • domainsarray of string
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
403Session required
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
application/json object
{
  "plan": "starter"
}
Schema
  • planstringrequired
    one of "starter", "growth", "pro", "scale"
Responses
200Checkout page
application/json object
{
  "url": "string"
}
Schema
  • urlstring
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
409Already subscribed (ALREADY_SUBSCRIBED)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

operationId startCheckout

POST/billing/portalManage card, invoices and cancellation in Stripe's Customer Portal (signed-in account session only)
Responses
200Portal page
application/json object
{
  "url": "string"
}
Schema
  • urlstring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
409Never subscribed (NO_BILLING_ACCOUNT)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
application/json object
{
  "plan": "starter"
}
Schema
  • planstringrequired
    one of "starter", "growth", "pro", "scale", "none", "free"
Responses
200The billing state
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
409No subscription yet (NO_SUBSCRIPTION) or no change
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
409There is no trial to end (INVALID_STATE)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
application/json object
{
  "configured": false,
  "url": "string",
  "events": [
    "video.ready"
  ],
  "enabled": false,
  "secret": "string",
  "createdAt": "string",
  "updatedAt": "string"
}
Schema
  • configuredboolean
  • urlstring
  • eventsarray of string
  • enabledboolean
  • secretstring

    whsec_-prefixed signing secret

  • createdAtstring (date-time)
  • updatedAtstring (date-time)
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

operationId getWebhookConfig

PUT/webhookSet or update your webhook endpoint
Request body required
application/json object
{
  "url": "string",
  "events": [
    "video.ready"
  ],
  "enabled": false
}
Schema
  • urlstring (uri)required

    HTTPS only, public addresses only

  • eventsarray of string

    Defaults 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.

  • enabledboolean

    Defaults to true

Responses
200Saved
application/json object
{
  "configured": false,
  "url": "string",
  "events": [
    "string"
  ],
  "enabled": false,
  "secret": "string",
  "createdAt": "string",
  "updatedAt": "string"
}
Schema
  • configuredboolean
  • urlstring
  • eventsarray of string
  • enabledboolean
  • secretstring
  • createdAtstring (date-time)
  • updatedAtstring (date-time)
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

operationId setWebhookConfig

DELETE/webhookRemove your webhook endpoint
Responses
200Deleted
application/json object
{
  "configured": false
}
Schema
  • configuredboolean
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

operationId deleteWebhookConfig

POST/webhook/rotateGenerate a new signing secret (keep the URL)
Responses
200New secret
application/json object
{
  "configured": false,
  "url": "string",
  "events": [
    "string"
  ],
  "enabled": false,
  "secret": "string",
  "createdAt": "string",
  "updatedAt": "string"
}
Schema
  • configuredboolean
  • urlstring
  • eventsarray of string
  • enabledboolean
  • secretstring

    New whsec_-prefixed secret; old one stops working immediately

  • createdAtstring (date-time)
  • updatedAtstring (date-time)
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404No webhook is set up yet
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

operationId rotateWebhookSecret

POST/webhook/testSend a test event and report the result immediately
Responses
200Test sent and one attempt reported
application/json object
{
  "ok": false,
  "status": 0,
  "ms": 0,
  "error": "string",
  "response": "string",
  "eventId": "string"
}
Schema
  • okboolean
  • statusinteger

    HTTP status code from the endpoint

  • msinteger

    Milliseconds to respond (or error)

  • errorstring

    Error message if not ok

  • responsestring

    First 500 bytes of the response body

  • eventIdstring

    The test event ID

401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404No webhook is set up yet
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

operationId testWebhook

GET/webhook/deliveriesRecent webhook delivery attempts (kept for 30 days)
Parameters
NameInTypeDescription
limitqueryinteger
Responses
200Delivery log
application/json object
{
  "deliveries": [
    {
      "eventId": "string",
      "type": "string",
      "attempt": 0,
      "ok": false,
      "status": 0,
      "ms": 0,
      "error": "string",
      "response": "string",
      "at": 0,
      "final": false
    }
  ]
}
Schema
  • deliveriesarray of object
    • eventIdstring
    • typestring
    • attemptinteger
    • okboolean
    • statusinteger
    • msinteger

      Milliseconds taken

    • errorstring
    • responsestring

      First 500 bytes of response

    • atinteger

      Unix time

    • finalboolean

      Whether retries will stop

401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
503UNAVAILABLE: temporary failure; retry with backoff
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

operationId listWebhookDeliveries

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
NameInTypeDescription
limitqueryinteger
nextTokenquerystring
Responses
200A page of streams
application/json object
{
  "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 LiveStream
    • liveStreamIdstring
    • statusstring
      one of "idle", "live", "ended", "expired", "failed"
    • modestring
      one of "live", "test"
    • titlestring
    • descriptionstring
    • metadataMetadata

      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.

    • recordboolean
    • maxDurationMinutesinteger
    • createdAtinteger
    • startedAtinteger
    • endedAtinteger
    • durationSecondsinteger
    • viewersinteger

      While live

    • videoIdstring

      The video saved from the recording

    • usageobject
      • broadcastMinutesnumber
      • viewerHoursnumber
    • Where to broadcast. OBS, Custom service - server rtmpsUrl, key streamKey. The browser broadcaster takes the same two.

      • rtmpsUrlstring
      • streamKeystring
    • watchobject
      • urlstring
      • iframestring
    • playbackUrlstring

      Signed low-latency HLS

    • playbackExpiresAtinteger
  • nextTokenstring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
dryRunqueryboolean

Validate only: nothing is created or started (answers 200 with valid: true)

Request body
application/json object
{
  "title": "string",
  "description": "string",
  "metadata": {},
  "record": true,
  "captions": false,
  "autoRedact": false,
  "maxDurationMinutes": 120
}
Schema
  • titlestring
    max length 200
  • descriptionstring
    max length 5000
  • metadataMetadata

    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.

  • recordboolean

    Save the broadcast as a video when it ends

    default true
  • 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.

    One of:
    boolean
    object
    • languagestring
  • 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.

    One of:
    boolean
    object
    • typesarray of string
      default ["secrets", "emails", "cards"]
    • stylestring
      one of "blur", "box" · default "blur"
    • reviewboolean

      Stop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess

      default false
  • maxDurationMinutesinteger
    min 1 · max 480 · default 120
Responses
201The new stream
application/json LiveStream
{
  "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
  • liveStreamIdstring
  • statusstring
    one of "idle", "live", "ended", "expired", "failed"
  • modestring
    one of "live", "test"
  • titlestring
  • descriptionstring
  • metadataMetadata

    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.

  • recordboolean
  • maxDurationMinutesinteger
  • createdAtinteger
  • startedAtinteger
  • endedAtinteger
  • durationSecondsinteger
  • viewersinteger

    While live

  • videoIdstring

    The video saved from the recording

  • usageobject
    • broadcastMinutesnumber
    • viewerHoursnumber
  • Where to broadcast. OBS, Custom service - server rtmpsUrl, key streamKey. The browser broadcaster takes the same two.

    • rtmpsUrlstring
    • streamKeystring
  • watchobject
    • urlstring
    • iframestring
  • playbackUrlstring

    Signed low-latency HLS

  • playbackExpiresAtinteger
200dryRun only
application/json object
{}
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
403PLAN_UPGRADE_REQUIRED or TOKEN_SCOPE
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
409LIVE_LIMIT (the plan's streams open at once)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
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)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
liveStreamIdrequiredpathstring
Responses
200The stream
application/json LiveStream
{
  "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
  • liveStreamIdstring
  • statusstring
    one of "idle", "live", "ended", "expired", "failed"
  • modestring
    one of "live", "test"
  • titlestring
  • descriptionstring
  • metadataMetadata

    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.

  • recordboolean
  • maxDurationMinutesinteger
  • createdAtinteger
  • startedAtinteger
  • endedAtinteger
  • durationSecondsinteger
  • viewersinteger

    While live

  • videoIdstring

    The video saved from the recording

  • usageobject
    • broadcastMinutesnumber
    • viewerHoursnumber
  • Where to broadcast. OBS, Custom service - server rtmpsUrl, key streamKey. The browser broadcaster takes the same two.

    • rtmpsUrlstring
    • streamKeystring
  • watchobject
    • urlstring
    • iframestring
  • playbackUrlstring

    Signed low-latency HLS

  • playbackExpiresAtinteger
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
liveStreamIdrequiredpathstring
Request body required
application/json object
{
  "title": "string",
  "description": "string",
  "metadata": null
}
Schema
  • titlestring
    max length 200
  • descriptionstring
    max length 5000
  • metadataany
Responses
200The updated stream
application/json LiveStream
{
  "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
  • liveStreamIdstring
  • statusstring
    one of "idle", "live", "ended", "expired", "failed"
  • modestring
    one of "live", "test"
  • titlestring
  • descriptionstring
  • metadataMetadata

    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.

  • recordboolean
  • maxDurationMinutesinteger
  • createdAtinteger
  • startedAtinteger
  • endedAtinteger
  • durationSecondsinteger
  • viewersinteger

    While live

  • videoIdstring

    The video saved from the recording

  • usageobject
    • broadcastMinutesnumber
    • viewerHoursnumber
  • Where to broadcast. OBS, Custom service - server rtmpsUrl, key streamKey. The browser broadcaster takes the same two.

    • rtmpsUrlstring
    • streamKeystring
  • watchobject
    • urlstring
    • iframestring
  • playbackUrlstring

    Signed low-latency HLS

  • playbackExpiresAtinteger
400INVALID_REQUEST: invalid body or parameter (the message names the field)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
liveStreamIdrequiredpathstring
Responses
200Deleted
application/json object
{
  "liveStreamId": "string",
  "deleted": false,
  "videoId": "string"
}
Schema
  • liveStreamIdstring
  • deletedboolean
  • videoIdstring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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
NameInTypeDescription
liveStreamIdrequiredpathstring
Responses
200The ingest
application/json object
{
  "liveStreamId": "string",
  "status": "string",
  "ingest": {
    "rtmpsUrl": "rtmps://a1b2c3.global-contribute.live-video.net:443/app/",
    "streamKey": "string"
  }
}
Schema
  • liveStreamIdstring
  • statusstring
  • Where to broadcast. OBS, Custom service - server rtmpsUrl, key streamKey. The browser broadcaster takes the same two.

    • rtmpsUrlstring
    • streamKeystring
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
409LIVE_ENDED
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

operationId getLiveStreamIngest

POST/live-streams/{liveStreamId}/endEnd a live stream now

Stops the broadcast; the status becomes ended a moment later.

Parameters
NameInTypeDescription
liveStreamIdrequiredpathstring
Responses
200Ending
application/json LiveStream
{
  "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
  • liveStreamIdstring
  • statusstring
    one of "idle", "live", "ended", "expired", "failed"
  • modestring
    one of "live", "test"
  • titlestring
  • descriptionstring
  • metadataMetadata

    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.

  • recordboolean
  • maxDurationMinutesinteger
  • createdAtinteger
  • startedAtinteger
  • endedAtinteger
  • durationSecondsinteger
  • viewersinteger

    While live

  • videoIdstring

    The video saved from the recording

  • usageobject
    • broadcastMinutesnumber
    • viewerHoursnumber
  • Where to broadcast. OBS, Custom service - server rtmpsUrl, key streamKey. The browser broadcaster takes the same two.

    • rtmpsUrlstring
    • streamKeystring
  • watchobject
    • urlstring
    • iframestring
  • playbackUrlstring

    Signed low-latency HLS

  • playbackExpiresAtinteger
401UNAUTHORIZED: missing, unknown or revoked API key
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
404NOT_FOUND: no such video for this user (wrong ID or someone else's)
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
409LIVE_ENDED
application/json Error
{
  "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
  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring

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)

  • xnumberrequired
    min 0 · max 1
  • ynumberrequired
    min 0 · max 1
  • wnumberrequired
    min 0.02 · max 1
  • hnumberrequired
    min 0.02 · max 1
{
  "x": 0.21875,
  "y": 0,
  "w": 0.5625,
  "h": 1
}
ThumbnailChoiceobject

The current thumbnail

  • sourcestring

    frame: a moment chosen with time; custom: your image

    one of "auto", "candidate", "frame", "custom"
  • indexinteger
  • timenumber

    Seconds into the video

  • 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)

    • xnumberrequired
      min 0 · max 1
    • ynumberrequired
      min 0 · max 1
    • wnumberrequired
      min 0.02 · max 1
    • hnumberrequired
      min 0.02 · max 1
  • statusstring

    Only for a time or a crop, which a job makes

    one of "processing", "ready", "failed"
  • errorstring

    Why 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).

  • fullNamestring
  • companystring
  • rolestring
  • useCasestring
  • countrystring
  • completedAtstring (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.

  • messagestringrequired

    Human-readable; wording may change

  • errorstringrequired

    Stable 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"
  • requestIdstringrequired

    Quote this when reporting a problem

  • detailsarray of object

    Validation errors only (400 INVALID_REQUEST) - every problem found, with its field path

    • fieldstring
    • messagestring
{
  "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
  • fileNamestringrequired
  • titlestring

    Your title for the video (one line)

    max length 200
  • descriptionstring

    Your description (line breaks kept)

    max length 5000
  • sizeBytesinteger

    Required unless streaming

  • maxHeightinteger

    Highest output quality; never upscales

    one of 720, 1080, 1440, 2160 · default 1080
  • cameraobject

    Optional second file shown picture-in-picture over the first (screen + camera)

    • fileNamestring
    • sizeBytesinteger
  • layoutstring | object

    Screen + 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:
    string
    object
    • typestringrequired
      one of "pip", "side-by-side"
    • positionstring

      pip only (default bottom-right)

      one of "bottom-right", "bottom-left", "top-right", "top-left"
    • sizestring

      pip only (default medium)

      one of "small", "medium", "large"
    • screenstring

      side-by-side only (default left)

      one of "left", "right"
  • streamingboolean

    Size unknown yet (e.g. still recording); parts are signed per size

  • prestartboolean

    With streaming

  • durationSecondsnumber

    Optional 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.

    max 86400
  • metadataMetadata

    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.

  • overlaysarray of Overlay

    1-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 items 4
    • fileNamestringrequired

      The image's name (shown in status; never a storage key)

      min length 1 · max length 200
    • sizeBytesintegerrequired

      The file's size in bytes (up to 10 MB); decides the part count (always 1)

      min 1 · max 10485760
    • positionstring

      Where 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"
    • marginnumber

      With position: the gap to the edges it's placed against, as a fraction of the frame's shorter side

      min 0 · max 0.25 · default 0.03
    • xnumber

      Instead 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

      min 0 · max 1
    • ynumber

      Instead 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

      min 0 · max 1
    • wnumber

      The image's width as a fraction of the frame's width (the height follows). Not with h

      min 0 · max 1 · default 0.15
    • hnumber

      Instead of w: the image's height as a fraction of the frame's height (the width follows)

      min 0 · max 1
    • startnumber

      Seconds on the video's timeline (after a trim; an edit's own timeline) where it appears

      min 0 · default 0
    • endnumber

      Seconds where it goes; null = to the end. At least 0.1 s after start

    • opacitynumber

      1 as the image is; lower is more see-through (multiplies the image's own transparency)

      min 0 · max 1 · default 1
    • fadeInnumber

      Seconds of fade at the start of its time window

      min 0 · max 10 · default 0
    • fadeOutnumber

      Seconds of fade at the end of its time window (with end null, ending where the video ends)

      min 0 · max 10 · default 0
{
  "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)required

    HTTPS 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 length 2048
  • fileNamestring

    Display name (default: last URL path segment). 1–200 characters.

  • maxHeightinteger

    Highest output quality; never upscales

    one of 720, 1080, 1440, 2160 · default 1080
  • trimTrim

    Keep only part of the upload (frame-accurate, no extra encode). Redaction times are on the trimmed timeline.

    • startnumber
      min 0 · default 0
    • endnumber

      null = to the end

  • redactionsarray of Redaction

    Regions to blur or black out

    max items 20
    • typestringrequired

      box = solid black bar

      one of "blur", "box"
    • shapestring
      one of "rect", "ellipse" · default "rect"
    • xnumber

      Fraction of the final frame width

      min 0 · max 1
    • ynumber
      min 0 · max 1
    • wnumber
      min 0 · max 1
    • hnumber
      min 0 · max 1
    • startnumber

      Seconds

      default 0
    • endnumber

      Seconds; null = until the end

    • trackarray of object

      Keyframes for moving content, in time order; the region glides between them (instead of x, y, w, h)

      max items 50
      • timenumberrequired

        Seconds on the output timeline

        min 0
      • xnumberrequired
        min 0 · max 1
      • ynumberrequired
        min 0 · max 1
      • wnumberrequired
        min 0 · max 1
      • hnumberrequired
        min 0 · max 1
  • deleteOriginalboolean

    Delete the imported file once the output is published

  • 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.

    One of:
    boolean
    object
    • languagestring
  • 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.

    One of:
    boolean
    object
    • typesarray of string
      default ["secrets", "emails", "cards"]
    • stylestring
      one of "blur", "box" · default "blur"
    • reviewboolean

      Stop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess

      default false
  • metadataMetadata

    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.

{
  "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
    • clipsarray of Cliprequired
      max items 50
      • videoIdstringrequired

        One of your finished (SUCCEEDED) videos; may repeat

        pattern "^[a-f0-9]{32}$"
      • startnumber

        Seconds into that video

        min 0 · default 0
      • endnumber

        Seconds into that video; null = to its end

      • transitionobject

        How this clip starts from the previous one (hard cut if omitted; not on the first clip)

        • typestring
          one of "fade", "fadeblack" · default "fade"
        • secondsnumber
          min 0.1 · max 3 · default 0.5
      • volumenumber

        This clip's own sound: 1 as recorded, 0 mutes it (for example under music), 2 twice as loud

        min 0 · max 2 · default 1
    • audioarray of AudioTrack

      1-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 items 4
      • fileNamestringrequired

        The file's name (shown in status; never a storage key)

        min length 1 · max length 200
      • sizeBytesintegerrequired

        The file's size in bytes (up to 200 MB); decides the part count

        min 1 · max 209715200
      • atnumber

        Seconds on the edit's timeline where the track starts; must be before the edit ends

        min 0 · default 0
      • startnumber

        Seconds into the file: where to start reading it

        min 0 · default 0
      • endnumber

        Seconds into the file; null = to its end. At least 0.1 s after start

      • volumenumber

        1 as in the file, 0.4 quiet music under speech, 2 twice as loud

        min 0 · max 2 · default 1
      • fadeInnumber

        Seconds of fade at the start of the track

        min 0 · max 10 · default 0
      • fadeOutnumber

        Seconds of fade at the end of the track (where it stops, or where the video ends if it was cut there)

        min 0 · max 10 · default 0
      • loopboolean

        Repeat the chosen part (start to end) until the video ends; the part must be at most 10 minutes long

        default false
      • duckboolean

        Lower this track while the clips have sound (sidechain compression), so speech in the clips stays clear over music

        default false
  • fileNamestring

    Display name (default: Edit of N clips)

  • maxHeightinteger
    one of 720, 1080, 1440, 2160 · default 1080
  • redactionsarray of Redaction

    On the edit's own timeline

    max items 20
    • typestringrequired

      box = solid black bar

      one of "blur", "box"
    • shapestring
      one of "rect", "ellipse" · default "rect"
    • xnumber

      Fraction of the final frame width

      min 0 · max 1
    • ynumber
      min 0 · max 1
    • wnumber
      min 0 · max 1
    • hnumber
      min 0 · max 1
    • startnumber

      Seconds

      default 0
    • endnumber

      Seconds; null = until the end

    • trackarray of object

      Keyframes for moving content, in time order; the region glides between them (instead of x, y, w, h)

      max items 50
      • timenumberrequired

        Seconds on the output timeline

        min 0
      • xnumberrequired
        min 0 · max 1
      • ynumberrequired
        min 0 · max 1
      • wnumberrequired
        min 0 · max 1
      • hnumberrequired
        min 0 · max 1
  • overlaysarray of Overlay

    1-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 items 4
    • fileNamestringrequired

      The image's name (shown in status; never a storage key)

      min length 1 · max length 200
    • sizeBytesintegerrequired

      The file's size in bytes (up to 10 MB); decides the part count (always 1)

      min 1 · max 10485760
    • positionstring

      Where 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"
    • marginnumber

      With position: the gap to the edges it's placed against, as a fraction of the frame's shorter side

      min 0 · max 0.25 · default 0.03
    • xnumber

      Instead 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

      min 0 · max 1
    • ynumber

      Instead 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

      min 0 · max 1
    • wnumber

      The image's width as a fraction of the frame's width (the height follows). Not with h

      min 0 · max 1 · default 0.15
    • hnumber

      Instead of w: the image's height as a fraction of the frame's height (the width follows)

      min 0 · max 1
    • startnumber

      Seconds on the video's timeline (after a trim; an edit's own timeline) where it appears

      min 0 · default 0
    • endnumber

      Seconds where it goes; null = to the end. At least 0.1 s after start

    • opacitynumber

      1 as the image is; lower is more see-through (multiplies the image's own transparency)

      min 0 · max 1 · default 1
    • fadeInnumber

      Seconds of fade at the start of its time window

      min 0 · max 10 · default 0
    • fadeOutnumber

      Seconds of fade at the end of its time window (with end null, ending where the video ends)

      min 0 · max 10 · default 0
  • 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.

    One of:
    boolean
    object
    • languagestring
  • 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.

    One of:
    boolean
    object
    • typesarray of string
      default ["secrets", "emails", "cards"]
    • stylestring
      one of "blur", "box" · default "blur"
    • reviewboolean

      Stop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess

      default false
  • metadataMetadata

    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.

{
  "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
  • videoIdstringrequired

    One of your finished (SUCCEEDED) videos; may repeat

    pattern "^[a-f0-9]{32}$"
  • startnumber

    Seconds into that video

    min 0 · default 0
  • endnumber

    Seconds into that video; null = to its end

  • transitionobject

    How this clip starts from the previous one (hard cut if omitted; not on the first clip)

    • typestring
      one of "fade", "fadeblack" · default "fade"
    • secondsnumber
      min 0.1 · max 3 · default 0.5
  • volumenumber

    This clip's own sound: 1 as recorded, 0 mutes it (for example under music), 2 twice as loud

    min 0 · max 2 · default 1
{
  "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.

  • fileNamestringrequired

    The file's name (shown in status; never a storage key)

    min length 1 · max length 200
  • sizeBytesintegerrequired

    The file's size in bytes (up to 200 MB); decides the part count

    min 1 · max 209715200
  • atnumber

    Seconds on the edit's timeline where the track starts; must be before the edit ends

    min 0 · default 0
  • startnumber

    Seconds into the file: where to start reading it

    min 0 · default 0
  • endnumber

    Seconds into the file; null = to its end. At least 0.1 s after start

  • volumenumber

    1 as in the file, 0.4 quiet music under speech, 2 twice as loud

    min 0 · max 2 · default 1
  • fadeInnumber

    Seconds of fade at the start of the track

    min 0 · max 10 · default 0
  • fadeOutnumber

    Seconds of fade at the end of the track (where it stops, or where the video ends if it was cut there)

    min 0 · max 10 · default 0
  • loopboolean

    Repeat the chosen part (start to end) until the video ends; the part must be at most 10 minutes long

    default false
  • duckboolean

    Lower this track while the clips have sound (sidechain compression), so speech in the clips stays clear over music

    default false
{
  "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.

  • fileNamestringrequired

    The image's name (shown in status; never a storage key)

    min length 1 · max length 200
  • sizeBytesintegerrequired

    The file's size in bytes (up to 10 MB); decides the part count (always 1)

    min 1 · max 10485760
  • positionstring

    Where 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"
  • marginnumber

    With position: the gap to the edges it's placed against, as a fraction of the frame's shorter side

    min 0 · max 0.25 · default 0.03
  • xnumber

    Instead 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

    min 0 · max 1
  • ynumber

    Instead 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

    min 0 · max 1
  • wnumber

    The image's width as a fraction of the frame's width (the height follows). Not with h

    min 0 · max 1 · default 0.15
  • hnumber

    Instead of w: the image's height as a fraction of the frame's height (the width follows)

    min 0 · max 1
  • startnumber

    Seconds on the video's timeline (after a trim; an edit's own timeline) where it appears

    min 0 · default 0
  • endnumber

    Seconds where it goes; null = to the end. At least 0.1 s after start

  • opacitynumber

    1 as the image is; lower is more see-through (multiplies the image's own transparency)

    min 0 · max 1 · default 1
  • fadeInnumber

    Seconds of fade at the start of its time window

    min 0 · max 10 · default 0
  • fadeOutnumber

    Seconds of fade at the end of its time window (with end null, ending where the video ends)

    min 0 · max 10 · default 0
{
  "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
  • startnumberrequired

    Seconds into the video where the chapter begins.

    min 0
  • titlestringrequired

    One line.

    min length 1 · max length 100
{
  "start": 0,
  "title": "string"
}
Chaptersobject
  • videoIdstring
  • chaptersarray of Chapter
    • startnumberrequired

      Seconds into the video where the chapter begins.

      min 0
    • titlestringrequired

      One line.

      min length 1 · max length 100
  • 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
  • videoIdstring
  • enabledboolean
  • urlstring

    https://<site>/embed/<videoId>?t=<token>; add autoplay=1, loop=1, cc=1, start=<seconds>

  • iframestring

    Ready-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.

One of:
boolean
object
  • typesarray of string
    default ["secrets", "emails", "cards"]
  • stylestring
    one of "blur", "box" · default "blur"
  • reviewboolean

    Stop after looking (NEEDS_REVIEW); process once the findings are confirmed with a reprocess

    default false
false
FoundSecretobject

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.

  • typestring

    The 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"
  • namestring

    The format in words, e.g. Stripe live secret key

  • lastFourstring

    The 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

  • startnumber

    Seconds on the video's timeline from which it is hidden

  • endnumber

    ...and until which (null: to the end of the video)

  • appearancesinteger

    How 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.

One of:
boolean
object
  • languagestring
false
Trimobject

Keep only part of the upload (frame-accurate, no extra encode). Redaction times are on the trimmed timeline.

  • startnumber
    min 0 · default 0
  • endnumber

    null = to the end

{
  "start": 0,
  "end": 0
}
VideoSummaryobject
  • videoIdstring
  • fileNamestring
  • cameraFileNamestring
  • createdAtinteger

    Unix time

  • sizeBytesinteger
  • statestring

    Call GET /videos/{id} for live status

    one of "UPLOADING", "READY_TO_START", "SUBMITTED"
  • modestring

    A key lists only its own mode's videos; test videos are deleted after 24 hours

    one of "live", "test"
  • redactionsinteger
  • originalDeletedboolean
  • clipsinteger

    Present for edits

  • audioTracksinteger

    Present for edits with audio tracks (music

  • reprocessOfstring
  • trimTrim

    Keep only part of the upload (frame-accurate, no extra encode). Redaction times are on the trimmed timeline.

    • startnumber
      min 0 · default 0
    • endnumber

      null = to the end

  • metadataMetadata

    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.

  • captionsboolean

    Made with captions

  • autoRedactboolean

    Made with auto-redaction

  • embeddableboolean

    The embeddable player is on

  • outcomestring

    How processing ended; absent while it runs

    one of "SUCCEEDED", "FAILED", "TIMED_OUT", "ABORTED"
  • endedAtnumber

    Unix time processing ended

  • durationSecondsnumber

    The output's length (SUCCEEDED only)

  • heightinteger

    The 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).

  • typestringrequired

    box = solid black bar

    one of "blur", "box"
  • shapestring
    one of "rect", "ellipse" · default "rect"
  • xnumber

    Fraction of the final frame width

    min 0 · max 1
  • ynumber
    min 0 · max 1
  • wnumber
    min 0 · max 1
  • hnumber
    min 0 · max 1
  • startnumber

    Seconds

    default 0
  • endnumber

    Seconds; null = until the end

  • trackarray of object

    Keyframes for moving content, in time order; the region glides between them (instead of x, y, w, h)

    max items 50
    • timenumberrequired

      Seconds on the output timeline

      min 0
    • xnumberrequired
      min 0 · max 1
    • ynumberrequired
      min 0 · max 1
    • wnumberrequired
      min 0 · max 1
    • hnumberrequired
      min 0 · max 1
{
  "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.

  • rtmpsUrlstring
  • streamKeystring
{
  "rtmpsUrl": "rtmps://a1b2c3.global-contribute.live-video.net:443/app/",
  "streamKey": "string"
}
LiveStreamobject
  • liveStreamIdstring
  • statusstring
    one of "idle", "live", "ended", "expired", "failed"
  • modestring
    one of "live", "test"
  • titlestring
  • descriptionstring
  • metadataMetadata

    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.

  • recordboolean
  • maxDurationMinutesinteger
  • createdAtinteger
  • startedAtinteger
  • endedAtinteger
  • durationSecondsinteger
  • viewersinteger

    While live

  • videoIdstring

    The video saved from the recording

  • usageobject
    • broadcastMinutesnumber
    • viewerHoursnumber
  • Where to broadcast. OBS, Custom service - server rtmpsUrl, key streamKey. The browser broadcaster takes the same two.

    • rtmpsUrlstring
    • streamKeystring
  • watchobject
    • urlstring
    • iframestring
  • playbackUrlstring

    Signed 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
}