fileId and assigns it to a participant document slot.
Flow
- Upload the file with Upload a file, sending the bytes as
multipart/form-data. Save the returnedfile.fileId. - Upsert the
fileIdinto a participant document slot with Upsert a participant document.
Endpoint map
| Step | Endpoint | API surface | Output |
|---|---|---|---|
| Upload file | POST /partner/commenda-os/customers/{customerId}/files | Commenda OS Partner API | file.fileId |
| Upsert typed participant document | PUT /partner/incorporation/{incorporationId}/participants/{participantId}/documents/{documentKind} | Partner Incorporation API | document.documentId |
Important handoffs
- The upload endpoint accepts only a
filemultipart part. It returns afileIdand nothing else — any metadata set by future attach calls is layered on top of the underlying file. - Use
file.fileIdwhen upserting incorporation participant documents. The upsert assigns the file to the participant document slot. - Uploads are capped at 100 MB per request, must use one of the accepted MIME types, and time out after 120 seconds. See Upload a file for the full limits and error codes. Contact Commenda if you need to upload files larger than 100 MB.