POST api/2.0/files/sharedlink/password

Description

Sets a cookie after verifying the password for a password-protected external link and returns a link to the shared file.

Parameters
Name Description Type Example
key
sent in body
Link signature string some text
passwordHash
sent in body
Password hash string some text
isFolder
sent in body
Specifies if a link is to the shared folder or not Bool value true
Example
POST api/2.0/files/sharedlink/password
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "key": "some text",
  "passwordHash": "some text",
  "isFolder": true
}
Returns

Shared file link