---
title: "UpdateChannel"
method: POST
path: "/channel/{id}"
tags: ["Channels"]
---

# UpdateChannel

`POST /channel/{id}`

Update channel

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string, required — <p>See the &quot;Get channel&quot; route for parameters to update.</p>
  - `whatsappWelcomeMessage` object — <p>The WhatsApp welcome message will be sent as soon as someone activates your bot. See the example above for the object structure, it uses the <a href="./#api-Class_definitions-MessengerMessage"><u>messengerMessage</u></a></p>
  - `whatsappCommands` object[] — <p>Array of commands that the bot reacts to <a href="./#api-Class_definitions-MessengerCommand"><u>messengerCommand</u></a></p>
  - `whatsappDefaultMessage` object — <p>This is the default response your bot will send if it can not assign the received message to a command.</p>
  - `facebookWelcomeMessage` object — <p>The same as whatsappWelcomeMessage</p>
  - `facebookCommands` object[] — <p>The same as whatsappCommands</p>
  - `facebookDefaultMessage` object — <p>The same as whatsappDefaultMessage</p>
  - `telegramWelcomeMessage` object — <p>The same as whatsappWelcomeMessage</p>
  - `telegramCommands` object[] — <p>The same as whatsappCommands</p>
  - `telegramDefaultMessage` object — <p>The same as whatsappDefaultMessage</p>
  - `lineWelcomeMessage` object — <p>The same as whatsappWelcomeMessage</p>
  - `lineCommands` object[] — <p>The same as whatsappCommands</p>
  - `lineDefaultMessage` object — <p>The same as whatsappDefaultMessage</p>

## Response `200`

Success-Response:

- object
  - `success` boolean, required

---

[API](https://skmtc.dev/cleverpush/apis/cleverpush-api-reference.md) · [All operations](https://skmtc.dev/cleverpush/apis/cleverpush-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cleverpush/cleverpush-api-reference/revisions/64ed799d2f1b/schema)
