File operations
Upload, retrieve, update, and delete files. See the file endpoints for request/response details.
Hoody Files provides a unified API for managing files and directories across your workspaces. Whether you are uploading assets, organizing project resources, or building collaborative editing experiences, the Files API gives you programmatic access to the same storage layer that powers the Hoody dashboard.
This guide covers the core file and directory operations available to authenticated users. All endpoints are scoped to a workspace and require a valid API token in the Authorization header.
The Files API is organized around a small set of predictable operations:
fileID within a workspace.directoryID.workspaceID is always part of the request path and identifies the storage boundary for the operation.All requests must include a bearer token:
Authorization: Bearer <token>Tokens are issued from the Hoody dashboard and inherit the permissions of the user that created them. Ensure the token has read and write access to the target workspace before performing mutating operations.
All endpoints in this section are rooted at:
/api/v1/workspaces/{workspaceID}/filesReplace {workspaceID} with the ID of the workspace that owns the files you want to manage.
File operations
Upload, retrieve, update, and delete files. See the file endpoints for request/response details.
Directory operations
Create, list, rename, and delete directories. Directory operations accept a path or an ID.
Workspaces
Files are always scoped to a workspace. Confirm your workspaceID before issuing requests.