Skip to main content

Set a cookie for a password-protected external link

POST /api/2.0/files/sharedlink/password

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

Request body​

key​

type: string

Link signature

Example: "string"

passwordHash​

type: string

Password hash

Example: "string"

isFolder​

type: boolean

Specifies if a link is to the shared folder or not

Example: true

Request example​

{
"key": "string",
"passwordHash": "string",
"isFolder": true
}

Returns​

Shared file link