Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

Share Folder

POST /tenants/{tenant}/clients/{client}/shared-folders

Shares a storage folder with the client's portal. Every file in it and in the folders beneath it is shown to the client in the same folder structure. That includes files that are hidden from the client when the folder is shared, which become visible, and files and folders added later. A file is tracked as a visible document, or its hidden document shown, the next time its folder is read, in the portal or on the client's Documents tab. A file hidden after the folder was shared stays hidden. Sharing a folder that is already shared returns it. Refused with a 400 when the folder is inside a shared folder, or has a shared folder inside it. Returns 404 if the tenant has no external storage or the client has no folder mapped.

Requires: Update on ClientDocuments.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

client* path string

Request Body*

{
  "externalFolderId": "string",
  "folderPath": "string"
}

Responses

400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found