API Docs / Schemas / CustomTokenDto

CustomTokenDto

A user-defined custom token for document templates

Properties

Name Type Description
codestring

The unique code for this custom token

The unique code for this custom token

namestring

Human-readable display name for the token (e.g. "Company Secretary")

Human-readable display name for the token (e.g. "Company Secretary")

tokenIdentifierstring

The token identifier used in templates (e.g. "CompanySecretary" for {{ Custom.CompanySecretary }}).
Alphanumeric with underscores only.

The token identifier used in templates (e.g. "CompanySecretary" for {{ Custom.CompanySecretary }}).
Alphanumeric with underscores only.

descriptionstring

Optional prompt text shown when filling in the token value

Optional prompt text shown when filling in the token value

defaultValuestring

Optional default value pre-populated in the token form

Optional default value pre-populated in the token form

displayWidthstring

Preset display width for the input. Null defaults to Full.

Preset display width for the input. Null defaults to Full.

linesinteger

Number of visible text lines. Null renders a single-line input, 2+ renders a textarea.

Number of visible text lines. Null renders a single-line input, 2+ renders a textarea.

isRichTextboolean

When true and Lines >= 2, the input renders as a rich text editor instead of a plain textarea.

When true and Lines >= 2, the input renders as a rich text editor instead of a plain textarea.

createdDatestring

When the token was created

When the token was created

updatedDatestring

When the token was last updated

When the token was last updated

JSON Example

{
  "code": "string",
  "name": "string",
  "tokenIdentifier": "string",
  "description": "string",
  "defaultValue": "string"
}

Used By Operations

Contained in Schemas