Create templates in Dashboard → Template OTP. Status must be ACTIVE before the API will send. The code placeholder is {{1}}.
Send with a template name
{ "to": "+628123456789", "template": "otp_login" }OTP
Outside the 24-hour customer window, WhatsApp only accepts templates. OTP uses category AUTHENTICATION.
Create templates in Dashboard → Template OTP. Status must be ACTIVE before the API will send. The code placeholder is {{1}}.
{ "to": "+628123456789", "template": "otp_login" }