A channel is an account in a messenger or social network that is connected to Wazzup in order to communicate with customers.
Channel type and channel are different things:
- channel — a specific account in the messenger from which they correspond. For example, a WhatsApp account with a specific number, a specific bot in Telegram.
- channel type — different types of channels for one messenger: WhatsApp, WABA, Instagram, Telegram, Telegram Bot.
So you can have multiple channels for each “channel type”. For example, two WhatsApp numbers are connected. Then there will be two channels (two different numbers), and only one channel type (WhatsApp).
Getting the channel list
In order to get a list of channels that are added to work in Wazzup, you must call:
GET https://api.wazzup24.com/v3/channels
Request example
curl --location --request GET 'https://api.wazzup24.com/v3/channels' \ --header 'Authorization: Bearer c8cf90444023482f909520d454368d27'
Response example
HTTP/1.1 200 OK
[ { "channelId": string, "transport": "whatsapp", "plainId": "79865784457", "state": "active" } ]
Response parameters
Parameter | Type | Description |
channelId | String | Channel Id (uuidv4) |
transport | String | Channel type. Available values:
|
plainId | String | Phone number, username or ID in the messenger |
state | String | Channel status:
|