ReferenceWhatsApp Business API
Conversational automation
POST
Обновить conversational components. Поля: enable_welcome_message (boolean), prompts (string[]), commands ({command_name, command_description}[]).
JWT tokenquery
token<token>application/json- body
enable_welcome_message?booleanEnable automatic welcome message
prompts?array<>Ice-breaker prompts (max 4)
Items
items <= 4commands?array<>Optional slash commands shown in the WhatsApp composer (name + description).
[key: string]?anyUpstream result, or { "result": "success" } when the provider returns an empty body
application/json- response
result?string[key: string]?anycurl -X POST 'https://api.1msg.io/123/conversationalAutomation' \ -H 'Content-Type: application/json' \ -d '{ "enable_welcome_message": true, "prompts": [ "How can I help?" ], "commands": [ { "command_name": "help", "command_description": "Get support options" } ]}'{ "result": "success"}