Authorizations
Enter your ContactSwing JWT Bearer token.
Query Parameters
Force recreate (overwrite existing). Example: true
Request Body
Assistant display name. Example: "My WhatsApp AI Agent"
Assistant type: "WHATSAPP"
Detailed agent instructions and restaurant ordering guidelines
Agent prompts with agent and goal fields
WhatsApp number ID. Example: "650175178190170"
WhatsApp Settings
additional_settings.idle_time
Idle timeout in hours. Example: 24
additional_settings.max_messages
Maximum messages per conversation. Example: 10
WhatsApp greeting message
Response
201 Created - WhatsApp assistant created successfully
400 Bad Request - Invalid WhatsApp configuration
401 Unauthorized - Invalid token