POST
/
otp
/
new

Authorizations

Authorization
string
header
required

Authentication using a Bearer Token. Specify Authorization: Token YOUR_TOKEN. Bearer is allowed.

Body

application/json
language
enum<string>
required

Language for OTP message

Available options:
en,
af,
ar,
ca,
zh,
zh-hk,
hr,
cs,
da,
nl,
fi,
fr,
de,
el,
he,
hi,
hu,
id,
it,
ja,
ko,
ms,
nb,
pl,
pt-br,
pt,
ro,
ru,
es,
sv,
tl,
th,
tr,
vi
to
string
required

Recipient's phone number

name
string

Your app's name (customizes message to 'Your [name] code is...')

Response

200 - application/json
crumbs
object
message
string
otp_id
string

ID of the generated OTP

Was this page helpful?