Via WhatsApp
Send
Send a One-Time Passcode (OTP) to a User via WhatsApp.
POST
C#
This endpoint sends a one-time passcode (OTP) to a user’s WhatsApp using their phone number. If you’d like to create a user and send them a passcode with one request, use the login or create user endpoint.
Sending an OTP code will invalidate any previously sent OTP code for the same user.
Authorizations
Body
application/json
Request type
The phone number to use for one-time passcodes. The phone number should be in E.164 format (i.e. +1XXXXXXXXXX). You may use +10000000000 to test this endpoint, see Testing for more detail.
Used to determine which language to use when sending the user this delivery method. Parameter is an IETF BCP 47 language tag, e.g. "en".
If no value is provided, the copy defaults to English.
Available options:
en, es, pt-br, fr, it, de-DE, zh-Hans, ca-ES, ja, ru, nl, pl, tr, fa, vi, cs Response
Successful response