Skip to main content
Every request acts in one workspace.

API keys

Members create API keys in the dashboard, under api keys in the workspace the key acts in. Send the key as a Bearer token:
Production keys start with sk_live_, Sandbox keys with sk_test_, and keys of other workspaces with sk_. A key the workspace owns acts for the workspace; a member’s own key acts as that member and stops working when they leave the organization. A key is shown once, when it’s created. The same key works for the REST API and for the MCP server at https://api.rendermate.com/mcp.

Upload tokens

Never put an API key in a browser. To let a page upload files, such as recordings, your backend makes an upload token with its key and hands the token to the page:
The page sends the token as its Bearer token to PUT /v1/assets/{name}, then uploads the file straight to storage with the presigned upload it gets back. A token:
  • records only assets whose names start with its prefix, up to max_size bytes, in one project (project_id, or the workspace’s default project);
  • never replaces an existing asset;
  • can’t do anything else, including making another token;
  • expires after 15 minutes, or after expires_in seconds (60 to 86400). Make a new one when it expires.
Assets a token records show the key that made the token as their creator.

Signing in from an MCP client

MCP clients such as Claude, ChatGPT and Cursor can sign in instead of sending a key. They connect to https://api.rendermate.com/mcp, open a sign-in page where the member signs in with their rendermate account and picks a workspace, and then act as that member in that workspace, with what their role there allows. The CLI’s rendermate login signs in the same way. The REST API takes the access token a sign-in gives, as a Bearer token, in the workspace the member picked. https://api.rendermate.com/mcp/<workspace_id> is the same server for one workspace. A workspace’s ID starts with ws_; GET /v1/account and the get_account tool show it as workspace_id.

Permissions

A signed-in member’s role in the workspace decides what they can do: An API key can do everything in its workspace. A request its caller isn’t allowed gets 403 with the code forbidden.