name: "WhatsApp Support"description: "Customer support via WhatsApp"channel: "twilio_whatsapp"spec_version: "v1"kind: "channel"account_sid: "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"twilio_authentication_token: "your_auth_token_here"# Optional: Use v2 chat completions for this channel (default: false)use_v2_chat_completions: false
Using Python:
Python
from ibm_watsonx_orchestrate.agent_builder.channels import TwilioWhatsappChannelwhatsapp = TwilioWhatsappChannel( name="WhatsApp Support", description="Customer support via WhatsApp", account_sid="ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", twilio_authentication_token="your_auth_token_here", use_v2_chat_completions=False, # Optional: use v2 chat completions)
Configuration requirements
Field
Required
Format
Description
account_sid
Yes
String
Your Twilio Account SID
twilio_authentication_token
Yes
String
Your Twilio Authentication Token
use_v2_chat_completions
No
Boolean
Use v2 chat completions for this channel. Defaults to false.