send_otp
Send an OTP to an international phone number. A free OTP key sends from the WALoops WhatsApp number; channel may be whatsapp or sms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | International digits, for example 919876543210. | |
| channel | No | ||
| purpose | No | OTP purpose; defaults to login. | login |
| site_url | Yes | URL of the app or site this OTP is for, e.g. https://myapp.com. Required by the OTP API so every key has a known site. |