HoldFast API reference
Base URL, auth header, every v1 endpoint, and a working first call.
The REST API lives at https://holdfast.video/api/v1 and mirrors the app: projects, folders, assets, uploads, review links, reels, comments, and analytics. Every request carries a token from Settings → API & MCP (how to create one) in the header:
Authorization: Bearer hf_your_token
Send JSON bodies with Content-Type: application/json. Older endpoints answer errors as { "error": "sentence" }; the organising, upload, and reel endpoints answer { "error": "code", "message": "sentence" } so you can branch on the code. Statuses: 400 for missing fields, 401 for a bad, revoked, or expired token, 403 when the token's scope or role does not cover the endpoint, 404 when the resource is not in your workspace, 409 when a call is refused to protect existing work, 429 when the workspace has hit its daily upload limit. The full downloadable reference, with a response example for every endpoint, is on the same Settings page.
A first call
curl -H "Authorization: Bearer hf_your_token" https://holdfast.video/api/v1/projects
Not sure the host or token is right? The health check needs no auth and returns {"status":"ok"} plus a timestamp:
curl https://holdfast.video/api/health
Projects and folders
GET /projects: every project with an asset count.POST /projectscreates one;PATCH /projects/:idrenames it or changes its description.GET /projects/:id: one project plus its assets.GET /projects/:id/folders: the folders as a flat list and as a nestedtree, each with anasset_countof what sits directly inside it.POST /projects/:id/folderscreates one and returns the existing folder instead of a twin when the name is already taken at that spot.PATCH /folders/:id: rename a folder, nest it under another folder in the same project, or send"parent_folder_id": nullfor top level. A move into itself or one of its own subfolders is refused.DELETE /folders/:id: the one delete in the API. It answers409 folder_not_emptywith the counts while anything is still inside.
Assets
GET /assets?q=rough: search by name across the workspace, newest first, with optionalproject_id,folder_id, andlimit(up to 100).GET /assets/:id: metadata with playback and thumbnail URLs.PATCH /assets/:idrenames it or changes its description.GET /assets/:id/downloadstreams the original file.POST /assets/move: move assets into a project and optional folder, across projects. Moving more than ten assets out of their subfolders into the parent answers409 suspected_flattenuntil you send"confirm_flatten": true.POST /assets/tags: add and remove tags across several assets in one call; the response carries each asset's full tag list afterwards.GET /assets/:id/versions: every version, newest first, named by its filename label, with which one is active.POST /assets/:id/versions/:versionId/activateswitches playback to another version everywhere the asset appears.
Uploads
POST /assets/upload: send a small file as form-data withfileandproject_id, plus optionalnameandfolder_id.- For real-size media, use the three-step direct upload.
POST /uploadswithfilename,size_bytes, andproject_id(orasset_idto add a new version) checks your quota and answers anupload_ticketplus one upload link, or a list of part links with apart_sizefor files of 100 MB and more. Send the bytes to those links yourself withcurl -T, keeping theETagheader from every PUT. ThenPOST /uploads/completewith the ticket (and the part numbers and ETags) lands the file; videos start Optimizing on arrival.POST /uploads/abortfrees anything already sent if you give up. - The ticket lasts 24 hours but the upload links do not: one hour for a single link, six hours for part links.
url_expires_attells you when, and starting again is the only way to get fresh ones. POST /imports: hand the server a URL from an allowed host and it fetches the file itself; pollGET /assets/:iduntil the status leavesuploading.
Review links and comments
GET /review-linksandGET /review-links/:id: your links with view and asset counts.POST /review-links: create a shareable page. Body:{ "title": "Title", "asset_ids": ["uuid"], "is_active": true }.GET /assets/:id/commentsandPOST /assets/:id/comments: read the threaded review and write timecoded feedback. Sendparent_comment_idto reply inside an existing thread.GET /assets/:id/comments/markersreturns the same notes shaped for editing-software markers.
Reels and analytics
GET /reels: your reels.POST /reelscreates one, unpublished, from a title and optionalasset_ids;POST /reels/:id/clipsappends more, skipping any already there;POST /reels/:id/publishmakes the page live and answers its URL, or takes it offline again with{ "published": false }.GET /analytics/overviewandGET /analytics/storage: workspace counts, and storage per project and asset type.
Creating review links, the four reel endpoints, and the analytics endpoints require the Full API token scope, and together the reel and analytics endpoints are all a sales-role token can reach. Plugin tokens cover everything else above. Prefer push over poll? Webhooks send events to you instead.
Questions
Can I use the API on the Free plan?
Mostly. Plugin-scoped tokens, available on Free, can read, search, organise, upload, and comment: projects, folders, moves, tags, versions, both upload paths, and the review thread. Creating review links, every reel endpoint, and the two analytics endpoints need the Full API scope, which comes with Pro.
Why am I getting 403 with a valid token?
The token cannot reach that endpoint: either a Plugin-scoped token is calling a Full API endpoint, or the token was created by a sales-role user and the endpoint is outside reels and analytics.
Can I delete things through the API?
One thing: an empty folder, with DELETE /folders/:id. Assets, versions, projects, and review links cannot be deleted over the API because those deletes are permanent in HoldFast. To take a reel offline, publish it with published set to false.
Ready to try it?
Host video, collect frame-accurate review, and see who's watching. Free to start.
Start free