# API catalogue

High-level index of Pactuno's API handlers (v200 adds company-admin access management, explicit tier enforcement, and tenant-role-aware customer navigation). Consult each handler's `export const access` and `methods` for the current contract.

## Identity and account

- `/api/session` — session state.
- `/api/entitlements` — plan, features, and signup/claim actions.
- `/api/profile`, `/api/account`, `/api/account-avatar`, `/api/account/two-factor` — profile, preferences, avatar, and MFA.
- `/api/logout` — logout helper.

## Global and customer administration

- `/api/pactuno-admin` — Global Admin accounts, support, plan, user, access, MFA, and demo actions.
- `/api/pactuno-admin-directory` — company and user directory.
- `/api/pactuno-company-audit` — Global Admin-only company-wide delivery, commercial, risk, membership, and audit report.
- `/api/tenant` — customer tenant identity, role, and branding for the signed-in account.
- `/api/company-admin` — role-gated company user list, invitations, and company-role assignment.
- `/api/notifications` — per-user notifications plus the Global Admin onboarding activity feed.
- `/api/customer`, `/api/customer-project` — authenticated customer workspace views.
- `/api/workspaces`, `/api/workspace`, `/api/workspace-admin`, `/api/demo-workspace` — workspace list, detail, controls, and per-user fictional demo provisioning.

## Projects and delivery

- `/api/projects`, `/api/project`, `/api/project-data`, `/api/project-health`, `/api/project-audit` — customer project records and history, restricted to customer workspace access.
- `/api/project-permissions`, `/api/project-invite/:token`, `/api/project-chat-token`, `/api/access-requests` — project access and invitations.
- `/api/calendar`, `/api/my-work`, `/api/portfolio`, `/api/global-search` — work and portfolio views.
- `/api/approvals`, `/api/workflows`, `/api/automations`, `/api/automation-runner`, `/api/templates`, `/api/due-reminders` — operation tooling.

## Collaboration and documents

- `/api/space`, `/api/space-upload`, `/api/project-chat` — project collaboration.
- `/api/document-versions`, `/api/document-share/:token`, `/api/sow-context`, `/api/sow-project`, `/api/sow-pdf` — documents and SOWs.
- `/api/client-portal`, `/api/client-portal-admin` — token-based customer portal and link management.

## Integrations and support

- `/api/integrations`, `/api/notifications`, `/api/support` — connected services, notifications, support.

For exact methods, access declarations, invocation counts, and routes added after this catalogue, use Hatchable's deployed function inventory. This catalogue is an entry point, not a replacement for reviewing route source.