API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · sign_envelopes

Sign Envelope Schema

Schema ID
sign_envelope
Collection
sign_envelopes
Permissions
  • Readsign_envelope_view
  • Createsign_envelope_create
  • Editsign_envelope_edit
  • Deletesign_envelope_delete

Fields

Sign Envelope Schema

sign_envelopes4 permissions

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

titlestringrequired

Display name of the envelope

1–255 characters
messagestringoptional

Optional message shown to all signers

max 5000 charactersnullable
documentIduuidrequired

DMS document ID of the PDF to be signed

read-only
templateIduuidoptional

Optional sign template used to pre-populate fields

nullable
signersobject[]optional
Default: []read-only
namestringrequired
1–255 characters
emailemailrequired
max 255 characters
signerIndexintegerrequired
≥ 0
rolestringoptional

E.g. "Geschäftsführer"

max 100 charactersnullable
messagestringoptional
max 2000 charactersnullable
verificationMethodstringoptional
EMAIL_LINKSMS_OTPEMAIL_OTPIN_PERSON
Default: "EMAIL_LINK"
phoneNumberstringoptional

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

max 30 charactersnullable
partyIdstringoptional
max 64 charactersnullable
userIdstringoptional
max 64 charactersnullable
roleKeystringoptional
max 100 charactersnullable
actionstringoptional
FILLSIGNFILL_AND_SIGNnull
nullable
fieldsobject[]optional
Default: []read-only
fieldIduuidoptional
typestringrequired
SIGNATUREINITIALSTEXTDATECHECKBOXSTAMP
signerIndexintegerrequired
≥ 0
pageintegerrequired
≥ 1
xnumberrequired
0 – 1
ynumberrequired
0 – 1
widthnumberrequired
0 – 1
heightnumberrequired
0 – 1
requiredbooleanoptional
Default: true
labelstringoptional
max 255 charactersnullable
placeholderstringoptional
max 255 charactersnullable
defaultValuestringoptional
max 1000 charactersnullable
optionsstring[]optional

Dropdown options (for TEXT fields rendered as select)

nullable
characterLimitintegeroptional
≥ 1nullable
dateFormatstringoptional
max 50 charactersnullable
groupstringoptional

Group name — one checkbox in a group must be checked

max 100 charactersnullable
ccRecipientsobject[]optional

Receive a copy of the completed document

Default: []
namestringrequired
1–255 characters
emailemailrequired
max 255 characters
sourcestringoptional

Woher die Anfrage kam. Fehlt bei Altbestand

UPLOADTEMPLATEEMAILCHECKLISTGRCACCEPTANCEnull
read-onlynullable
originobjectoptional

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

read-onlynullable
typestringoptional
max 100 characters
idstringoptional
max 64 characters
itemIdstringoptional
max 64 charactersnullable
documentKeystringoptional
max 100 charactersnullable
bundleIdstringoptional

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

max 64 charactersread-onlynullable
signingOrderstringoptional

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

PARALLELSEQUENTIALMIXED
Default: "PARALLEL"
signingGroupsobject[]optional

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

nullable
groupIndexintegerrequired
≥ 0
signerIndicesinteger[]required
min 1 items
expiresAtdatetimeoptional

ISO 8601 expiry — envelope is voided after this date

nullable
reminderIntervalDaysintegeroptional

Send reminder emails every N days until signed

1 – 30nullable
linkedEntityTypestringoptional

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

max 100 charactersnullable
linkedEntityIduuidoptional

ID of the linked entity

nullable
linkedEntitiesobject[]optional

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
typestringrequired
1–100 characters
iduuidrequired
documentTypeIduuidoptional

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

nullable
dmsDocumentIduuidoptional

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
dmsFilingErrorobjectoptional

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
allowDeclinebooleanoptional

Whether signers are allowed to decline signing

Default: true
requireSignatureReasonbooleanoptional

Prompt signers to enter a reason/declaration with their signature

Default: false
bulkSendIduuidoptional

Groups envelopes from a bulk send operation

nullable
attachSignedPdfbooleanoptional

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
documentSha256stringoptional

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
platformSignatureErrorobjectoptional

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

read-onlynullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/sign_envelopes — List, paginated + filterable
  • GET /api/v1/sign_envelopes/<id> — Single entity
  • POST /api/v1/sign_envelopes — Create
  • PATCH /api/v1/sign_envelopes/<id> — Partial update
  • DELETE /api/v1/sign_envelopes/<id> — Soft delete
  • GET /api/v1/sign_envelopes/<id>/timeline — Audit + activities

Search