PUT
/
v1
/
channels
/
{channelID}
/
conversational-components
Update conversational components (ice breakers, commands)
curl --request PUT \
  --url https://api.wazapin.com/v1/channels/{channelID}/conversational-components \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "commands": [
    {
      "command_name": "<string>",
      "description": "<string>"
    }
  ],
  "enable_welcome_message": true,
  "prompts": [
    "<string>"
  ]
}
'
{
  "data": {
    "status": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Session token or API key

Path Parameters

channelID
string
required

Channel ID

Body

application/json
commands
object[] | null

Bot commands (max 15)

enable_welcome_message
boolean

Enable welcome message

prompts
string[] | null

Ice breaker prompts (max 4)

Response

OK

data
object
required