Metadata endpoints
Protected Resource Metadata:GET /mcp/.well-known/oauth-protected-resource(or MCP host root equivalent)
GET /mcp/.well-known/oauth-authorization-server(or MCP host root equivalent)
Dynamic client registration
Register a client with:POST /v1/oauth/register
client_nameredirect_uris- optional OAuth metadata (
grant_types,response_types,scope, etc.)
Authorization and token flow
- Read authorization metadata.
- Send user to
authorization_endpointwith PKCE (code_challenge,code_challenge_method=S256). - User selects workspace in Receiptor authorization UI.
- Exchange code at
token_endpoint.
org_id.
To switch workspace, re-authorize with the target org_id.
Supported scopes
Current scopes include:allread_documentswrite_documentsread_time_capsuleswrite_time_capsulesread_currencyread_integrationswrite_integrationsread_ruleswrite_rulesread_workspaces
invalid_scope.
Request minimum required scope set.