API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · sign_envelopes

Sign Envelope Schema

ID del esquema
sign_envelope
Colección
sign_envelopes
Permisos
  • Leersign_envelope_view
  • Crearsign_envelope_create
  • Modificarsign_envelope_edit
  • Eliminarsign_envelope_delete

Campos

Sign Envelope Schema

sign_envelopes4 permisos

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

titlestringobligatorio

Display name of the envelope

1–255 caracteres
messagestringopcional

Optional message shown to all signers

máx. 5000 caracteresadmite null
documentIduuidobligatorio

DMS document ID of the PDF to be signed

solo lectura
templateIduuidopcional

Optional sign template used to pre-populate fields

admite null
signersobject[]opcional
Valor por defecto: []solo lectura
namestringobligatorio
1–255 caracteres
emailemailobligatorio
máx. 255 caracteres
signerIndexintegerobligatorio
≥ 0
rolestringopcional

E.g. "Geschäftsführer"

máx. 100 caracteresadmite null
messagestringopcional
máx. 2000 caracteresadmite null
verificationMethodstringopcional
EMAIL_LINKSMS_OTPEMAIL_OTPIN_PERSON
Valor por defecto: "EMAIL_LINK"
phoneNumberstringopcional

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

máx. 30 caracteresadmite null
partyIdstringopcional
máx. 64 caracteresadmite null
userIdstringopcional
máx. 64 caracteresadmite null
roleKeystringopcional
máx. 100 caracteresadmite null
actionstringopcional
FILLSIGNFILL_AND_SIGNnull
admite null
fieldsobject[]opcional
Valor por defecto: []solo lectura
fieldIduuidopcional
typestringobligatorio
SIGNATUREINITIALSTEXTDATECHECKBOXSTAMP
signerIndexintegerobligatorio
≥ 0
pageintegerobligatorio
≥ 1
xnumberobligatorio
0 – 1
ynumberobligatorio
0 – 1
widthnumberobligatorio
0 – 1
heightnumberobligatorio
0 – 1
requiredbooleanopcional
Valor por defecto: true
labelstringopcional
máx. 255 caracteresadmite null
placeholderstringopcional
máx. 255 caracteresadmite null
defaultValuestringopcional
máx. 1000 caracteresadmite null
optionsstring[]opcional

Dropdown options (for TEXT fields rendered as select)

admite null
characterLimitintegeropcional
≥ 1admite null
dateFormatstringopcional
máx. 50 caracteresadmite null
groupstringopcional

Group name — one checkbox in a group must be checked

máx. 100 caracteresadmite null
ccRecipientsobject[]opcional

Receive a copy of the completed document

Valor por defecto: []
namestringobligatorio
1–255 caracteres
emailemailobligatorio
máx. 255 caracteres
sourcestringopcional

Woher die Anfrage kam. Fehlt bei Altbestand

UPLOADTEMPLATEEMAILCHECKLISTGRCACCEPTANCEnull
solo lecturaadmite null
originobjectopcional

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

solo lecturaadmite null
typestringopcional
máx. 100 caracteres
idstringopcional
máx. 64 caracteres
itemIdstringopcional
máx. 64 caracteresadmite null
documentKeystringopcional
máx. 100 caracteresadmite null
bundleIdstringopcional

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

máx. 64 caracteressolo lecturaadmite null
signingOrderstringopcional

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

PARALLELSEQUENTIALMIXED
Valor por defecto: "PARALLEL"
signingGroupsobject[]opcional

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

admite null
groupIndexintegerobligatorio
≥ 0
signerIndicesinteger[]obligatorio
mín. 1 elementos
expiresAtdatetimeopcional

ISO 8601 expiry — envelope is voided after this date

admite null
reminderIntervalDaysintegeropcional

Send reminder emails every N days until signed

1 – 30admite null
linkedEntityTypestringopcional

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

máx. 100 caracteresadmite null
linkedEntityIduuidopcional

ID of the linked entity

admite null
linkedEntitiesobject[]opcional

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.

máx. 50 elementos
typestringobligatorio
1–100 caracteres
iduuidobligatorio
documentTypeIduuidopcional

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

admite null
dmsDocumentIduuidopcional

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.

solo lecturaadmite null
dmsFilingErrorobjectopcional

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.

solo lecturaadmite null
allowDeclinebooleanopcional

Whether signers are allowed to decline signing

Valor por defecto: true
requireSignatureReasonbooleanopcional

Prompt signers to enter a reason/declaration with their signature

Valor por defecto: false
bulkSendIduuidopcional

Groups envelopes from a bulk send operation

admite null
attachSignedPdfbooleanopcional

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

Valor por defecto: true
documentSha256stringopcional

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.

Patrónsolo lecturaadmite null
platformSignatureErrorobjectopcional

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

solo lecturaadmite null

Endpoints estándar

Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:

  • GET /api/v1/sign_envelopes — Lista, paginada y filtrable
  • GET /api/v1/sign_envelopes/<id> — Una entidad
  • POST /api/v1/sign_envelopes — Crear
  • PATCH /api/v1/sign_envelopes/<id> — Actualización parcial
  • DELETE /api/v1/sign_envelopes/<id> — Eliminación lógica
  • GET /api/v1/sign_envelopes/<id>/timeline — Auditoría y actividades

Búsqueda