Templates
Retrieve available message templates for 2FA delivery.
Authorizations
Responses
200
200
application/json
401
401
application/json
429
429
application/json
500
500
application/json
get
/v1.0/2fa/templateGET /v1.0/2fa/template HTTP/1.1
Host: messaging-api.bind.hr
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": "065efefb-650d-4e38-9927-431db8c6ec30",
"name": "otp_simple",
"from": "YourCompany",
"text": "Your 2FA verification code is ${code}",
"ttl": 300
},
{
"id": "20891401-e79d-4061-8a3b-10342ef51c65",
"name": "otp_advanced",
"from": "YourCompany",
"text": "Hello ${firstName} ${lastName}. Please enter ${code} as your one-time pin.",
"ttl": 60
}
]
}