Skip to main content

Upload user document

POST 

/v1/organizations/:orgId/tenants/:tenantId/users/:userId/documents/upload

Uploads a document file (image or PDF) for a user. Accepts standard base64-encoded file. Creates the document record and returns the CDN URL. Requires S3_BUCKET_NAME; returns 503 if not configured.

Allowed content types: image/jpeg, image/png, image/webp, application/pdf Max size: 5 MB

Request

Responses

Document uploaded and record created