Source: Cross-cutting guide — references endpoints inorganization-endpoints.ts,data-room-endpoints.ts,microsoft-endpoints.ts, andcaptable-endpoints.ts
Document Endpoints
Document management in Equa is handled through multiple endpoint groups depending on the storage backend. This page provides an overview of how documents flow through the system.Storage Backends
Equa supports multiple document storage backends:| Backend | Description | Endpoints |
|---|---|---|
| Data Room | S3-based document storage (default) | Data Room Endpoints |
| Microsoft | OneDrive/SharePoint via Microsoft Graph | Microsoft Endpoints |
| Google Drive | Google Drive sync integration | Google Drive Endpoints |
GET /organization/:organization/document and POST /organization/:organization/document routes are shared — the server dispatches to the appropriate handler.
Organization File Upload
Files can be uploaded directly to an organization (separate from the data room):| Field | Value |
|---|---|
| Auth | Required |
| Permission | canEditDocuments |
| Content-Type | multipart/form-data |
AWS_S3_UPLOAD_SIZE_LIMIT_MB (default 10 MB). See Organization Endpoints.
File Download
| Field | Value |
|---|---|
| Auth | Required |
| Permission | canViewFile |
File View Inline
| Field | Value |
|---|---|
| Auth | Required |
| Permission | canViewFile |
Document Generation
Equa generates documents programmatically (e.g., share certificates, legend certificates). These are generated on-demand through cap table endpoints:| Document Type | Endpoint |
|---|---|
| Share Certificate | GET /v1/shareholding/:holding/certificate |
| Certificate Copy | GET /v1/shareholding/:holding/certificate/copy |
| Legend Certificate | GET /v1/organization/:org/legend/:legend/certificate |