Overview

The Organizations API manages org profiles, legal entity details, jurisdiction settings, and API key lifecycle. The /me shorthand targets the currently authenticated organization. Unauthenticated endpoints (e.g. /organizations/:id/info) expose public org metadata.

Endpoints

MethodPathDescription
GET/meGet current org profile and counts
POST/organizationsCreate a new org with a default API key
GET/organizations/:idGet org by ID
PATCH/organizations/meUpdate org settings (name, jurisdiction, publicKey, dataRegion)
POST/organizations/:id/api-keysCreate API key
GET/organizations/:id/api-keysList API keys
DELETE/organizations/:id/api-keys/:keyIdDelete API key
GET/organizations/:id/infoGet public org info (no auth)
GET/api-keysList API keys for current org
POST/api-keysCreate API key
DELETE/api-keys/:keyIdDelete API key

Example

curl http://localhost:4000/me \
  -H "Authorization: Bearer tr_abc123"