Create share link

Create a share link for a file, a folder or the whole library (path = /). Requires a token with rw permission.

  • The link is created in the name of the user who generated the API token, and is limited by that user's permission on path.
  • If permissions is omitted, the link allows preview and download. can_upload is only possible for folders with read-write permission; can_edit only for editable files.
  • Links for encrypted libraries cannot be created.
  • This endpoint does not support password protection or an expiration date.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
Responses

400

path or permissions invalid, or share link limit of the library exceeded

403

Permission denied (token without rw permission, encrypted library, or permission not sufficient for the requested link permissions)

404

Library, file or folder not found

Language
Credentials
Bearer
API-Token
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json