Skip to main content
Complete an accept, approve or review turn

Path Parameters

version
integer
required

Version the recipient read and is acting on. The action is refused when the document has changed since, so that nobody accepts or approves something they have not seen.

Required range: x > 0
Example:

6

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
comment
string

Remark the recipient leaves with their answer. 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>."

isPublicComment
boolean
default:false

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

Example:

false

positive
boolean
default:false

How the recipient answered - whether they came out in favour. It is recorded with their answer and reported back with the document; the transaction moves on either way, a recipient who wants to stop it rejecting the share instead.

Example:

false

submittedFiles
object[]

Files the recipient hands in with their answer, out of those they uploaded themselves. It takes a share that allows uploading.

Response

The recipient's turn was completed.

status
string

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

Example:

"SUCCESS"