Requires a WhatsApp Business Account (WABA) with Flow feature enabled. Works with Meta access tokens or Kapso API keys.
Send a flow message
Create a flow
Write your Flow JSON in camelCase—the SDK converts it for you:
Meta’s fixed keys (like component type) stay as-is. Your custom keys can be camelCase.
Update flow JSON
Safe to call repeatedly during development.
Publish & deprecate
Preview flows
Get & list flows
Handle data endpoint callbacks
Using Kapso proxy
You can use either phoneNumberId or businessAccountId when publishing.
Errors & types
Meta returns validation errors with snake_case field names. The SDK converts them to camelCase and adds helpful hints.
Export FlowInteractiveInput for typing. The flowMessageVersion defaults to "3".