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

Sign Template Schema

Schema ID
sign_template
Collection
sign_templates
Permissions
  • Readsign_template_view
  • Createsign_template_create
  • Editsign_template_edit
  • Deletesign_template_delete

Fields

Sign Template Schema

sign_templates4 permissions

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

namestringrequired

Template name

1–255 characters
descriptionstringoptional

Internal description of the template

max 2000 charactersnullable
defaultMessagestringoptional

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

max 5000 charactersnullable
defaultExpiryDaysintegeroptional

Default expiry in days from send date

1 – 365nullable
defaultReminderIntervalDaysintegeroptional
1 – 30nullable
signingOrderstringoptional
PARALLELSEQUENTIAL
Default: "PARALLEL"
allowDeclinebooleanoptional
Default: true
requireSignatureReasonbooleanoptional
Default: false
signerRolesobject[]optional

Named signer roles (filled in when creating an envelope)

Default: []
signerIndexintegerrequired
≥ 0
roleNamestringrequired
1–100 characters
roleDescriptionstringoptional
max 500 charactersnullable
verificationMethodstringoptional
EMAIL_LINKSMS_OTPEMAIL_OTPIN_PERSON
Default: "EMAIL_LINK"
defaultEmailemailoptional
max 255 charactersnullable
defaultNamestringoptional
max 255 charactersnullable
fieldsobject[]optional
Default: []
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
nullable
characterLimitintegeroptional
≥ 1nullable
dateFormatstringoptional
max 50 charactersnullable
groupstringoptional
max 100 charactersnullable
linkedEntityTypestringoptional

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

max 100 charactersnullable
tagsstring[]optional
Default: []
categorystringoptional

Template category for organization and filtering

GDPRCONTRACTOFFERHRCUSTOM
nullable
isSystemTemplatebooleanoptional

System templates are managed by Codemeta and cannot be deleted

Default: false
variablesobject[]optional

Template variables that are substituted when creating an envelope

Default: []
keystringrequired
1–100 characters
labelstringrequired
1–255 characters
typestringrequired
TEXTDATENUMBER
requiredbooleanoptional
Default: true
documentIduuidoptional

Default DMS document ID used when creating envelopes from this template

nullable

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_templates — List, paginated + filterable
  • GET /api/v1/sign_templates/<id> — Single entity
  • POST /api/v1/sign_templates — Create
  • PATCH /api/v1/sign_templates/<id> — Partial update
  • DELETE /api/v1/sign_templates/<id> — Soft delete
  • GET /api/v1/sign_templates/<id>/timeline — Audit + activities

Search