---
description: This page contains all the open APIs available for the WhatsApp
---

# WhatsApp Cloud API

## 1. Create and Sync Templates

The team will be required to create and get the templates approved by the Facebook WhatsApp Business Manager or eleapi Dashboard. Once It is done,

1. Go to eleapi Panel
2. Navigate to WhatsApp Automation and Then go to the manage section.
3. Under templates, You will be required to sync templates from Facebook, Once Done, App should use the get Templates API and save the template details. These details will be required to send Notifications.

## 2. API Key

In order to generate the WhatsApp API key,

1. Go to the eleapi Dashboard ( [https://help.eleapis.com/](https://app.eleapi.com/) )
2. Find your bot and go to `WhatsApp Bot Settings` section.
3. Under `WhatsApp Bot Settings`, Navigate to the API key and Click on generate an API key.
4. You will require to update the webhook URL, on which we will send the delivery reports.
5. Once done, Copy the key and save it yourself.

## 3. APIs Endpoints

{% content-ref url="whatsapp-cloud-api/get-templates-list" %}
[get-templates-list](whatsapp-cloud-api/get-templates-list)
{% endcontent-ref %}

{% content-ref url="whatsapp-cloud-api/post-whatsapp-template-message" %}
[post-whatsapp-template-message](whatsapp-cloud-api/post-whatsapp-template-message)
{% endcontent-ref %}

{% content-ref url="whatsapp-cloud-api/post-send-message-api" %}
[post-send-message-api](whatsapp-cloud-api/post-send-message-api)
{% endcontent-ref %}

## Error Codes

Please refer to the link below for more info on the error codes

[https://developers.facebook.com/docs/whatsapp/on-premises/errors](https://developers.facebook.com/docs/whatsapp/on-premises/errors)
