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

Sign Template Schema

ID du schéma
sign_template
Collection
sign_templates
Autorisations
  • Liresign_template_view
  • Créersign_template_create
  • Modifiersign_template_edit
  • Supprimersign_template_delete

Champs

Sign Template Schema

sign_templates4 autorisations

Reusable envelope template with pre-defined signer roles and field placements

namestringobligatoire

Template name

1–255 caractères
descriptionstringfacultatif

Internal description of the template

max. 2000 caractèresnullable
defaultMessagestringfacultatif

Default message pre-filled when creating an envelope from this template

max. 5000 caractèresnullable
defaultExpiryDaysintegerfacultatif

Default expiry in days from send date

1 – 365nullable
defaultReminderIntervalDaysintegerfacultatif
1 – 30nullable
signingOrderstringfacultatif
PARALLELSEQUENTIAL
Par défaut : "PARALLEL"
allowDeclinebooleanfacultatif
Par défaut : true
requireSignatureReasonbooleanfacultatif
Par défaut : false
signerRolesobject[]facultatif

Named signer roles (filled in when creating an envelope)

Par défaut : []
signerIndexintegerobligatoire
≥ 0
roleNamestringobligatoire
1–100 caractères
roleDescriptionstringfacultatif
max. 500 caractèresnullable
verificationMethodstringfacultatif
EMAIL_LINKSMS_OTPEMAIL_OTPIN_PERSON
Par défaut : "EMAIL_LINK"
defaultEmailemailfacultatif
max. 255 caractèresnullable
defaultNamestringfacultatif
max. 255 caractèresnullable
fieldsobject[]facultatif
Par défaut : []
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
nullable
characterLimitintegerfacultatif
≥ 1nullable
dateFormatstringfacultatif
max. 50 caractèresnullable
groupstringfacultatif
max. 100 caractèresnullable
linkedEntityTypestringfacultatif

Schema ID of the linked entity type this template is designed for

max. 100 caractèresnullable
tagsstring[]facultatif
Par défaut : []
categorystringfacultatif

Template category for organization and filtering

GDPRCONTRACTOFFERHRCUSTOM
nullable
isSystemTemplatebooleanfacultatif

System templates are managed by Codemeta and cannot be deleted

Par défaut : false
variablesobject[]facultatif

Template variables that are substituted when creating an envelope

Par défaut : []
keystringobligatoire
1–100 caractères
labelstringobligatoire
1–255 caractères
typestringobligatoire
TEXTDATENUMBER
requiredbooleanfacultatif
Par défaut : true
documentIduuidfacultatif

Default DMS document ID used when creating envelopes from this template

nullable

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_templates — Liste, paginée et filtrable
  • GET /api/v1/sign_templates/<id> — Une entité
  • POST /api/v1/sign_templates — Créer
  • PATCH /api/v1/sign_templates/<id> — Mise à jour partielle
  • DELETE /api/v1/sign_templates/<id> — Suppression logique
  • GET /api/v1/sign_templates/<id>/timeline — Audit et activités

Recherche