API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · sign_envelopes

Sign Envelope Schema

Schema-ID
sign_envelope
Collection
sign_envelopes
Permissions
  • Lezensign_envelope_view
  • Aanmakensign_envelope_create
  • Wijzigensign_envelope_edit
  • Verwijderensign_envelope_delete

Velden

Sign Envelope Schema

sign_envelopes4 permissions

Electronic signature envelope — a document sent to one or more signers

titlestringvereist

Display name of the envelope

1–255 tekens
messagestringoptioneel

Optional message shown to all signers

max. 5000 tekensnullable
documentIduuidvereist

DMS document ID of the PDF to be signed

read-only
templateIduuidoptioneel

Optional sign template used to pre-populate fields

nullable
signersobject[]optioneel
Default: []read-only
namestringvereist
1–255 tekens
emailemailvereist
max. 255 tekens
signerIndexintegervereist
≥ 0
rolestringoptioneel

E.g. "Geschäftsführer"

max. 100 tekensnullable
messagestringoptioneel
max. 2000 tekensnullable
verificationMethodstringoptioneel
EMAIL_LINKSMS_OTPEMAIL_OTPIN_PERSON
Default: "EMAIL_LINK"
phoneNumberstringoptioneel

Veraltet: Einen SMS-Anbieter gibt es nicht, der Code geht per E-Mail

max. 30 tekensnullable
partyIdstringoptioneel
max. 64 tekensnullable
userIdstringoptioneel
max. 64 tekensnullable
roleKeystringoptioneel
max. 100 tekensnullable
actionstringoptioneel
FILLSIGNFILL_AND_SIGNnull
nullable
fieldsobject[]optioneel
Default: []read-only
fieldIduuidoptioneel
typestringvereist
SIGNATUREINITIALSTEXTDATECHECKBOXSTAMP
signerIndexintegervereist
≥ 0
pageintegervereist
≥ 1
xnumbervereist
0 – 1
ynumbervereist
0 – 1
widthnumbervereist
0 – 1
heightnumbervereist
0 – 1
requiredbooleanoptioneel
Default: true
labelstringoptioneel
max. 255 tekensnullable
placeholderstringoptioneel
max. 255 tekensnullable
defaultValuestringoptioneel
max. 1000 tekensnullable
optionsstring[]optioneel

Dropdown options (for TEXT fields rendered as select)

nullable
characterLimitintegeroptioneel
≥ 1nullable
dateFormatstringoptioneel
max. 50 tekensnullable
groupstringoptioneel

Group name — one checkbox in a group must be checked

max. 100 tekensnullable
ccRecipientsobject[]optioneel

Receive a copy of the completed document

Default: []
namestringvereist
1–255 tekens
emailemailvereist
max. 255 tekens
sourcestringoptioneel

Woher die Anfrage kam. Fehlt bei Altbestand

UPLOADTEMPLATEEMAILCHECKLISTGRCACCEPTANCEnull
read-onlynullable
originobjectoptioneel

Rückweg zum Auslöser, zum Beispiel dem Checklistenschritt

read-onlynullable
typestringoptioneel
max. 100 tekens
idstringoptioneel
max. 64 tekens
itemIdstringoptioneel
max. 64 tekensnullable
documentKeystringoptioneel
max. 100 tekensnullable
bundleIdstringoptioneel

Mappe: Mehrere Anfragen, die der Kunde über einen Link abarbeitet

max. 64 tekensread-onlynullable
signingOrderstringoptioneel

SEQUENTIAL = in order; PARALLEL = all at once; MIXED = grouped

PARALLELSEQUENTIALMIXED
Default: "PARALLEL"
signingGroupsobject[]optioneel

For MIXED signing order: groups of signers that sign in parallel within the group, sequential between groups

nullable
groupIndexintegervereist
≥ 0
signerIndicesinteger[]vereist
min. 1 items
expiresAtdatetimeoptioneel

ISO 8601 expiry — envelope is voided after this date

nullable
reminderIntervalDaysintegeroptioneel

Send reminder emails every N days until signed

1 – 30nullable
linkedEntityTypestringoptioneel

Schema ID of linked entity (e.g. "contract", "avv")

max. 100 tekensnullable
linkedEntityIduuidoptioneel

ID of the linked entity

nullable
linkedEntitiesobject[]optioneel

All records this envelope belongs to (ADR 1133). `linkedEntityType`/`linkedEntityId` keep mirroring the first element until every reader is migrated. Absent on envelopes created before 2026-11; read through `readSignEnvelopeLinks`, never directly.

max. 50 items
typestringvereist
1–100 tekens
iduuidvereist
documentTypeIduuidoptioneel

DMS document type for the signed document (ADR 1133). Falls back to the type of the source document.

nullable
dmsDocumentIduuidoptioneel

The dms_document holding the signed PDF (ADR 1133). Absent until filed; envelopes from before 2026-11 are filed on demand. Server-only — a protected field.

read-onlynullable
dmsFilingErrorobjectoptioneel

Set when filing the signed PDF in the DMS failed; the signature itself stays valid and filing can be repeated (ADR 1133). Server-only — a protected field.

read-onlynullable
allowDeclinebooleanoptioneel

Whether signers are allowed to decline signing

Default: true
requireSignatureReasonbooleanoptioneel

Prompt signers to enter a reason/declaration with their signature

Default: false
bulkSendIduuidoptioneel

Groups envelopes from a bulk send operation

nullable
attachSignedPdfbooleanoptioneel

Attach the signed PDF to the completion email. Set by CreateEnvelopeDialog and read by the SEND_COMPLETION_NOTICE handler. Declared here because the schema is `additionalProperties: false` — it worked only because POST /sign/envelopes does not AJV-validate its body yet, so adding body validation would have silently dropped the flag (ADR 0348 §9).

Default: true
documentSha256stringoptioneel

SHA-256 (hex) of the source PDF bytes, taken when the envelope leaves DRAFT (`prepareSendEnvelope`). Finalize re-reads the bytes and refuses to stamp when they differ (VULN-2026-10-14-sign-envelope-document-swappable-after-signing). Server-only — a protected field.

Patternread-onlynullable
platformSignatureErrorobjectoptioneel

Set by `applyPlatformSignature` when it refused to stamp (e.g. `DOCUMENT_HASH_MISMATCH`). Server-only — a protected field.

read-onlynullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/sign_envelopes — Lijst, gepagineerd + filterbaar
  • GET /api/v1/sign_envelopes/<id> — Enkele entity
  • POST /api/v1/sign_envelopes — Aanmaken
  • PATCH /api/v1/sign_envelopes/<id> — Gedeeltelijke update
  • DELETE /api/v1/sign_envelopes/<id> — Soft-delete
  • GET /api/v1/sign_envelopes/<id>/timeline — Audit + activiteiten

Zoeken