Skip to main content
The OrbitForms API uses API keys to authenticate requests. You can manage your API keys from your dashboard.

API Keys

There are two types of API keys: sk_live_* — Live keys for production use. All requests affect real data. sk_test_* — Test keys for development and testing, so you can distinguish non-production credentials in your dashboard.

Using API Keys

Include your API key using either the Authorization header as a Bearer token, or the X-API-Key header:
Example request:

OAuth 2.0

Third-party applications use the OAuth 2.0 authorization code flow (guide). An app registered in the Developer Portal is a confidential client and authenticates token requests with its client_secret; a public client (one without a secret, such as a self-registered MCP client) uses PKCE instead. OAuth access tokens use the orb_at_* prefix.
To build an OAuth app, open a free developer account in the Developer Portal to register your application and obtain client credentials.

Who am I

GET /api/v1/me describes the credential making the request: the workspace it is bound to, the person it acts as, and its scopes. It needs team:read or user:read; ids are always returned, the workspace’s name and slug need team:read, the person’s email and name need user:read.
team.id is the team_id on every record and webhook envelope. OAuth token responses also carry it as team_id, so an app can tell its connections apart before its first API call. credential.app.id is the actor.app_id that webhooks carry for changes your app made (Changes your app made).

Security Best Practices

Keep keys secret — Never expose API keys in client-side code, public repositories, or browser localStorage/sessionStorage.
Use environment variables — Store API keys in environment variables on your server. Never include them in frontend bundles.
Rotate compromised keys — If a key is exposed, revoke it immediately from your dashboard and generate a new one.

Authentication Errors

Next: Forms API