-a agt_123) or a default agent.
Connect a WhatsApp number to your agent before using these commands — see WhatsApp integration and WhatsApp templates in the user guide.
List templates
List every approved template across the agent’s connected WhatsApp Business Accounts:Send a template
Send a template with no variables:+ required). When the agent has exactly one connected number, --from is optional.
Send with variables
Pass template variable values as JSON grouped by component:--language when the template name has multiple approved language variants. Header and body placeholders are numbered independently — supply every key the template listing reported. See Template variables for format rules.
Send from a specific connected number when the agent has more than one:
201 means WhatsApp accepted the message. Delivery to the recipient is not guaranteed — see Delivery and conversations.
Commands
For every flag, run
chatbase whatsapp <command> --help.