Skip to main content
Contact the owner of a document

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Query Parameters

documentId
string

Identifier of the document whose owner is contacted. Exactly one of documentId and shareToken must be provided.

Pattern: ^[A-Za-z0-9_-]+$
Example:

"a0d01c9d-f72f-4c57-af11-e26bda19cc59"

shareToken
string

Share the message is sent about; the document is taken from the share. This is the way a recipient who has only been given a link reaches the owner. Exactly one of documentId and shareToken must be provided.

Pattern: ^[A-Za-z0-9._-]+$
Example:

"cir_82c5fa30d26bc.WBv2Jc8lXo3pQ9rT5uYhZaEwSdFgHjKmNbVcXzLqRt0"

tenant
string

Tenant the document belongs to. An authenticated caller may only name their own. Without it the tenant is derived from the host the request arrived on, and a share token carries its own.

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

"default"

Body

application/json
message
string
required

Text delivered to the owner. May carry basic formatting — bold, italic, underline, https links and bullet lists; everything else is stripped on input. Must contain visible text.

Maximum string length: 2000
Example:

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

name
string | null

Name the message is signed with. It is required from an unauthenticated caller; for an authenticated one it is ignored in favour of their own profile.

replyTo
string<email> | null

Address the owner can answer at. It is required from an unauthenticated caller; for an authenticated one it is ignored in favour of their own address.

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

"jane.doe+2024@example.com"

Response

The message was handed over for delivery.

status
string

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

Example:

"SUCCESS"