Authorization: Bearer sk_...) as the rest of the API, or a
dashboard session. The video keeps its vid_... id when you rename it.
You can also do both from your dashboard’s video list. This page shows the API.
Rename a video
PATCH /v1/projects/{projectId}/videos/{videoId}
Rename when you want a different label on a video: fix a typo, put the lessons
in your own order, or reuse a template. The title is only a label. Renaming does
not touch the file, the encoding, the watched minutes or playback.
Body:
200): the full Video, with the new title.
- A missing, empty, whitespace-only, too-long or non-string
titleis400 invalid_request. Nothing changes. - An unknown id, another project’s video, or a deleted video is the same
404 not_found. - Renaming bumps
updatedAt.
Make a video public or protected (Coming soon)
Status: Coming soon. The per-video public access mode is not released
yet. Today every video is protected, and the accessMode field below does
not work on a live account. This section describes how it will work. See
Feature status.
Every video is protected today: it plays only with a signed, video-specific
token on your verified domains. When the mode ships, you will be able to switch
one video to public so it plays with no token on any site. See
Protected and public videos.
PATCH /v1/projects/{projectId}/videos/{videoId}
Body:
200): the full Video, with the new accessMode.
protectedneeds a signed, video-specific token. A token for one video never plays another. Public will play with no token — anyone with the link can share and embed it. You will be able to switch back toprotectedat any time.- A missing body, an empty body, or a value that is not
protectedorpublicis400 invalid_request. Nothing changes.
Delete a video
DELETE /v1/projects/{projectId}/videos/{videoId}
Delete when you no longer host a video, or to free stored hours on your plan
(stored hours fall shortly after the delete, not at once). Deleting a video is a
soft delete on our side, and it is permanent for you: the only way to bring
the video back is to upload it again, which creates a new vid_... id.
Update any links or records you kept.
204, with no body.
What happens:
Notes:
- Deleting a video does not reset watched minutes. It lowers your stored hours shortly after the delete, not instantly: we remove the original at once, and clean up the HLS renditions and the thumbnail in the background.
- Deleting a video deletes the review frames with it. We keep frames only while the video is under review, in an abuse report or in a legal matter; after the delete we keep no frame longer than 30 days.
- Deleted videos are hidden from
GET /v1/projects/{projectId}/videosand from the single-videoGETimmediately, andPATCHon them answers404. - Retrying a
DELETEis safe: the first call is204, the next is404.
Code examples
The rename, delete, retry-delete and error paths are covered by our test suite.
Node.js (18+)
Python 3 (pip install requests)
PHP / Laravel
Errors
Errors useapplication/problem+json. Use the code field in your code, not
the text.
Tested against the current release
Checked on 14 Oct 2026, after the rename/delete route was released:PATCHandDELETE .../videos/{videoId}with no key answer401 unauthorized.PUTon the same URL answers405 method_not_allowed.- The full path with a project key is proved by our API tests:
200for a rename (and the trimmed title on200characters),400 invalid_requestfor a missing, empty, too-long or non-string title,204for a delete,404for the nextGET, the secondDELETEand an unknown or other-project video, and the deleted video is hidden from the list. - The Node.js and Python examples above were run end to end against a local copy of the two routes (the same code; only the base URL changed).
Where to go next
- Direct upload — the upload calls that create a video.
- Usage and plan limits — how stored hours are counted.
- Getting started — the 5-minute path to your first video.