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

Placeholder values

Pass placeholder values as a structured object:
import * as Clickterm from '@clickterm/react-native-sdk';

await Clickterm.show({
  clickwrapTemplateId: 'YOUR_TEMPLATE_ID',
  endUserId: 'user-123',
  templatePlaceholders: {
    fullName: 'Alice Example',
    email: '[email protected]',
    company: 'Acme Corp',
    jobTitle: 'Senior Counsel',
    date: '2026-06-23',
    phoneNumber: '+12025550123',
    registrationNumber: 'HRB 123456',
    vatNumber: 'GB123456789',
    address: '221B Baker St\nLondon NW1',
    customPlaceholders: {
      region: 'EMEA',
      plan: 'Enterprise',
      purchaseOrder: '12345-XYZ',
    },
  },
  language: 'en',
});
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.
CodeLanguageCodeLanguage
bg🇧🇬 Bulgarianhu🇭🇺 Hungarian
cs🇨🇿 Czechit🇮🇹 Italian
de🇩🇪 Germannl🇳🇱 Dutch
el🇬🇷 Greekno🇳🇴 Norwegian
en🇬🇧 Englishpl🇵🇱 Polish
es🇪🇸 Spanishpt🇵🇹 Portuguese
fi🇫🇮 Finnishro🇷🇴 Romanian
fr🇫🇷 Frenchru🇷🇺 Russian
hi🇮🇳 Hindisr🇷🇸 Serbian
sv🇸🇪 Swedishuk🇺🇦 Ukrainian
zh🇨🇳 Chinese (Simplified)
ClickTerm does not auto-translate your content. Create localized template content in the ClickTerm UI for every language you plan to support.