Skip to main content

ClickwrapTemplateRequest parameters

clickwrapTemplateId
string
required
Template ID from the ClickTerm dashboard.
endUserId
string
required
Your identifier for the end user (max 256 chars).
templatePlaceholders
{ ...standardFields, customPlaceholders?: Record<string, string> } | null
Structured placeholder object with standard fields plus customPlaceholders for user-defined keys. See Template placeholders for the full list.
language
string
required
Language code for template content and UI strings (e.g. "en"). See supported languages.

Placeholder values

Pass placeholder values as a structured object:
See Template placeholders for the full list of available placeholders with types and validation rules.

Visual customization

Starting from SDK version 2.1 of the underlying native SDKs, dialog appearance is customized from the ClickTerm Dashboard — no code-level configuration needed. Settings apply at the template level across all versions.

Supported languages

The language parameter determines both the template content language and UI strings (buttons, prompts, labels). If an unsupported language is used, the default language configured in the ClickTerm UI is used. See supported languages for the full list of language codes.