Collections

Set a document's parties

Changed on

Hands over the document's parties as your system has them, the way a connected mailbox does at import: typed identifiers with an optional role, and whether the list is complete (only a complete list whose every party is your own makes a document internal). The document's labels are derived again at once; a party nobody in the directory knows yet may leave the document pending for a short while, during which it stays under every limit. Requires the documents:write scope. The key's person must be allowed to edit in the workspace, as in the web app.

put/v1/documents/{id}/parties

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required

Request body

object required
parties, DocumentParty[] required
complete, boolean

Example request

{
  "parties": [
    {
      "id": "email:jane@acme.com"
    }
  ]
}

Response

OK

object required

Changes