Get Asset Token
Get a fresh per-asset token for storage operations (upload and download).
Resolves the user’s effective permissions on the asset and maps them to a permissions claim in the JWT.
User is required, since all token usage scenarios require it:
- Uploading assets (web/desktop, in the init route)
- Uploading chunks/manifests (fs, can only mount as user)
- Downloading chunks/manifests (fs, can only mount as user)
Note: Single-file downloads directly use WorkOS tokens, since the worker calls /downloads/info might as well auth then. Fetching tokens separately still requires worker download info request, and both this & passing download info from client -> worker defeats purpose of single url download.
Returns 403 if the user has no read or write permissions.
Authorizations
JWT in Authorization header. 'Bearer ' prefix optional.
Path Parameters
Response
Successful Response

