Skip to main content
Hand a share over to somebody else

Query Parameters

otp
string

Authorization password for the share token. Required if the share is protected.

Example:

"553827"

shareToken
string
required

Share token used to access the shared resource.

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

"cir_82c5fa30d26bc.WBv2Jc8lXo3pQ9rT5uYhZaEwSdFgHjKmNbVcXzLqRt0"

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"

Body

application/json
delegateTo
string
required

Who to hand the action over to - the username of somebody with an account in this workspace, or the e-mail address of somebody without one.

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

"john.doe+member@example.com"

fullname
string | null

Full name of the new recipient. Used for external recipients only — it is stored on the delegated share and pre-filled in the signature field / notifications. Ignored for internal recipients (their profile name is used). If omitted for an external recipient, the name is taken from the delegator's contact list when a matching contact exists; the original recipient's name is never carried over.

Maximum string length: 255
Example:

"John Doe"

isPublicComment
boolean
default:false

Whether every recipient of the document may read the accompanying message, rather than only the workspace. A recipient from outside the workspace always hands over in the open, so that they can see what they wrote.

Example:

false

mail
string<email> | null

Address to send the new recipient's one-time code to. Where the share is guarded by a one-time code, exactly one of the address and the number has to be given.

Maximum string length: 128
Pattern: ^[A-Za-z0-9.@_+-]+$
Example:

"jane.doe+2024@example.com"

message
string

Note the delegating recipient leaves with the hand-over, recorded on the document and delivered to the person taking it on. May carry basic formatting — bold, italic, underline, https links and bullet lists; everything else is stripped on input.

Maximum string length: 2000
Example:

"Processed <b>as requested</b>, see <a href=\"https://example.com/report\">the report</a>."

nafathId
string | null

The new recipient's Nafath national identity. It has to be given where the share is guarded by Nafath.

oauthFactors
object[] | null

Details the identity provider has to report about the new recipient before the share opens. Where the share is guarded by a sign-in and none are given, the address the share is handed to is matched.

phone
string | null

Number to send the new recipient's one-time code to by SMS. Where the share is guarded by a one-time code, exactly one of the address and the number has to be given.

Pattern: ^\+?[1-9]\d{1,14}$
Example:

"+493012345678"

Response

The share was handed over.

status
string

Outcome of the operation, reported as a status type constant.

Example:

"SUCCESS"