/api/healthPublicRead API health
Returns a no-store health response with environment context.
- Operation
- getHealth
- Responses
- 200
- Tags
- system
BYO Azure Functions API boundary linked from Azure Static Web Apps.
/api/healthPublicReturns a no-store health response with environment context.
/api/openapi.jsonPublicReturns the source-owned OpenAPI contract for this API.
/api/docsPublicReturns a human-readable HTML reference generated from the source-owned OpenAPI contract.
/api/resourcesPublicReturns status-only Azure resource readiness metadata without raw resource names, tenant identifiers, endpoints, connection strings, or secrets.
/api/meAuthenticatedResolves the SWA/CIAM principal into an active PayLens user account and active tenant memberships.
/api/invitationsAuthenticatedAllows an authorized tenant Owner, Admin, or PlatformAdmin to create a hashed-token invitation.
/api/invitations/{id}PublicReturns non-sensitive invitation details before sign-in.
/api/invitations/{id}AuthenticatedRevokes a pending invitation by invitation id.
/api/invitations/{token}/acceptAuthenticatedLinks the authenticated identity to a PayLens user and activates tenant membership.
/api/tenants/{tenantId}/membershipsAuthenticatedLists tenant memberships for an authorized tenant administrator or auditor.
/api/tenants/{tenantId}/memberships/{membershipId}AuthenticatedChanges a membership role or lifecycle status with audit capture.
/api/registration/organization-requestsPublicCreates a pending public organization registration request with Terms acceptance.
/api/registration/organization-requests/{requestId}AuthenticatedApproves or rejects a pending organization registration request and sends the requester Owner invitation email on approval.