Authentication

All requests require a bearer token. Tokens are scoped per environment (sandbox or production) and rotate without downtime.

Bearer tokens

Set the Authorization header to `Bearer <token>` on every request. Tokens are never returned by the API after creation — copy them at creation time.

Rotation

Rotate tokens from the developer portal. New tokens are active immediately. Old tokens remain valid for 24 hours unless explicitly revoked.

Scopes

Tokens can be scoped per resource: plans:read, enrollments:write, claims:read, and so on. Use least privilege.