> ## Documentation Index
> Fetch the complete documentation index at: https://rendermate.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Create an API key and make your first request.

## Create a key

1. Sign in to the [dashboard](https://rendermate.com/dashboard).
2. Pick a workspace in the sidebar: **Sandbox** to try things out, **Production** for real work.
3. Open **api keys** and create a key. Copy it: it's shown only once.

> [!WARNING]
>
> Keep your key secret. Anyone with it can act in your workspace.

## Make a request

Send the key as a Bearer token. `GET /v1/account` tells you which workspace the key acts in:

```bash theme={null}
curl https://api.rendermate.com/v1/account \
  -H "Authorization: Bearer $RENDERMATE_API_KEY"
```

```json theme={null}
{
  "organization_id": "org_01…",
  "workspace_id": "ws_use_01…",
  "workspace_name": "Sandbox",
  "region": "us-east",
  "key_id": "…",
  "key_name": "my first key"
}
```

Sandbox keys start with `sk_test_`, Production keys with `sk_live_`. A key the workspace owns acts
for the workspace; a member's own key also returns their `user_id`.

## Hand it to a coding agent

To have Claude Code, Cursor or Codex build on rendermate, paste this into its task:

```text theme={null}
Integrate rendermate on the server side.
Docs: read https://rendermate.com/docs/llms.txt first; every page is also Markdown at <page>.md.
API: https://api.rendermate.com/v1 with "Authorization: Bearer $RENDERMATE_API_KEY".
Never put the key in browser code; give a browser an upload token instead (POST /v1/upload-tokens).
Media goes in as assets (PUT /v1/assets/{name}); documents refer to them as asset://<name>.
A document is JSX (https://rendermate.com/docs/documents): GET /v1/documents/{id} returns it.
Edit it with POST /v1/documents/{id}/versions: edits (exact old_text/new_text replacements in that
JSX) onto base_version, a message saying why in one line, and a commit_id (a UUID) you generate.
On 409 version.conflict, read the document again and redo the edit onto newest_version.
On 503 commit.unknown, send the same request with the same commit_id; it never commits twice.
Check a moment with POST /v1/documents/{id}/frames before you export.
Share with POST /v1/documents/{id}/links; download with POST /v1/exports.
Exports and generations run in the background: poll GET /v1/exports/{id}, or handle the
export.succeeded and export.failed webhooks.
Retry only what https://rendermate.com/docs/errors#which-errors-should-i-retry says to retry;
every error's doc_url links to its own row. Never retry not_available.
```

An agent can also use the [MCP server](https://rendermate.com/docs/mcp/overview.md) instead of calling the API itself.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.