Revoke a legal document share link
Disables a public click-to-accept link. Idempotent. A recorded acceptance is unaffected; the link simply stops resolving.
Disables a public click-to-accept link. Idempotent. A recorded acceptance is unaffected; the link simply stops resolving.
Authorization
bearerAuth legal_documents:updateA gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).
In: header
Scope: legal_documents:update
Path Parameters
Header Parameters
Optional. Send a unique key per logical operation to make retries safe: a retry with the same key replays the stored success for 14 days instead of re-running the write. Reusing a key with a different body returns 400.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
{ "id": "string", "document_id": "string", "recipient_name": "string", "recipient_email": "string", "expires_at": "string", "revoked_at": "string", "has_passcode": true, "sent_at": "string", "first_viewed_at": "string", "last_viewed_at": "string", "view_count": -9007199254740991, "accepted_at": "string", "accepted_name": "string", "accepted_pdf_sha256": "string", "created_at": "string"}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}List a legal document's share links GET
Lists the click-to-accept links minted for a document, newest first, with view history and acceptance evidence (accepted name, time, and PDF hash).
Update a legal document PATCH
Updates draft fields or interview answers, or voids the document (`status: "voided"`). Editing answers on a generated document drops it back to draft and discards the stale assembly; sent/accepted content is immutable.