otp_send_email
Send a one-time password via email for user verification. The email body must include the <%otp_code%> placeholder to insert the generated code.
Instructions
Send an OTP (One-Time Password) via Email. CRITICAL: The message parameter MUST contain the exact placeholder <%otp_code%>. If this placeholder is missing, the API call will fail with a 422 error. :param email: Recipient email address. :param subject: Email subject. :param message: Email body containing <%otp_code%> template (e.g. 'Your verification code is: <%otp_code%>'). :param expiry: OTP validity duration in minutes (default 5). :param length: Digit length of the OTP (default 4).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Recipient email address. | ||
| expiry | No | OTP validity duration in minutes (default 5). | |
| length | No | Digit length of the OTP (default 4). | |
| message | Yes | Email body containing `<%otp_code%>` template (e.g. 'Your verification code is: <%otp_code%>'). | |
| subject | Yes | Email subject. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||