tpl_..., not a provider's internal component name.template and variables instead of a raw message. A request without channel still defaults to phone-based Smart routing; select email explicitly for an email template.12345678{ "to": "+2348012345678", "template": "tpl_your_template_id", "channel": "whatsapp", "purpose": "otp", "variables": {"otp": "638492"}, "test": true }
422 with error_code: "missing_variables" and a missing array. A template from another workspace is unavailable, and an archived template cannot be sent.variables are send-time values. Store persistent profile information deliberately in custom_fields; do not assume every variable is written to the contact. In particular, one-time verification codes should not become reusable customer profile attributes.