Templates
Create an OTP template
Create an OTP template. Only name is required, every other field falls back to your account default.
In order to get access to this endpoint, contact our support team.
POST
Create an OTP template
Create an OTP template. Only
name is required: every other field falls back to your account default, so you can create a template per sub-customer with nothing but a name and a suffix.
Custom suffixes are checked before they are stored. Sending a suffix while custom suffixes are not enabled on your account is refused with custom_suffix_not_enabled. A suffix that is malformed is refused with invalid_suffix, one that reads like another company or a public institution with suffix_not_allowed, and one written in an alphabet we do not support yet with suffix_script_not_supported.
Access to the management API is opt-in. Contact our support team to enable it on your account.
Limits
This call counts toward the configuration-change limits of the Management API: 100 configuration changes per 24 hours, and 20 calls that send a new suffix. See Limits.Authorizations
Body
application/json
Response
Created
The kind of message the template sends. Possible values are:
optimized- A standard OTP message.psd2- A PSD2 strong customer authentication message.account-takeover- An account takeover confirmation message.magic-link- An SMS with a link to tap instead of a code. See Magic links.
Available options:
optimized, psd2, account-takeover, magic-link The security wording appended to the message. Possible values are:
none- No security wording.basic- A short do-not-share warning.expiration- The basic warning plus the code expiration.anti_phishing- The strongest anti-phishing wording.
Available options:
none, basic, expiration, anti_phishing