Get Started
API backend
API system
More information

PUT api/2.0/files/{fileId}/sharedlinkAsync This function requires authentication

Description

Returns an external link to the shared file with the ID specified in the request.

Parameters
Name Description Type Example
fileId
sent in url
File ID `0
Share
sent in body
Sharing rights ASC.Files.Core.Security.FileShare
Example
PUT api/2.0/files/{fileid}/sharedlinkasync
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Share": "ReadWrite"
}
Returns

Shared file link