API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · sign_envelopes

Sign Envelope Schema

ID du schéma
sign_envelope
Collection
sign_envelopes
Autorisations
  • Liresign_envelope_view
  • Créersign_envelope_create
  • Modifiersign_envelope_edit
  • Supprimersign_envelope_delete

Champs

Sign Envelope Schema

sign_envelopes4 autorisations

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

titlestringobligatoire

Display name of the envelope

1–255 caractères
messagestringfacultatif

Optional message shown to all signers

max. 5000 caractèresnullable
documentIduuidobligatoire

DMS document ID of the PDF to be signed

lecture seule
templateIduuidfacultatif

Optional sign template used to pre-populate fields

nullable
signersobject[]facultatif
Par défaut : []lecture seule
namestringobligatoire
1–255 caractères
emailemailobligatoire
max. 255 caractères
signerIndexintegerobligatoire
≥ 0
rolestringfacultatif

E.g. "Geschäftsführer"

max. 100 caractèresnullable
messagestringfacultatif
max. 2000 caractèresnullable
verificationMethodstringfacultatif
EMAIL_LINKSMS_OTPEMAIL_OTPIN_PERSON
Par défaut : "EMAIL_LINK"
phoneNumberstringfacultatif

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

max. 30 caractèresnullable
partyIdstringfacultatif
max. 64 caractèresnullable
userIdstringfacultatif
max. 64 caractèresnullable
roleKeystringfacultatif
max. 100 caractèresnullable
actionstringfacultatif
FILLSIGNFILL_AND_SIGNnull
nullable
fieldsobject[]facultatif
Par défaut : []lecture seule
fieldIduuidfacultatif
typestringobligatoire
SIGNATUREINITIALSTEXTDATECHECKBOXSTAMP
signerIndexintegerobligatoire
≥ 0
pageintegerobligatoire
≥ 1
xnumberobligatoire
0 – 1
ynumberobligatoire
0 – 1
widthnumberobligatoire
0 – 1
heightnumberobligatoire
0 – 1
requiredbooleanfacultatif
Par défaut : true
labelstringfacultatif
max. 255 caractèresnullable
placeholderstringfacultatif
max. 255 caractèresnullable
defaultValuestringfacultatif
max. 1000 caractèresnullable
optionsstring[]facultatif

Dropdown options (for TEXT fields rendered as select)

nullable
characterLimitintegerfacultatif
≥ 1nullable
dateFormatstringfacultatif
max. 50 caractèresnullable
groupstringfacultatif

Group name — one checkbox in a group must be checked

max. 100 caractèresnullable
ccRecipientsobject[]facultatif

Receive a copy of the completed document

Par défaut : []
namestringobligatoire
1–255 caractères
emailemailobligatoire
max. 255 caractères
sourcestringfacultatif

Woher die Anfrage kam. Fehlt bei Altbestand

UPLOADTEMPLATEEMAILCHECKLISTGRCACCEPTANCEnull
lecture seulenullable
originobjectfacultatif

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

lecture seulenullable
typestringfacultatif
max. 100 caractères
idstringfacultatif
max. 64 caractères
itemIdstringfacultatif
max. 64 caractèresnullable
documentKeystringfacultatif
max. 100 caractèresnullable
bundleIdstringfacultatif

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

max. 64 caractèreslecture seulenullable
signingOrderstringfacultatif

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

PARALLELSEQUENTIALMIXED
Par défaut : "PARALLEL"
signingGroupsobject[]facultatif

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

nullable
groupIndexintegerobligatoire
≥ 0
signerIndicesinteger[]obligatoire
min. 1 éléments
expiresAtdatetimefacultatif

ISO 8601 expiry — envelope is voided after this date

nullable
reminderIntervalDaysintegerfacultatif

Send reminder emails every N days until signed

1 – 30nullable
linkedEntityTypestringfacultatif

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

max. 100 caractèresnullable
linkedEntityIduuidfacultatif

ID of the linked entity

nullable
linkedEntitiesobject[]facultatif

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 éléments
typestringobligatoire
1–100 caractères
iduuidobligatoire
documentTypeIduuidfacultatif

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

nullable
dmsDocumentIduuidfacultatif

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.

lecture seulenullable
dmsFilingErrorobjectfacultatif

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.

lecture seulenullable
allowDeclinebooleanfacultatif

Whether signers are allowed to decline signing

Par défaut : true
requireSignatureReasonbooleanfacultatif

Prompt signers to enter a reason/declaration with their signature

Par défaut : false
bulkSendIduuidfacultatif

Groups envelopes from a bulk send operation

nullable
attachSignedPdfbooleanfacultatif

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).

Par défaut : true
documentSha256stringfacultatif

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.

Motiflecture seulenullable
platformSignatureErrorobjectfacultatif

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

lecture seulenullable

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/sign_envelopes — Liste, paginée et filtrable
  • GET /api/v1/sign_envelopes/<id> — Une entité
  • POST /api/v1/sign_envelopes — Créer
  • PATCH /api/v1/sign_envelopes/<id> — Mise à jour partielle
  • DELETE /api/v1/sign_envelopes/<id> — Suppression logique
  • GET /api/v1/sign_envelopes/<id>/timeline — Audit et activités

Recherche