Skip to main content
GET
Get an email template

Authorizations

Authorization
string
header
required

Your API key in Authorization: Bearer <key>. Use vk_test_… keys against the sandbox and vk_live_… keys against production.

Path Parameters

emailTemplateId
integer<uint64>
required

Id of the email template. Unsigned 64-bit integer (ids and large counters). May exceed 2^53; parse with a BigInt-safe JSON parser in JavaScript.

Required range: 0 <= x <= 18446744073709552000

Response

OK

Single-object envelope around a EmailTemplate.

data
object
required

An OTP email template. Variables: required {{otpCode}}, {{expiresInMinutes}}; optional {{partnerName}}, {{logoUrl}}, {{primaryColor}}, {{supportEmail}}, {{linkName}}, {{locale}}. Helpers: if, unless, each only.