Skip to main content
PUT
/
v1
/
channels
/
{channelId}
/
disconnect
Disconnect Meta WhatsApp channel
curl --request PUT \
  --url https://api.hubmessage.io/v1/channels/{channelId}/disconnect \
  --header 'Authorization: Bearer <token>'
true

Overview

Disconnects a META_WHATSAPP channel from the WhatsApp Official API and clears all associated connection data (WABA ID, phone ID, connected number, and coexistence). Use this endpoint when the user intentionally wants to disconnect the number — for example, when switching numbers or shutting down the channel.
After disconnection, the channel will no longer receive messages. To resume operation, the channel must be reconnected.

Authorizations

Authorization
string
header
required

Secret Key generated in the Hub Message Security panel

Path Parameters

channelId
string
required

Channel ID

Example:

"019E4C54B1B375A28970B605CA9B03C3"

Response

Channel disconnected successfully

The response is of type boolean.