Generates a sharing key for a file or folder, making it accessible via a public link.
If the item already has a sharing key, the existing key is retained and the expiration is updated.itemType must be file or folder.accessType applies to files only — folders have no access type of their own, so supplying
it on a folder is rejected rather than silently ignored.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params
Body Params
application/json
Required
Example
{"keyExpiration":null,"accessType":null}
Responses
🟢200
Success: Returns the item ID, sharing key, expiration, and — for files — the access type.