> For the complete documentation index, see [llms.txt](https://help.reekolect.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.reekolect.ai/api-references/whatsapp-cloud-api.md).

# WhatsApp Cloud API

This page contains all the open APIs available for the WhatsApp

## 1. Create and Sync Templates

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

1. Go to Reekolect 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 Reekolect Dashboard ( [https://app.reekolect.ai//](https://app.Reekolect.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="/pages/sUdVMt6NaBiLo8u6ysJR" %}
[GET Templates List](https://help.reekolect.ai/api-references/whatsapp-cloud-api/get-templates-list.md)
{% endcontent-ref %}

{% content-ref url="/pages/DwuC0OeT9vaSMZ4zx8Wj" %}
[POST WhatsApp Template Message](https://help.reekolect.ai/api-references/whatsapp-cloud-api/post-whatsapp-template-message.md)
{% endcontent-ref %}

{% content-ref url="/pages/LXtCURsiaWaPlVTiK1Zk" %}
[POST Send Message API](https://help.reekolect.ai/api-references/whatsapp-cloud-api/post-send-message-api.md)
{% 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>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.reekolect.ai/api-references/whatsapp-cloud-api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
