Merchants with a Cloud API WhatsApp number can now create Authentication templates for one-time passwords (OTP). Before this update, the Authentication category was offered only for Gupshup numbers.
Authentication is a template category in Message Templates. WhatsApp sets the message text and the Copy code button, so there is nothing to write. The message reads "{{1}} is your verification code.", and the code is filled in each time you send. Custom message text, headers, footers, buttons and cards are not available for this category.
You can set two optional limits: how long a code stays valid (1 to 90 minutes) and how long WhatsApp keeps trying to deliver the message (30 to 900 seconds). Numbers connected through Gupshup work as before.
Authentication templates work only in External API Trigger automations. Your system asks for a code, and DelightChat delivers it on WhatsApp. They do not appear in the template lists for Shopify triggers, Shopify Flow, broadcasts or the inbox.
Send the current code in every request. To resend, send a new request with a fresh code.
Related setup: Custom Use Cases with WhatsApp Marketing API explains how to create an External API Trigger automation and build the API request. It does not cover Authentication templates.