API ReferenceFolder Management

Share Folder

POST/api/v1/folders/{folderId}/share

Share a folder and its contents with other users by email. Recipients will receive an email notification and can access the folder through their ZeroDrive account.

Headers

AuthorizationstringRequired

Bearer token for authentication

Content-TypestringRequired

application/json

Path Parameters

folderIdstringRequired

The unique identifier of the folder to share

Body

emailsarrayRequired

Email addresses of users to share with

rolestringOptional

Permission level for shared users

canSharebooleanOptional

Whether recipients can re-share the folder

messagestringOptional

Optional message to include in the share notification

POST/api/v1/folders/{folderId}/share
Response