Channel creation

The method is intended to create an instance for WhatsApp API

Create Channel

In order to create channels, you will need an API Token, which is displayed in the partner control panelarrow-up-right

Create channels in order to connect them to WhatsApp

The required parameter is projectId. This is a kind of shell inside your account that groups channels.

In your service, you can independently distribute channels by projects. This will help organize channels the way you need.

To get main projectId, you can call API function: GET https://manager.whapi.cloud/projectsarrow-up-right

Get required parameter "projectId"

Now that we have this parameter, we can create the channel.

A successful response to your request will look like this:

Created channel in dashboard, ready to go.
circle-exclamation

circle-exclamation

Update channel webhook

Once you've created your channel (with a 90 second initialization delay), the best next step is to configure it, which means specifying links to your webhook address.

In this way you can immediately receive notifications about the channel status, about the authorization event of the user (i.e. his connection to the channel).

All details about detailed webhook settings can be found in the article: Detailed webhook settings

Set a webhook on the channel before the user connects to know the status of the channel

Of course, you will need the channel token that you received when you created the channel.

Once the QR code is scanned by the user, you will receive a notification, about this event and the connected number:

With the USER webhook - you will instantly know when a user is connected.

Last updated