Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

Request Client Approval

POST /tenants/{tenant}/clients/{client}/clientdocument/request-approval

Sends one or more documents to a client for approval. The documents appear in the client portal for approval. In Batch mode they form a single approval request the client approves or rejects in one go, and the request is rejected outright if any document is ineligible. In Individual mode each document gets its own approval request and the response reports each one separately. When scheduledAt is set, nothing happens now: the documents stay untouched, a scheduled send dispatches the request at that time and 202 is returned.

Requires: Update on ClientDocuments.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

client* path string
{
  "documentCodes": [
    "string"
  ],
  "mode": "Individual",
  "recipientEmails": "string",
  "chaseFrequencyDays": 0,
  "approvalMethod": "Portal"
}

Responses

202 Accepted
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found