# December Update

### WhatsApp Channels

Create a channel to share updates and connect with your followers directly through WhatsApp. You can find channels in App under the Updates tab (formerly the Status tab).

{% hint style="info" %}
We will gradually introduce new channel features, along with the development of this trend at WhatsApp. We will have automation available for any action related to channels.
{% endhint %}

Right now it is available to get a list of channels, create a channel, send a message to a channel, and receive messages from a channel.

<figure><img src="https://2417185145-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhsdgGmVCG31mEaHyRvxC%2Fuploads%2FI3oZDpqEv8ye66tBClPe%2Fwhatsapp-channel.png?alt=media&#x26;token=c5cd93fa-112f-4b7e-a251-630301747f02" alt=""><figcaption><p>Automate and integrate WhatsApp channels</p></figcaption></figure>

#### Getting a list of channels

{% embed url="<https://whapi.readme.io/reference/getnewsletters>" %}
Allows you to get you all the channels you have subscribed to
{% endembed %}

In response to the query you will get channel IDs, title, description, picture previews and some other useful data.

#### Creating a WhatsApp channel

{% embed url="<https://whapi.readme.io/reference/createnewsletter>" %}
Creates 1 channel with specified data (name, description, image profile)
{% endembed %}

#### Send a text post to WhatsApp channel

{% embed url="<https://whapi.readme.io/reference/sendmessagetext>" %}
Send a text message to any number, group or channel
{% endembed %}

You can only send a message to a channel where you are an administrator

You will need a channel ID, it looks like this: *120336031708062844\@newsletter*

An example of sending a text message to a channel:

```sh
curl --request POST \
     --url https://gate.whapi.cloud/messages/text \
     --header 'accept: application/json' \
     --header 'authorization: Bearer iBScB4sbdXhvVwcPwDCzVpNB1o2bBmcs' \
     --header 'content-type: application/json' \
     --data '
{
  "typing_time": 0,
  "to": "120336031708062844@newsletter",
  "body": "Hey, everybody! This is my first post in the channel!"
}
'
```

To send media messages to the channel, use appropriate methods along the same lines.

### WhatsApp Statuses *(like Stories)*

Status lets you share text, photo, video, and GIF updates that disappear after 24 hours. You can send and receive status updates with people when you both have each other saved as contacts.You can find status updates in the Updates tab (formerly Status) along with WhatsApp Channels.

<figure><img src="https://2417185145-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhsdgGmVCG31mEaHyRvxC%2Fuploads%2FpBCqYyKre9avOpKbDtEr%2Fwhatsapp-status-stories.png?alt=media&#x26;token=9e9708d6-ad3c-40f7-b455-9022ede0c3bf" alt=""><figcaption><p>Be always in front of your audience's eyes</p></figcaption></figure>

#### Get list of stories

{% embed url="<https://whapi.readme.io/reference/getstories>" %}

Please note that publications can be received even after 24 hours have elapsed. They will not be lost. You can filter statuses by time yourself.

#### Create & publish story

{% embed url="<https://whapi.readme.io/reference/createstory>" %}

Status can be both media format (picture, video) and text format (you can choose the background color, text color, text font). However, you cannot change the font text, background color, etc. when loading an image, as they interchange each other (media format takes priority).

### Authorization by phone number

You can now link a device using your primary account phone number and a one-time code. Up to four linked devices can be linked without the need to keep your primary phone connected. For the best experience, update to the latest version of WhatsApp.

You can use authorization by phone number both through API and our interface.

In API the method **"Get auth code by phone number"** will help you:

{% embed url="<https://whapi.readme.io/reference/loginuserviaauthcode>" %}
You need to know your channel token, that way you can connect your customers without a QR code
{% endembed %}

{% hint style="success" %}
**What's that to you?**

If you are using a gateway within [White Label](https://whapi.cloud/become-a-partner), this will make it even easier and faster for you to offer number connectivity to your customers.&#x20;

* You don't have to worry about outdated QR code, constantly updating it.
* No need to customize interfaces to QR images.
* Getting an OTP code will allow you to authorize WhatsApp even from the customer's phone.
* It will speed up the demonstration of your service features
  {% endhint %}

As for our interface, this is available as well in the first authorization step:

<figure><img src="https://2417185145-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhsdgGmVCG31mEaHyRvxC%2Fuploads%2FK4mMgiqkvdEa3dOxBC2z%2Flink.jpg?alt=media&#x26;token=00aa325e-3f07-4c3a-bf94-dcfe59320f68" alt=""><figcaption><p>You get the OTP, enter it in your phone and the connection is complete!</p></figcaption></figure>

1. Open WhatsApp on your phone (If you receive a Push Notification, use it and go straight to last step)
2. Tap Menu or Settings and select Linked Devices
3. Tap on Link a device
4. Tap Link with phone number instead and enter Code on your phone

<figure><img src="https://2417185145-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhsdgGmVCG31mEaHyRvxC%2Fuploads%2FMDVZLHw91Dj111k7PPGn%2Flink_otp.png?alt=media&#x26;token=277581c1-19bb-4cba-a156-0d070f403ea8" alt=""><figcaption><p>Enter this in your WhatsApp app on your phone and the connection is complete!</p></figcaption></figure>

<figure><img src="https://2417185145-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhsdgGmVCG31mEaHyRvxC%2Fuploads%2FBbUZJtY8TP6apW5RISUB%2Flink_device.png?alt=media&#x26;token=f7656315-fb29-4479-a03e-ca42b021f35b" alt=""><figcaption><p>In-app interface</p></figcaption></figure>

### Creating and editing products

Managing your store through APIs is taken to the next level. Now you can autonomously keep your store in WhatsApp always up to date, update prices, add products, etc.

{% embed url="<https://whapi.readme.io/reference/createproduct>" %}
Add a product to your WhatsApp
{% endembed %}

{% embed url="<https://whapi.readme.io/reference/updateproduct>" %}
Modify information in an existing product
{% endembed %}

### See goods by phone number

{% embed url="<https://whapi.readme.io/reference/getcontactproducts>" %}
Get a list of products by phone number
{% endembed %}

Check if the specified phone number has goods added to WhatsApp. See which products they are, their photos, prices and description. The cell phone user will not know about it!

{% hint style="info" %}
Useful for tracking changes from competitors or finding a target audience.
{% endhint %}

### New triggers and actions in Zapier

[The no-code Zapier](https://zapier.com/apps/whapicloud/integrations) has new events and actions to help you customize integrations of any level of complexity for any purpose.

Triggers:

* New message
* Call received
* Member joined group
* New conversation
* Group message received
* Member left group

Actions:

* Send text message
* Check if a phone number exists
* Send media message
* Send group text message
* Send group media message
* Get groups
* Get group participants

You can find more information about integration with Zapier in our knowledge base:&#x20;

{% content-ref url="../integrations/zapier" %}
[zapier](https://support.whapi.cloud/help-desk/integrations/zapier)
{% endcontent-ref %}

### Get full-size images of contacts/chats/groups

Previously, when receiving chats or contacts, you could see profile pics in the reply, but they were small size pictures: 96x96. Now you can get large-sized avatars for any chat rooms and groups. The `_full` parameter is responsible for this.

By phone number, even if there has been no correspondence, you can now get a profile picture and description:&#x20;

{% embed url="<https://whapi.readme.io/reference/getcontactprofile>" %}

### WhatsApp Mass Checker on GitHub

{% embed url="<https://github.com/Whapi-Cloud/whatsapp-checker>" %}

This script is designed for mass checking the existence of numbers in WhatsApp (whether they have Whatsapp installed). You can check either a few numbers or an array.

It analyzes the numbers specified in the `phones.json` file and classifies them into existing in WhatsApp (`exist_phones`) and non-existing (`not_exist_phones`).

Check any numbers from any country. Determine which phone numbers are active and which cannot receive Whatsapp messages.

### Free DialogFlow integration

Take advantage of out-of-the-box integration to improve communication with chatbot users

{% hint style="success" %}
**How to use DialogFlow in WhatsApp:** Customized for you, NLP Bot fast and accurate analysis of incoming messages, generating relevant and informative responses for your customers.
{% endhint %}

The integration is completely free and setup takes just one minute. For more details on how to connect, see the page:

[dialogflow](https://support.whapi.cloud/help-desk/integrations/dialogflow "mention")

### Add the channel IP to the Whitelist

[GET /health](https://whapi.readme.io/reference/checkhealth) lets you see the IP address of the channel from which webhooks are sent. This will allow you to whitelist it and not miss important notifications.
