Skip to main content
Exchange a one-time token for the share password

Path Parameters

shareToken
string
required

Share token of the share whose password is being claimed.

Minimum string length: 1
Pattern: ^[A-Za-z0-9._-]+$
Example:

"cir_82c5fa30d26bc.WBv2Jc8lXo3pQ9rT5uYhZaEwSdFgHjKmNbVcXzLqRt0"

token
string
required

Single-use token handed out by the identity verification that unlocked the share. It is a value of its own and not one of the platform's access tokens, so it does not carry an identifier to look the share up by.

Minimum string length: 1
Pattern: ^[A-Za-z0-9._-]+$
Example:

"Kq7mZ2xR9bTvL4nP6wYcJ3dH8sFgA5eU"

Query Parameters

tenant
string

Tenant the share belongs to. It only has to be given when neither the share token nor the address the request arrives on says which one it is.

Pattern: ^[a-z0-9]+$
Example:

"default"

Response

Returns the password that unlocks the share.

password
string

Password that unlocks the share, to be sent as otp on every share call. It is renewed each time the recipient proves themselves anew, so the newest one is the one that counts.

Example:

"12945234"