Sign up
Auth & sessions
Sign up
Create an org and receive the first API key.
POST
Sign up
Creates a new organization, a default user, and the first API key. The plaintext API key appears in the response once.
Response —
Body
Optional org id. If omitted, the server generates
org_<10-char base62>. Must be alphanumeric, with - or _ allowed, and at most 64 chars. Returns 409 Conflict if the id already exists.Human-readable label for the org’s first API key. Optional, max 64 chars.
Response — 201
Server-generated org id. Format
org_<10 chars>.Server-generated user id inside that org.
The plaintext API key. Save it now. It cannot be recovered later.
Metadata about the key (id, prefix, display_id, name, scopes, timestamps).
Example
Response
This endpoint is unauthenticated by design. Anyone can create an org. For a private launch, put your existing auth provider in front and only forward to
/signup after your checks pass.Errors
| Status | When |
|---|---|
409 Conflict | The org_id you supplied is already in use, or hash collision on key minting. |
422 Unprocessable Entity | org_id failed the alphanumeric / length validation. |

