The Monterey API uses Microsoft Entra ID (formerly Azure AD) for authentication and workspace-scoped role-based access control for authorization.Documentation Index
Fetch the complete documentation index at: https://docs.montereyfinancial.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authentication flow
Every request must include a JWT bearer token from Entra ID in theAuthorization header:
The only endpoint that does not require a
workspace_id header is GET /auth/me, which returns the authenticated user’s profile and all workspace memberships.Required headers
| Header | Description |
|---|---|
Authorization | Bearer <jwt> from Microsoft Entra ID |
workspace_id | UUID of the target workspace (required for all endpoints except /auth/me) |
Roles
Each workspace membership has a role that determines access level:| Role | Permissions |
|---|---|
viewer | Read-only access to workspace resources |
editor | Create, update, and delete workspace resources |
admin | Full access including membership management |
platform_admin | Cross-workspace access, workspace CRUD, app user management |
Dev authentication bypass
For local development, setDEV_AUTH_ENABLED=1 in your environment. This skips Entra ID token validation and returns a mock user for all requests.

