Partner Portal API
Delegate projects to partner users and list what they can see.
Base path: /partner-portal. All routes require a session and @RequiresModule("partner-portal"). Misses return 404.
| Method | Path | Permission | Tool |
|---|---|---|---|
| GET | /delegations | partner-portal:read | — |
| GET | /delegations/:id | partner-portal:read | — |
| POST | /delegations | partner-portal:delegate | delegate_project_to_partner |
| POST | /delegations/:id/revoke | partner-portal:revoke | revoke_partner_delegation |
| GET | /types | partner-portal:read | — |
| POST | /types | partner-portal:configure | configure_partner_type |
| GET | /document-types | partner-portal:read | — |
| POST | /document-types | partner-portal:configure | configure_partner_document_type |
| GET | /profiles | partner-portal:read | — |
| POST | /profiles | partner-portal:configure | assign_partner_type |
| GET | /documents | partner-portal:read | — |
| GET | /documents/:id | partner-portal:read | — |
| POST | /documents | partner-portal:upload | upload_partner_document |
Create delegation body: partner_user_id, project_id, optional project_title, partner_display_name, external_key.
Upload body: partner_user_id, document_type_id, expires_on (YYYY-MM-DD), optional title, file_name, storage_url, external_key.
| GET | /suspensions | partner-portal:read | — |
| GET | /suspensions/:id | partner-portal:read | — |
| POST | /suspensions | partner-portal:suspend | suspend_partner |
| POST | /suspensions/:id/lift | partner-portal:lift | unsuspend_partner |
| GET | /progress | partner-portal:read | — |
| POST | /progress | partner-portal:report | submit_partner_progress_report |
| GET | /delegations/:id/comments | partner-portal:read | — |
| POST | /delegations/:id/comments | partner-portal:report | add_partner_project_comment |