# API Reference > The WhatsAble API: send WhatsApp messages and manage templates, contacts, broadcasts and AI bots from your own code. Start with API v1. The legacy API stays documented for existing integrations. > [!WARNING] > > This page documents the legacy API. New integrations use API v1: [the API v1 reference](/api-reference/v1) > [!NOTE] > > The WhatsAble API gives your code the same WhatsApp Business account that your team uses in WhatsAble. Use it from your own server, or connect WhatsAble through Zapier, Make or n8n without code. ## Start with API v1 API v1 is the API for every new integration. It sends text, template, media and button messages, reads conversations and delivery status, manages contacts and labels, creates templates, schedules messages, launches broadcasts, and configures AI bots. - [API v1 overview](/api-reference/v1): The base URL, authentication, request format, pagination and errors. Read this first. - [Send a message](/api-reference/v1/messages/send-message):
| Unrecognized Meta error | WhatsApp returned an error in a family we have not specialized yet. | Open Meta's error-code reference for this code. If it keeps happening, contact Whatsable support with the code. | Meta | no |
Source: /api/errors
# Authentication
> Authenticate Whatsable API v1 requests with an API key, sent as a Bearer token in the Authorization header.
Every request to the Whatsable API v1 carries an API key. Send it in the `Authorization` header as a Bearer token:
```bash
curl https://api.whatsable.app/v1/me \
-H 'Authorization: Bearer nfy_live_...'
```
`GET /v1/me` returns your organization and the key behind the request, so it is a good first call to test a key.
## Get a key
The owner and Admins create keys in Whatsable under **API keys** in the sidebar. A key starts with `nfy_live_`. You choose which numbers it may send from and what it may do. [API keys](/features/api-keys) walks through creating, revealing, rolling and revoking a key.
API keys are part of the **Pro** and **Agency** plans and the free plan. **Bulk Message** does not include them.
## Rules the API enforces
- The key goes in the `Authorization` header and nowhere else. A key in the URL or the body gets `401 api_key_in_wrong_place`.
- A key from the legacy API does not work on API v1. The API answers `401 legacy_api_key_not_accepted`. Create a new key under **API keys** in the sidebar.
- A key without the scope a route needs gets `403 insufficient_scope`. Each route's page names its scope.
- A key limited to some numbers gets `403 number_not_allowed_for_key` for any other number.
Every error code and how to fix it is listed on [API v1 errors](/api/errors).
## Keep the key safe
- Keep the key on your server. Never put it in a browser, a mobile app or a public repository.
- Store it in an environment variable or a secret manager, not in your code.
- Give each integration its own key, so you can roll or revoke one without breaking the others.
- If a key leaks, roll it under **API keys** in the sidebar. The old secret stops working.
Next: the [API v1 overview](/api-reference/v1) explains the request format, pagination, idempotency and errors.
Source: /authentication
# How do I secure my WhatsAble sign-in with two-step verification?
> Every WhatsAble user can turn on two-step verification with an authenticator app and recovery codes, verify their email address, and change their password. Passwords need at least 8 characters, and repeated wrong guesses are slowed down.
The **Account security** page holds the settings that belong to you as a person, not to an organization: the email you sign in with, your password, and two-step verification. Every user has one, whatever their role, including Members and people who belong to several organizations.
To open it, select your name at the bottom of the sidebar, then **Account security**.
Everything on this page is optional. Nobody in your team is required to verify their email or turn on two-step verification, and you cannot require it for them.
## Two-step verification
With two-step verification on, signing in asks for your password and then for a 6-digit code from an authenticator app on your phone, such as Google Authenticator, Microsoft Authenticator or 1Password. Someone who learns your password still cannot sign in without your phone.
### Turn it on
**Start**
On **Account security**, under **Two-step verification**, select **Turn on**. Enter **Your password** and select **Continue**.
**Scan the QR code**
Open your authenticator app and scan the code. If you cannot scan it, select **Copy setup key** and enter the key in your app instead. Select **Next**.
**Save your recovery codes**
The page shows 10 recovery codes. Select **Copy codes** and keep them somewhere safe, such as a password manager. You will not see them again. Tick **I saved my recovery codes** and select **Next**.
**Confirm a code**
Type the 6-digit code your app shows now and select **Verify and finish**. The section then shows **On**.
> [!NOTE]
>
> You need a password to turn on two-step verification. If your account was moved from the classic Notifyer app and you have never set a password here, sign out and use **Forgot password?** on the sign-in page first.
### Sign in with a code
After your email and password, the sign-in page shows **Two-step verification**. Enter the **Authentication code** from your app and select **Verify**. The code changes every 30 seconds.
The same step appears when you accept an invitation with an existing account, and when you connect an AI app such as Claude to WhatsAble.
### Lost your phone? Use a recovery code
On the code step, select **Use a recovery code**, enter one of the codes you saved, and select **Verify**. Each recovery code works once.
When you are signed in again, open **Account security** and either select **Get new recovery codes** (the old ones stop working), or turn two-step verification off and on again with your new phone.
If you have lost both your phone and your recovery codes, contact WhatsAble support. Once support has confirmed it is you, they turn two-step verification off for your account. You then sign in with your password only, and you are signed out on every device. Turn two-step verification on again from **Account security** with your new phone.
### Turn it off
Select **Turn off**, enter your password, and select **Turn it off**. Signing in then asks for your password only.
### What two-step verification does not cover
It protects signing in to WhatsAble. An [API key](/features/api-keys) keeps working without a code, and so does an AI app that is already connected. Connecting a new AI app asks for the code, because it signs you in.
## Verify your email address
Verifying is optional. It confirms that your sign-in address reaches you, which matters for password resets.
When you create an account, WhatsAble sends a verification link. To send another, open **Account security** and select **Send verification email**. The link works for 24 hours. When you open it, the page says **Email verified**, and **Account security** shows **Verified**.
## Change your password
Under **Password**, enter your **Current password** and a **New password**, then select **Change password**.
- A new password needs at least 8 characters.
- **Sign out of other devices** is ticked by default. Anywhere else you are signed in will ask for the new password.
If your current password is shorter than 8 characters, it keeps working. You only need 8 characters when you choose a new one.
## Too many attempts
WhatsAble slows down repeated guesses:
- Too many sign-in attempts from one network in a minute show **Too many attempts. Try again in a minute.**
- 10 wrong passwords for one email address within 15 minutes pause sign-in for that address for the rest of the 15 minutes, from any network. Resetting your password with **Forgot password?** sets a new password, but sign-in for that address stays paused until the 15 minutes end. Then sign in with the new password.
- Too many wrong two-step codes lock the code step for a while. Wait, then try again, or use a recovery code later.
## Related
- [Team roles](/features/team-roles)
- [API keys](/features/api-keys)
Source: /features/account-security
# Configure an AI agent
> Every section of the Whatsable AI agent editor: identity, knowledge files and websites, files it can send, instructions, replies, labels, handoff, follow-ups, the test panel, how ratings become suggested changes, and how an AI assistant or the API adds to and reads an agent's knowledge and instructions.
Open **AI agents** in the main menu and click **Edit** on an agent, or create one (see [Create an AI agent](/features/ai-chatbot/create-an-agent)). The editor lists its sections on the left, the form in the middle, and two tabs on the right: **Testing**, where you try the agent, and **Assistant**, where **Improve my agent** helps you rewrite it.
## Saving
| Button | When you see it | What it does |
|--------|-----------------|--------------|
| **Save draft** | The agent is a draft | Saves it. Nothing answers customers. |
| **Save and go live** | The agent is a draft | Saves it and turns it on. |
| **Save changes** | The agent is live or archived | Saves your edits. They apply to the next message, not to replies already sent. |
Only **Name** and **Mission** are required. If you leave the editor without saving, the browser keeps your edits and offers **Restore unsaved changes?** the next time you open the agent.
## Agent identity
| Field | What to write |
|-------|---------------|
| **Name** | What your team calls the agent in the inbox. Customers never see it. Up to 60 characters. |
| **Mission** | One sentence the agent works from on every reply: what the job is, such as pricing, booking or qualifying leads. Rules belong in custom instructions. |
| **Make this the default agent** | It answers on every business number. You see which numbers change before you confirm. A draft becomes the default when it goes live. |
## Knowledge base
What the agent knows. It answers from this, and says it does not know when the knowledge does not cover the question. An agent with no knowledge answers only from its mission and instructions.
- **Files.** Click **Add data source** or drop a file: PDF, TXT, Markdown, CSV or DOCX, up to 25 MB each. Whatsable reads the text, and each file shows **Processing**, **Ready** or **Failed** with the reason. A PDF that is only images has no text to read.
- **Written knowledge.** Under **Anything the files do not cover?**, type short facts: opening hours, a delivery price, a promise you never make.
- **Websites.** The agent can learn from your website pages. See below.
### Websites
Add up to 5 websites per agent. Whatsable reads the pages, keeps the facts it finds in a document per website, and the agent answers from that document like a file.
| Setting | Options |
|---------|---------|
| **What to read** | **Only this page**, or **This page and the pages it links to** |
| **Most pages per website** | 1, 10, 25 or 50 |
| **How often to read it again** | **Once**, **Every day** (at most 10 pages), **Every week** or **Every month** |
| **When the website changes** | **Publish updates automatically**, or **Let me review first** |
Use https addresses only, and tick **I own this website or have permission to use its content** before you click **Add websites**.
Open a website's document to read exactly what the agent knows. You can correct a fact and save it, publish or discard an update, restore an earlier version, and exclude a page. Once you edit a document, later updates wait for your review, so a website change never overwrites your correction. **Email me a weekly summary of website changes** sends a Monday email when a document changed, an update waits for review, or a check failed.
> [!NOTE]
>
> A new or changed price from a website counts as known only after someone on your team has opened, published or edited that document. Until then, a reply that quotes it is still sent, and the price is flagged in the inbox for your team to check. See [Unverified figures](#unverified-figures).
Whatsable reads only public pages that your site's `robots.txt` allows. If a check fails, the website row says why, for example that the page needs a login or the site's security check blocked it.
## Files it can send
Knowledge is what the agent knows. Files are what it can send: a price list, a menu, a brochure, sent as they are. The agent never reads these files. It picks one only from the sentence you write about it.
- **What the file you are adding is for**: required. Say when a customer should receive it. Up to 1,000 characters.
- **What to call the file you are adding**: optional. The file name is used when you leave it empty.
- **The agent may send this file**: turn it off to keep the file without letting the agent send it.
An agent holds up to 10 files. A file with no description cannot be chosen until you write one.
## Custom instructions
Optional rules for every reply, one per line: what never to discuss, what to ask before booking, what to do when it does not know. To make the agent add a label, name the label exactly as it appears under **Labels**, and say when to add or remove it.
```
Always ask for the order number before discussing a refund.
Never mention competitor prices.
If you do not know, say so. Never invent a price.
Add Hot lead when they ask to reserve stock.
```
## Response settings
| Setting | Options |
|---------|---------|
| **Tone** | Free text for the voice of ordinary replies, or a preset: **Friendly**, **Professional**, **Balanced**, **Enthusiastic**. |
| **Messages per reply** | **One message** (the default), or **Several messages**, where the agent splits its reply into short messages the way a person types. A reply too long for one WhatsApp message is always split. |
| **How long should the agent wait before it sends a reply?** | 0 to 300 seconds, 5 by default. A short wait lets several quick messages get one answer. It does not apply to follow-ups. |
| **Once you reply by hand** | **The agent stays off until someone turns it back on** (the default), **The agent resumes when the customer starts a new conversation**, or **The agent resumes after a set time**. |
With **The agent resumes after a set time**, choose how many minutes it waits. A reply from the Whatsable inbox or from the WhatsApp Business mobile app pauses the agent and starts the timer. A second reply does not restart it. When the time is up, the agent resumes only if the customer has written since your last message.
## Labels
The agent can tag conversations with your [labels](/features/labels). It sees the name and the description of every label it may use.
| Setting | What it does |
|---------|--------------|
| **Let this agent add labels** / **Let this agent remove labels** | On by default. |
| **Most labels to add in one reply** / **Most labels to remove in one reply** | 1 to 5, or **Use the maximum**. |
| **Which labels this agent may use** | **Every label**, including labels you create later, or **Only the ones I pick** (up to 20). |
| **When to apply a label** | Describe the moment, for example: add Hot lead when they ask to hold stock, remove it once they pay. |
Create labels under **Settings**, **Labels** first. If the agent may add labels but you picked none, the editor warns you.
## Handoff
When a customer wants a person, the agent steps back, can tell them someone is coming, and pauses in that conversation so a teammate can take it.
- **Tell the team when a customer asks for a person**: on by default. Your team gets a notification when this agent hands a conversation over. The in-app notice also needs **AI handoffs** turned on in [notification settings](/features/notifications).
- **Which words mean they want a person?**: up to 25 words or short phrases, such as "agent", "human" or "speak to someone". Capitals do not matter.
- **Describe those situations**: plain sentences for what a keyword misses, such as an angry customer, a refund, or a price you do not publish. This is a rule the agent reads, never a message the customer receives.
The message the agent writes when it hands over is always sent, even when it holds a figure that is not in its knowledge. The figure is flagged instead. See [Unverified figures](#unverified-figures).
## Agent settings
**Times are local to** sets the agent's time zone. Message times, quiet hours and quiet days are read in it. A new agent usually starts with the time zone of your first connected number. Pick the one your customers live in.
## Follow-ups
Turn on **Follow up when a conversation goes quiet** to let the agent write again when a customer stops replying after a message from the agent or from your team. It never interrupts a live back-and-forth, and when the customer replies, the remaining follow-ups for that stretch are cancelled.
| Setting | Range | Default |
|---------|-------|---------|
| **Wait before the first follow-up** | 1 minute to 30 days | 4 hours |
| **Stop following up after** | Up to 90 days, longer than the first wait | 5 days |
| **How many follow-ups at most** | 1 to 15, per quiet stretch | 3 |
| **Minimum gap between follow-ups** | 0 to 30 days | none |
| **How to space them** | **Evenly**, **Sooner rather than later**, **Later rather than sooner** | Sooner rather than later |
| **Do not send between** | Quiet hours, or **Off** for any hour | Off |
| **Do not send on** | Quiet days. Leave at least one day open. | none |
A follow-up that would land in quiet hours or on a quiet day is skipped, not moved. Enter durations in days, hours and minutes; they add up.
A follow-up that cannot be written, because the AI model did not answer or sent back an answer Whatsable cannot use, is skipped too, and the next follow-up still goes out at its time. When the model refuses to write a follow-up, the follow-ups for that quiet stretch stop.
**What to say in a follow-up** is read only when the agent writes a follow-up: what to offer, what never to promise, and not to repeat the last message.
| Switch | Default | What it does |
|--------|---------|--------------|
| **Keep following up even after a reply from your side** | On | Follow-ups continue after your team replies from the inbox, the WhatsApp phone app or the API. Turn it off and any reply from your side ends follow-ups in that conversation for good. |
| **Also follow up after a broadcast** | Off | A broadcast starts follow-ups for every recipient. Keep it off unless you want that. |
| **Let the agent write templates** | Off | Outside the 24-hour window WhatsApp allows only an approved template. With this on, the agent may submit a new template to Meta for review on your account. Set **Templates it may propose per week** (0 to 20, 2 by default). |
> [!WARNING]
>
> A follow-up sent outside the 24-hour window is a marketing message. It has per-country limits and affects your number's quality rating.
To stop follow-ups for one person, turn off **Follow up** in that contact's details in the [inbox](/features/team-inbox).
## Review
**Review** lists what is set and what is missing: name, mission, knowledge, handoff words and follow-ups. The **Readiness** card beside the form says **Ready to go live.** or what is still needed. Click **Copy what I filled in** to edit the text in another AI.
## Test your agent
The **Testing** tab tries the agent with your unsaved changes. Nothing goes to WhatsApp. Save the agent once before you test it.
- **Test chat.** Write as the customer, the AI agent or a teammate, to set up any moment you want to test. With **Reply automatically** on, the agent answers each customer message; off, add several messages and click **AI reply**. **Skip to next follow-up** moves the simulated time ahead and runs the next follow-up. Edit, delete or rewind any message, or rerun from it.
- **Customer details.** Give the test customer a name and labels, as the agent sees for a real contact.
- **Scenario library.** **Generate test scenarios** writes conversations a real customer could start, optionally from a description such as "angry, wants a refund". **Import from a conversation** copies a real chat from your inbox up to the message you pick, without changing the inbox. **Keep as a scenario** saves a test for your whole team, and **Examples** holds common situations ready to use.
Each answer in the test shows what the agent decided and why, for example **Replied** or **Handed over to a person**.
## Ratings and suggested changes
Rate any decision of the agent with the thumbs, in the inbox or in the test panel. A thumbs-down asks **What was wrong?**. Write what the agent should have done and click **Improve my Bot**.
For the owner and Admins, Whatsable then looks for a change to the agent's settings and shows a **Suggested change**: each edit to a field, with what it changes to. It may first ask one question. A Member's rating is saved, and an Admin can turn it into a change later.
- In the test panel or the editor, keep the edits you want and click **Apply the suggestion**, then save the agent.
- In the inbox, click **Save changes** to apply the kept edits to the agent at once, with **Undo** afterwards, or **Open in editor** to review them in the form.
A suggestion is never applied without a person. It never changes the agent's name, its status or the handoff notification. An edit that copies a customer's words, or adds a number, price or date that is in neither your comment nor the agent's settings, is flagged so you check it first.
**Decision feedback**, the last section of the editor, lists every rating of this agent, newest first. Filter by thumbs up or down and by where it was given, open the conversation, load it in the test panel, or ask for a suggested change.
## Edit an agent from an AI assistant or the API
You can change an agent without opening the editor: ask an AI assistant connected through the [MCP server](/mcp), such as Claude or ChatGPT, or call the [API v1](/api-reference/v1) from your own integration. Both read and change the agent's settings. Typical requests: "add our holiday opening hours to the Sales agent's knowledge", "add a rule to its instructions: never offer a discount over 10%", or "check what the knowledge says about returns and fix the refund period".
**Add to the knowledge or the instructions without rewriting them.** The assistant sends only the new text, and Whatsable adds it to the end of the written knowledge or the custom instructions, after a blank line. Nothing already there changes, so this works on a knowledge base of any length, and the assistant does not have to read it first. Two additions made at the same moment never overwrite each other. In the MCP server this is the `knowledge_append` or `instructions_append` field of the `update_ai_bot` tool; in the API it is the same field of [Change an AI bot](/api-reference/v1/ai-bots/update-ai-bot).
**Read long texts in full.** The `get_ai_bot` tool shows every setting of the agent. A text up to 2,000 characters is shown whole. A longer one, such as a large knowledge base, shows its length and its start, and the `read_ai_bot_text` tool reads it whole, page by page. The API route is [Read an AI bot's long text in pages](/api-reference/v1/ai-bots/get-ai-bot-text) (`GET /v1/ai-bots/{id}/text/{field}`). It reads the mission, the custom instructions, the written knowledge, the handoff instructions, the label instructions and the follow-up instructions. When the assistant passes the version it read, as the MCP server asks it to, a save made while it is reading makes the next page refused and the assistant starts again, so it never mixes two versions. To change something inside a long text, the assistant reads it whole, then sends the whole new text with the version it read, so the change is refused if the agent was saved in between. The MCP server always sends that version; through the API, send it as the `If-Match` header.
**Limits.** The written knowledge holds at most 200,000 characters and the custom instructions at most 80,000. An addition that would go past the limit is refused with the error `ai_bot_text_too_long`, and nothing is saved. The assistant can then add a shorter text, or read the field, remove what the agent no longer needs, and save the shorter text. An emoji counts as two characters.
> [!WARNING]
>
> An editor left open in the dashboard does not see an addition made from an assistant or the API. If someone opened the agent before the addition and saves it after, the editor saves the text it loaded, and the addition is lost. Reload the editor after an assistant changes the agent.
An addition or any other change applies to the agent's next reply, as a save in the editor does. Uploaded knowledge files are listed by the `list_knowledge_files` tool, but their text cannot be read through the API or the MCP server.
## When a reply fails
The inbox shows every failed AI reply with its cause, in the decision row of the conversation:
- **Trying again**: a temporary problem on our side or at WhatsApp. Whatsable keeps trying for up to 15 minutes. Click **Cancel** to stop it; the agent then answers the customer's next message.
- **Reply failed**: the row names the reason. Some reasons need you, such as a paused number, a number to connect again, or a subscription that is not active. The customer got no reply, so the conversation goes to a person and your team gets the handoff notification, as for any handoff. If the customer writes again before that, the agent answers the new message instead.
- **Reply not confirmed**: WhatsApp did not confirm delivery. The reply may have reached the customer, so the agent keeps the conversation.
- **Handed to a person** with the reason *the agent's answer was cut off* or *could not be read*: the AI model sent back an answer that Whatsable could not use. Whatsable asks the model again, for up to 15 minutes, while the row shows **Trying again**. If no usable answer comes, the conversation goes to a person, and your team gets the handoff notification. The customer gets no message from the agent. When the model refuses to answer, the conversation goes to a person at once.
- **Part of the knowledge was left out**: the agent's knowledge is larger than it can read at once, so it answered without part of it. Click **Open the agent settings** and shorten the knowledge or remove documents you no longer need.
## Unverified figures
The agent is told never to state a price, a discount, a date or a quantity that nothing it was given supports. Before each message goes out, Whatsable also checks every figure in it. A figure that the check cannot find is **flagged**: the message is still sent to the customer, and the inbox shows a warning under it so your team can check the figure.
A flag never stops a message. The customer always gets the agent's answer, and the agent never hands a conversation to a person only because of a figure.
### What counts as known
A figure is known when it appears, written the same way, in any of these:
- The agent's knowledge: its files, written knowledge, the description of each file it can send, and website documents your team has opened, published or edited.
- The agent's mission, custom instructions and handoff instructions, and its follow-up instructions for a follow-up.
- A message the customer sent in the part of the conversation the agent read.
A figure the agent or your team wrote earlier in the conversation does not count, because the agent may have made it up the first time.
### Why a figure gets flagged
Most flagged figures are correct. The usual reasons:
- **The agent calculated it.** A total, such as two items from your price list added together, is not written anywhere.
- **It came from an image, a document the customer sent, or an earlier message from your business.**
- **It is written in another format.** "$1,500" in your knowledge and "$1.500" in the reply, or a date written differently.
- **It is a number that is not a commitment**, such as a street number or "24/7".
- **The agent made it up.** This is rare, and it is the case the warning exists for.
### What your team sees
In the [inbox](/features/inbox-conversations#check-a-figure-the-agent-wrote), the message shows a warning that names each figure, for example "**$41.400** is not in the agent's knowledge or this conversation". The conversation carries a **Figure to check** badge in the list, and the **Figures to check** filter lists every conversation with a figure nobody has checked yet.
Check the figure. If it is wrong, write to the customer with the right one. Then click **Mark as checked**. The warning becomes one line, "Figure checked by" your teammate's name and the time, and the badge goes away. Anyone on your team who can open the conversation can mark it, whatever the 24-hour window says.
**Why am I seeing this?** under the warning opens a short explanation in place: what was checked, why a correct figure can still be flagged, and what marking it checked records.
### Stop flagging figures from one agent
If an agent's figures are flagged often and your team trusts them, you can stop that agent's flags. The agent keeps answering exactly as before; its future messages are simply sent without a warning, even when they state a figure nothing in its sources contains. Every other agent keeps flagging.
There are two places to do it, and both are for [Admins and Owners](/features/team-roles) only:
- **From the inbox.** On a flagged message, tick **Stop flagging figures from** the agent's name, then click **Mark as checked**. The figure is marked checked and flagging stops for that agent in the same step. Other team members see the box greyed out, with a line saying only admins and owners can change it.
- **From the agent's settings.** In the agent's **Handoff** section, turn off **Flag unverified figures** and save.
Once it is off, a flagged message from that agent says "Flagging is off for" the agent. To turn it back on, switch **Flag unverified figures** on again in the agent's settings. Flags that were already raised stay until someone marks them checked, because those messages were sent and still deserve a look.
Whatsable still records, internally, which figures each reply held, so turning flagging back on later starts from a full picture.
### Make flags rarer
- Write the prices, fees and dates your customers ask about into the knowledge, in the format you want the agent to use.
- If the agent often quotes totals, add the common totals, or tell it in its instructions to quote unit prices and let your team confirm a total.
- A flag that keeps coming back for the same figure is a sign that figure belongs in the knowledge.
### Through the API and the MCP server
Every message returned by the [API v1](/api-reference/v1) carries `unverified_figures`, the flagged figures (empty for other messages), and `figures_checked_at`, when a teammate marked them checked (null until then). An AI assistant connected through the [MCP server](/mcp) sees the same in the messages it reads. Marking figures as checked is done in the inbox; it is not available through the API yet.
The AI agent object carries `flag_unverified_figures` (true by default). Read it with the get AI agent endpoint, and set it to `false` or `true` with the update AI agent endpoint to stop or restart an agent's flags; the `get_ai_bot` and `update_ai_bot` tools of the MCP server do the same. Messages already flagged keep their flags.
A follow-up template the agent proposes to Meta is different: it is reused for many customers and cannot be corrected once approved, so a proposal with a figure that is not in the agent's knowledge is not proposed. A figure the customer wrote does not count there.
## Next steps
- [AI agents](/features/ai-chatbot):
What an agent does, the AI agents page, and the agent in the inbox.
- [Shared team inbox](/features/team-inbox):
How your team takes over a chat from the agent.
Source: /features/ai-chatbot/configuration
# Create an AI agent
> Five ways to create a Whatsable AI agent: chat with an assistant that fills in the form, paste a result from your own AI, fill in the form yourself, duplicate an agent, or start from the draft built from your website at sign-up.
Every way below ends in the same editor, where you read and change the fields before anything answers a customer. A new agent is a **Draft** until you choose **Save and go live**, and a draft never writes to a customer.
You need the owner or Admin role, and a plan with AI agents (see [AI agents](/features/ai-chatbot#who-can-use-ai-agents)).
## Start from the AI agents page
Open **AI agents** in the main menu and click **Create agent**. The page asks **How do you want to set up your agent?** and offers three ways:
| Choice | Best when |
|--------|-----------|
| **Set it up by chatting** | You want to answer a few questions and let an assistant write the settings. |
| **Fill in the form myself** | You already know what to write. |
| **Use your own AI** | ChatGPT, Claude, Gemini or another AI already knows your business. |
## Set it up by chatting
The editor opens with an assistant beside the form. It asks about your business, how the agent should sound, and when it should hand a conversation to a person.
1. Answer its questions in the chat. You can attach files and paste website addresses.
2. As you answer, the assistant fills in the form. The sections it changed are highlighted, and each turn lists the fields it changed, with **Undo these changes**.
3. Click **End conversation** whenever you are done. Every section you did not review keeps its defaults.
4. Read the form, then click **Save draft** or **Save and go live**.
Nothing is saved until you save the agent. Files you attach are uploaded when you save. A website address you paste waits in **Knowledge base** until you confirm that you own the site or may use its content.
On an agent you already have, **Improve my agent** opens the same assistant over its current settings.
## Use your own AI
Your own AI may already know your products, prices and policies from earlier conversations or a project. This way uses that knowledge.
**Copy the prompt**
Choose **Use your own AI**, pick the **Prompt language** your AI should talk to you in, and click **Copy prompt**.
**Answer your AI**
Paste the prompt into your AI, ideally inside the project or conversation that already knows your business. It proposes each section from what it knows, asks you to confirm or correct it, and asks which language your customers write in. It is told never to invent a price, an address or a policy.
**Paste the result back**
At the end your AI gives you one block of text. Click **I have the result**, paste the whole block, and click **Import into the editor**.
**Review and save**
The editor opens with the imported values. If something could not be imported, a notice lists it so you can set it by hand. Files your AI listed appear as a checklist: upload each one yourself, because a file cannot travel through a paste. Then save the agent.
The import never saves an agent by itself. Labels your AI named must already exist in **Settings**, **Labels**; the notice names any that do not.
## Fill in the form yourself
Choose **Fill in the form myself** to open the empty editor. Only a name and a mission are required to save. Every other section has a working default. See [Configure an AI agent](/features/ai-chatbot/configuration) for each field.
## Duplicate an agent
On the AI agents page, open the ⋮ menu of an agent and choose **Duplicate**, then confirm. The copy:
- is named after the original with **(Copy)** added, and starts as a **Draft**,
- has the same settings, knowledge files, files it can send, and websites,
- keeps none of what the original did: its numbers, conversations, ratings and test scenarios stay with the original.
Use a copy to try a change safely, or to build a second agent for another number or language. A price that appears only in a copied website document counts as known after someone on your team opens that document in the copy. Until then, a reply from the copy that quotes it is still sent, and the price is flagged in the inbox for your team to check. See [Unverified figures](/features/ai-chatbot/configuration#unverified-figures).
## The draft from your website at sign-up
When you [sign up](https://console.whatsable.app/sign-up), the first setup screen asks for your website and analyzes it. On a plan with AI agents, Whatsable then writes a first agent for you from what it found: a name, a mission, a tone, facts about your business, and the words and situations that should hand a conversation to a person. If the site could not be read, you get a simpler draft to complete. You find it on the AI agents page when setup is finished.
That agent is always a **Draft**: it answers no customer until you review it and choose **Save and go live**. The website itself is not added as a knowledge source, so you can add it under **Knowledge base** in the editor if you want the agent to keep reading it.
## After you create it
1. Click **Save draft**, then test it in **Test your agent**, beside the editor. The test uses your unsaved changes too, and nothing there goes to WhatsApp.
2. Save it live, and choose which numbers it answers on. See [which agent answers on which number](/features/ai-chatbot#which-agent-answers-on-which-number).
3. Watch its first conversations in the [inbox](/features/team-inbox), and rate its decisions to improve it.
Source: /features/ai-chatbot/create-an-agent
# AI agents
> An AI agent answers your WhatsApp customers from your own knowledge, labels conversations, follows up when a lead goes quiet, and hands the chat to a person when it should.
An AI agent answers the customers who write to your WhatsApp numbers. It replies from the knowledge you give it, in the language the customer writes in, and it hands the conversation to a person when the customer asks for one or when a situation needs a human. It can also tag conversations with your labels, send files you chose, and follow up when a customer stops replying.
You manage agents under **AI agents** in the main menu (`/ai-bots`) of the [Whatsable app](https://console.whatsable.app).
## Who can use AI agents
AI agents are included in the **Pro** and **Agency** plans, and in the free tier you get when you sign up without a card. The **Bulk Message** plan only sends campaigns and has no AI agent: on that plan the page shows an upgrade panel instead. See [plans](/features/plans-bulk-message-pro-agency).
Only the owner and Admins create and edit agents. Every teammate who can open a conversation sees what the agent did in it, and can rate its decisions.
## What an agent does
- **Answers from your knowledge.** It reads the files, written facts and website pages you add, and says it does not know when they do not cover the question. It is told never to state a figure, such as a price, that your knowledge does not contain. When a message still holds one, the message is sent and the figure is flagged in the inbox for your team to check. See [Unverified figures](/features/ai-chatbot/configuration#unverified-figures).
- **Follows your rules.** You write its mission, its custom instructions and its tone.
- **Reads what customers send.** It understands voice notes, images and documents, and answers in text.
- **Hands over to a person.** Words you choose, or situations you describe, make it step back. Your team can get a notification when that happens.
- **Labels conversations.** It can add or remove the labels you allow, when your rules say so.
- **Sends files.** It can send a price list, a menu or a brochure you uploaded, picked from the sentence you wrote about each file.
- **Follows up.** When a customer goes quiet, it can write again on the schedule you set, and it stops the moment they reply.
## The AI agents page
Each agent is a card with its name, its mission, its status, and how many numbers it answers on. The default agent carries a **Default** badge. An agent that reads a website shows **Updated** or **Review needed** when its website document changed.
| Action | How |
|--------|-----|
| Create an agent | Click **Create agent**. See [Create an AI agent](/features/ai-chatbot/create-an-agent). |
| Find an agent | Type in **Search agents**, and sort by **Newest** or **Oldest**. |
| See archived agents | Tick the box above the list that shows them, for example **Show 2 archived agents**. |
| Edit | Click **Edit** on the card, or the agent's name. |
| Turn a draft or archived agent on | Open the ⋮ menu and choose **Activate**. |
| Make it answer on every number | Open the ⋮ menu and choose **Set as default**, then **Make default**. You need at least one connected number. |
| Copy it | Open the ⋮ menu and choose **Duplicate**. The copy is a draft. |
| Stop it everywhere | Open the ⋮ menu and choose **Archive**. Its past conversations stay, and you can activate it again later. |
| Remove it | Archive it first, then choose **Delete**. Its open follow-ups are cancelled. You cannot undo a delete. |
An organization can hold up to 20 draft or active agents. Archived agents do not count.
### Statuses
| Status | What it means |
|--------|---------------|
| **Draft** | Nothing answers customers until it goes live. You can test a draft. |
| **Active** | It answers on the numbers it is assigned to. Changes apply to the next message. |
| **Archived** | It answers no one until you activate it. |
### Which agent answers on which number
The **Numbers** card at the bottom of the page lists your business numbers. Choose the agent that answers on each one. A number set to **No AI** has no agent. The default agent is simply the agent that answers on every number: **Set as default** shows you which numbers change before anything moves, and a draft goes live first.
## How an agent answers a message
**A customer writes**
A message reaches a number that has an active agent, in a conversation where the agent is on.
**The agent waits a moment**
It waits the few seconds you set, so that several quick messages get one answer.
**It decides what to do**
It reads its mission, knowledge, instructions and the conversation. It replies, chooses not to reply, or hands the conversation to a person. It can also add or remove labels and send a file.
**The reply goes out**
The reply is sent over WhatsApp, as one message or several, as you chose.
**It follows up if you asked it to**
If the customer goes quiet and follow-ups are on, it writes again on your schedule, inside your quiet hours and budget.
## The agent in the inbox
Open a conversation in the [inbox](/features/team-inbox) and its contact details panel has an **AI agent** section:
- **Let the agent reply** turns the agent on or off for this conversation. When a person replies, or the agent hands over, the agent pauses and the panel says why. Turn the switch on to give the conversation back to the agent. The agent can also take the chat back by itself, as set under **Once you reply by hand** in its settings.
- **Which agent answers** picks the agent for this conversation. **Use the number's default** follows the agent set for the number.
- Under **Follow-ups**, the **Follow up** switch stops or allows follow-ups to this contact. When it is off, the agent still answers anything the contact sends.
Each thing the agent did shows in the thread as a decision row: **Replied**, **Handed to a person**, **Chose not to reply**, a follow-up that went out or was skipped, and the labels it changed. Open a row to read why it ran and why it acted. Use the thumbs to rate a decision: your ratings can become suggested changes to the agent. See [Configure an AI agent](/features/ai-chatbot/configuration#ratings-and-suggested-changes).
When a message from the agent holds a figure Whatsable could not find in what the agent was given, a warning under the message names it, the conversation shows a **Figure to check** badge, and **Mark as checked** clears it once someone on your team has looked. See [Check a figure the agent wrote](/features/inbox-conversations#check-a-figure-the-agent-wrote).
## Next steps
- [Create an AI agent](/features/ai-chatbot/create-an-agent):
Chat with an assistant, use your own AI, fill in the form, or start from a copy.
- [Configure an AI agent](/features/ai-chatbot/configuration):
Every setting in the editor, the test panel, and how to improve an agent from ratings.
- [Shared team inbox](/features/team-inbox):
Where your team and the agent answer customers side by side.
- [Embedding Process](/features/embedding):
Connect a WhatsApp number before an agent can answer on it.
You can also manage agents with the [API v1](/api-reference/v1) and from an AI assistant connected through the [MCP server](/mcp). An assistant can add to an agent's knowledge or instructions without rewriting them, and read them in full: see [Edit an agent from an AI assistant or the API](/features/ai-chatbot/configuration#edit-an-agent-from-an-ai-assistant-or-the-api).
Source: /features/ai-chatbot
# What does Whatsable Analytics show?
> Whatsable Analytics on Pro and Agency: messages sent, delivered, read and failed, template results, a searchable message log with CSV export, response times, AI agent results and broadcast results, by date range and business number.
**Analytics** in the main menu shows how your WhatsApp numbers perform: what you sent and what happened to it, how fast your team answers, what your AI agents did, and how your broadcasts went.
> [!NOTE]
>
> Analytics is part of the **Pro** and **Agency** plans. On **Bulk Message**, the menu entry shows a lock and the page offers an upgrade. See [plans](/features/plans-bulk-message-pro-agency).
## Pick a range and a number
At the top of the page:
- **Date range**: **Today**, **Last 7 days**, **Last 30 days**, **Last 60 days**, **Last 90 days**, or a **Custom range**. A range can be up to 90 days.
- **Business number**: **All numbers**, or one number.
- **Refresh** loads the latest figures.
Ranges up to 31 days chart one point per day. Longer ranges chart one point per week.
Each message, conversation or AI turn counts in the range in which it was created, with its current status. So a message sent last week and read today counts as read in last week's figures. The numbers for a past range can still change.
## The four tabs
### Messages
- Cards for **Total Sent**, **Sent**, **Delivered**, **Read**, **Failed** and **Received**. The **Sent**, **Delivered** and **Read** cards each download their report as CSV.
- **Messages over time**, **Read Rate**, **Delivery rate**, and **Who sends**: your team, an AI bot, an AI follow-up, a broadcast, the API, or the WhatsApp app on your phone.
- **Top failure reasons**, with Meta's error code.
- **Template Analytics**: for each template, the messages sent with it and its read rate. Select a template for its detail.
- **Message Logs**: every message in the range, newest first. Filter by type (**Sent Messages**, **Received Messages**, **Template Messages**), by status, by sender, or search by phone number. **View details** shows when it was delivered and read, who sent it, the template and the failure reason. **Export CSV** downloads the log with your filters.
### Conversations
- **New conversations**, **Started by a customer** and **New contacts**.
- **Median first response**, **Answered within 5 min**, **Answered within 1 hour** and **Unanswered**. A conversation started by a customer is a lead, and its first response is your first reply after their first message.
- **Who answered first**: your team or an AI bot.
- **Time to first response**, in bands from under a minute to over 24 hours.
### AI
Pick one AI bot or **All bots**.
- **AI turns**, split into **Replies to customers** and **Follow-ups**.
- **Handoffs to your team**, the **Handoff rate**, and the handoff reasons as the bot stated them.
- **Typical AI reply time** and the slowest 5%.
- **Turn outcomes**, and **Why replies were not sent**.
- **Replies that used your knowledge files** and **Labels the AI applied**.
- **Follow-ups**: sequences started, follow-ups sent, the **Reply rate within 72 h**, and how follow-ups ended.
### Broadcasts
A table of the broadcasts started in the range: recipients, sent, failed, read, and read rate.
## Who can see Analytics
Analytics is for the owner, Admins, and Members with access to all numbers and all labels. The figures cover the whole organization, so a Member limited to specific numbers or specific labels cannot use it. The page says: "Analytics shows numbers for the whole organization, so it is not available to members limited to specific labels." See [team roles and access](/features/team-roles).
## Use cases
- **Find delivery problems.** Watch **Failed** and **Top failure reasons**, then open the log to see which messages failed and why.
- **Measure your team's speed.** Compare **Median first response** and **Unanswered** week by week.
- **Check the AI agent.** A rising **Handoff rate** shows questions the agent cannot answer. Add knowledge and test again. See [AI chatbots](/features/ai-chatbot).
- **Compare templates and broadcasts.** Read rates show which wording works. See [message templates](/features/message-templates) and [broadcasts](/features/broadcasts).
- **Keep records.** Export the message log as CSV for a spreadsheet or an audit.
## Analytics and the API
The [API v1](/api-reference/v1) gives each message's status one message at a time. For totals and reports, use this page.
## FAQ
### Why did a past day's number change?
Figures re-read each message's current status. A message that was delivered later, or read later, moves into **Delivered** or **Read** for the day it was sent.
### Can I see more than 90 days at once?
No. Pick consecutive ranges of up to 90 days each.
### Is Analytics on the Bulk Message plan?
No. Analytics is part of Pro and Agency.
Source: /features/analytics
# How do I create, reveal, and roll a WhatsAble API key?
> WhatsAble API keys on Pro and Agency. Owners and Admins create a key for Zapier, Make, n8n, or their own code, reveal and copy it again at any time, roll it to replace the secret, or revoke it.
An API key lets your own code, Zapier, Make, or n8n send messages and read data as your WhatsAble organization. You manage keys on the **API keys** page, its own item in the sidebar. You can reveal and copy a key again at any time, so a lost key does not mean a broken integration. You can also roll a key to replace its secret, or revoke it.
> [!NOTE]
>
> API keys are part of the **Pro** and **Agency** plans, which include integrations. **Bulk Message** does not include them. See [plans](/features/plans-bulk-message-pro-agency).
> [!WARNING]
>
> Treat a key like a password. Anyone with the key can message your contacts. Keep it on your server, not in an app or a web page.
## Who can manage keys
The owner and Admins can open **API keys** in the sidebar. A Member cannot open the page.
## Create a key
You need a connected WhatsApp number before you create a key.
**Open API keys**
Go to **API keys** in the sidebar and select **Create API key**.
**Name the key**
Enter a **Key name** of 1 to 80 characters. Name it after the place it will be used, such as "Zapier production".
**Choose the number**
Choose the **Number** the key sends from. To let the key use more numbers, open **Advanced** and choose **Only this number**, **All numbers**, or **Specific numbers**.
**Choose what the key can do**
Under **What this key can do**, choose **Full access**, **Send and read**, **Read only**, or **Custom**.
**Create and copy**
Select **Create key**. The page shows **Your new API key**. Select **Copy key**, then paste the key where you need it.
### What each access level allows
| Access | What the key can do |
| --- | --- |
| **Full access** | Everything the API can do, including anything added later. |
| **Send and read** | Send messages, read everything, update contacts, and switch the AI agent on or off. It cannot create templates, labels, or broadcasts, edit AI agents, or manage webhooks. |
| **Read only** | Read numbers, templates, messages, contacts, broadcasts, AI agents, and team members. It cannot send or change anything. |
| **Custom** | The permissions you pick. |
These limits apply to API v1. Requests to the older API, which existing integrations use, are not limited by them.
## Reveal and copy a key
You can show the full key again at any time.
1. Go to **API keys** in the sidebar.
2. On the key's row, select **Reveal**. The full key shows.
3. Select **Copy**. To hide the key again, select **Hide**.
Revealing a key does not change it. Every integration that uses the key keeps working. WhatsAble records who revealed a key and when. One person can reveal keys at most 10 times a minute.
### A key that cannot be revealed
Some older keys show this message: "This key cannot be revealed. Roll it to get a key you can reveal." WhatsAble keeps no copy of such a key that it can show. The key can become revealable after it next sends a request successfully. If you need the key now, roll it.
## Roll a key
Rolling a key replaces its secret. Use it when a key may have leaked, or when you cannot reveal a key.
1. On the key's row, select **Roll key**.
2. Confirm that connections that use the old key will break.
3. Select **Roll key** to confirm. The page shows the new key. Copy it.
The old secret stops working at once. Every connection that uses it fails until you paste the new key. The key's name and numbers stay the same.
## Revoke a key
Revoking a key stops it for good. Use it when a key is no longer needed.
1. On the key's row, select **Revoke**.
2. Confirm that your integrations will stop sending.
3. Select **Revoke now**.
Every integration that uses the key stops sending at once. You cannot undo a revoke, and you cannot reveal or roll a revoked key. To keep sending, create a new key first and update your integrations. The **Revoked keys** list shows the keys you revoked.
## Reveal, roll, or revoke
| You want to | Do this | What happens to your integrations |
| --- | --- | --- |
| Find a key you lost | **Reveal** | They keep working. |
| Replace a key that may have leaked | **Roll key** | They stop until you paste the new key. |
| Stop a key you no longer use | **Revoke** | They stop for good. |
## Use the key
- **Zapier.** When Zapier asks you to connect WhatsAble, paste the key. See [Zapier](/integration/zapier).
- **Make.** Install the WhatsAble app in Make, then paste the key when it asks to connect. See [Make](/integration/make).
- **n8n.** Install the WhatsAble node in n8n, then paste the key when it asks. See [n8n](/integration/n8n).
- **Your own code.** API v1 reads the key from the `Authorization` header, as `Authorization: Bearer `.
## How API keys work with other features
### Team roles
Only the owner and Admins can create, reveal, roll, or revoke a key. A key acts for the whole organization, not for a person. A key does not take a team seat. See [team seats](/features/team-seats).
### Numbers
A key sends from its default number. It can also use all numbers or a chosen few. Triggers that you register with a key receive only the messages of that key's numbers. To change the numbers later, use **Change number** or **Edit numbers** on the key's row. Rolling a key keeps its numbers.
### Labels, templates, and broadcasts
A **Full access** key can create labels, templates, and broadcasts. A **Send and read** key can read them and update contacts, but it cannot create them. See the [team inbox](/features/team-inbox) for how labels organize conversations.
### The AI agent
A **Read only** or **Send and read** key can read your AI agents. A **Send and read** key can also switch the AI agent off or back on in one conversation, and choose which agent answers a number. Only a **Full access** key, or a **Custom** key that allows it, can create or edit an agent. A **Send and read** key created before this change keeps the permissions it had and shows as **Custom**; create a new key to get the switch. See [AI chatbots](/features/ai-chatbot).
### Webhooks
Only a **Full access** key, or a **Custom** key that allows it, can manage webhooks. See [message webhooks](/api-reference/legacy/incoming-message).
## Related
- [Zapier](/integration/zapier):
Connect WhatsAble to Zapier with an API key.
- [Make](/integration/make):
Connect WhatsAble to Make with an API key.
- [n8n](/integration/n8n):
Connect WhatsAble to n8n with an API key.
- [Team seats](/features/team-seats):
What a teammate costs, and how to remove an empty seat.
## FAQ
### I lost my API key. Do I need a new one?
No. Go to **API keys** in the sidebar and select **Reveal** on the key's row. Then copy the key. Your integrations keep working.
### Does revealing a key change it?
No. Revealing shows the same key. Only **Roll key** replaces it.
### What happens to Zapier or Make when I roll a key?
The old key stops working at once. Each connection fails until you paste the new key into it.
### Can a Member see API keys?
No. Only the owner and Admins can open **API keys**.
### Can I undo a revoke?
No. A revoked key stops for good. Create a new key and update your integrations.
Source: /features/api-keys
# Automatic replies
> Away message outside office hours, with different hours per day and dated exceptions, a follow-up that keeps the 24-hour window open, and saved replies the team inserts.
**Settings → Automatic replies** holds three ways Whatsable answers without anyone typing: **Away message**, **Keep window open** and **Saved replies**. Owners and admins change them. Members insert saved replies in the inbox and cannot change these settings.
Each setting applies to every number in your organization.
## Away message
Use an away message so a customer who writes while you are closed gets an answer right away, instead of waiting until someone opens the inbox.
Turn on **Enable away message**, then set:
- **Timezone**: every day and time on the page is read in this timezone, not the customer's.
- **Office days**, with a **Start time** and **End time**. Customers who write on a closed day, or outside these hours, get the auto-reply. The window may cross midnight, for example 22:00 to 06:00.
- **Different hours on some days**: turn on **Set different hours on some days** to give one day its own hours, such as a shorter Friday. A day with its own hours ignores the main window.
- **Holidays and exceptions**: click **Add exception** for dates that replace the weekly hours, such as a public holiday or a team offsite. Each exception has a name, a **From** and **To** date, and is either **Closed all day** or open at custom hours on those dates. Turn on **Use a different message on these dates** to send an **Exception message** instead of the usual auto-reply.
- **Auto-reply message**: what customers get while you are closed.
A customer gets the away message once per closed period, the first time they write. Someone who writes three times at night gets it once. The contact is also labelled **Needs Review**, so your team can find these conversations in the morning.
The status card at the top says whether you are open or closed right now and when that changes. The preview shows the message as the customer will read it.
**Also send it to people who start a chat from an ad** is on unless you turn it off. With it off, a chat that starts from an ad gets no away message, so your team can answer those leads first. This also applies to an exception message.
> [!NOTE]
>
> A day with its own hours and an exception cannot cross midnight. A shift that starts in the evening and ends the next morning has to use the main weekly window.
## Keep window open
WhatsApp lets you send free-form messages for 24 hours after the customer's last message. After that, only an approved template can be sent. **Keep window open** sends one follow-up before that window closes, so a quiet chat can still be answered for free.
Turn on **Enable keep window open** and choose **Send after the customer's last reply**: 1, 6, 12, 18 or 23 hours, or a custom wait of up to 24 hours. Then write the **Follow-up message**.
The follow-up goes out the chosen number of hours after the customer's last message. Each new message from the customer restarts the timer. A reply from your team does not stop it, and neither does another scheduled message. Keep window open works on its own: it does not need the away message to be on.
## Saved replies
A saved reply is a short answer your team inserts into the inbox composer instead of typing it again. It is not a WhatsApp template and never goes to Meta for approval.
- Owners and admins click **Create saved reply** and give it a **Title** and a **Message** (plain text). An organization can have up to 200.
- In the inbox, anyone types `/` or clicks **Saved replies** to insert one. The list shows the most used first. Inserting does not send, so the text can be edited first.
- The **Inserted** column shows how many times each reply has been inserted.
- The [API v1](/api-reference/v1/saved-replies/list-saved-replies) and AI assistants connected through the [MCP server](/mcp) read your saved replies, most used first, and send one as a message. A send through them does not count as an insert. Saved replies are created and edited only here.
## How this works with the rest of Whatsable
- The away message and the follow-up are not the AI agent. The [AI agent](/features/ai-chatbot) answers inside the rules you set on its own page.
- Office hours are set only in the app. Make, Zapier, n8n and the API do not change them.
- To send a one-off message later, or only if the customer has not replied, schedule it from the conversation instead. See [Schedule a message](/features/inbox-conversations#schedule-a-message).
Source: /features/automatic-replies
# How do I manage my Whatsable plan and billing?
> The Whatsable billing page: choose a plan, contact tier and monthly or annual billing, upgrade now with proration, schedule a downgrade, manage seats and extra WhatsApp numbers, open Manage billing to update your card, and recover from a failed payment. Only the owner can change billing.
Your plan, usage and payment details live on one page: **Settings → Billing**. The page is called **Plan & Usage**. The owner and Admins can open it. Admins see it read-only: they see **Read-only** and "Only the organization owner can change billing." Only the **owner** changes the plan, removes a seat or adds a number to the plan. Members cannot open Billing.
For prices and what each plan includes, see [plans Bulk Message, Pro, and Agency](/features/plans-bulk-message-pro-agency).
## What the page shows
- **Current plan**: your plan, contact tier and price, with its status (for example **Active**, **Trialing** or **Past due**) and the date it renews. A breakdown lists the plan, any **Extra seats**, any **Extra contacts**, and the total.
- **Monthly active contacts**: how many contacts you have reached this period, out of your limit, and when it resets. **If I go over?** explains overage.
- **Seats**: your paid seats, how many are in use and how many are empty.
- **WhatsApp numbers**: your connected numbers out of what your plan covers, and any extra numbers you pay for.
- **Billing period**: the days left in the current period.
- **Update plan** (or **Choose a plan** before you subscribe): the three plan cards, where you pick a new plan.
On the free plan, **Current plan** reads **Free**, with how many of your 2 contacts you have used.
## Subscribe to a plan
**Pick monthly or annual**
At the top of the plan cards, choose **Monthly** or **Annual**. Annual gives 2 months free.
**Pick your contact tier**
Move the slider on the plan card to the number of contacts you need. At 10,000, a drop-down lists the larger tiers up to 100,000. For more than that, choose **More than 100,000 — contact us**.
**Choose the plan**
Select **Start with Pro**, **Choose Bulk Message** or **Choose Agency**. You go to Stripe's checkout page to enter a card. Your card details never touch Whatsable.
Pro starts with a 7-day trial, once per organization. Nothing is charged until the trial ends. Bulk Message and Agency are charged when you subscribe.
## Change your plan
On a paid plan, each card shows **Upgrade to …** or **Move to …**. Pick the plan, tier and interval, then confirm in **Confirm your plan change**. The dialog shows your plan now and after the change, and nothing changes until you confirm.
### Upgrade now
A plan that costs more per month is an upgrade. So is a move from monthly to annual on the same plan. Select **Upgrade now**:
- The new plan and its limits start right away.
- On the same billing interval, the difference for the rest of the current period appears on your next invoice, not on your card today.
- A move from monthly to annual is billed right away. A new annual period starts today, and you get credit for the unused part of the current month.
### Schedule the downgrade
A plan that costs less per month is a downgrade. Select **Schedule the downgrade**:
- Nothing changes today. You keep your current plan and its limits until the end of the current period.
- The page shows **Downgrade scheduled** with the new plan and its start date.
- If the new plan includes fewer WhatsApp numbers, the dialog warns you first. The numbers above the new plan go over plan. Nothing is disconnected: those numbers keep receiving messages but cannot send.
- Bulk Message has one user. After a downgrade to it, your teammates lose access and you stop paying for their seats. Moving back to Pro or Agency gives them access again.
During a trial, a plan change charges nothing. The new price begins with your first invoice.
If our team prepared a custom plan for you, changing your plan ends that custom deal. The dialog asks you to confirm.
## Seats
On Pro and Agency, the owner seat is free and each teammate is $12 a month. A seat is charged when the teammate accepts the invitation.
- **Invite member** opens the invitation dialog. The owner and admins can use it.
- **Remove empty seat** gives back a seat nobody uses. Only the owner can do this. The seat stops on your next invoice. The current period stays paid, and no refund is issued.
- **Manage your team** opens **Settings → Team**.
See [team seats](/features/team-seats) for the details.
## Extra WhatsApp numbers
Bulk Message includes 1 WhatsApp number and Pro includes 3. Each number above that is $13 a month. Agency includes up to 100 and sells no extra numbers.
A number you connect above your plan is over plan: it receives messages but cannot send. The owner adds it with **Add to plan** in **Settings → Business Numbers**. The dialog shows the cost before you confirm. The charge is prorated, so you pay only for the rest of the current billing period. During a trial nothing is charged until your first invoice. See [business numbers](/features/business-numbers).
## Client organizations on Agency
On Agency, the agency's subscription also pays for its client organizations. Their contacts and WhatsApp numbers share the plan's limits, and their seats are added to the agency's invoice. In a client organization, Billing shows its client admin "This organization's plan is managed by your agency" instead of the plan. While client organizations exist, the plan cannot move off Agency from this page. See [client organizations](/features/client-organizations).
## Manage billing
**Manage billing** opens Stripe's billing portal for your subscription. Use it to update your card and your payment details. The button appears once you have a subscription.
When a cancellation is scheduled, the page shows **Cancellation scheduled**. Your plan and its limits stay until the end of the period.
## When a payment fails
If a payment fails, your plan status changes to **Past due** and the page shows **Payment failed**: "Payment failed. Update your card in the billing portal to restore access."
**Open Manage billing**
Select **Manage billing** on the notice or at the top of the page.
**Update your card**
Enter a working card in the billing portal.
**Access comes back**
When the payment goes through, your plan is **Active** again and every feature on it opens.
While the plan is past due:
- The features of your plan stop until the payment goes through. Incoming WhatsApp messages are still received and stored.
- On a paid plan, a Pipedrive connection keeps working for 15 days after the failed payment. A trial whose first payment fails gets no such grace.
- Do not start a new checkout. The plan cards say "This subscription is past due. Use Manage billing to update payment — do not start a new checkout."
## FAQ
### Who can change the plan?
Only the owner of the organization. Admins can open the page and read it. Members cannot open it.
### When am I charged for an upgrade?
The new plan starts right away. On the same billing interval, the difference for the rest of the period is on your next invoice. A move from monthly to annual is billed right away, with credit for the unused part of the current month.
### When does a downgrade start?
At the end of your current billing period. Until then you keep your current plan and its limits.
### Where do I update my card?
In **Settings → Billing**, select **Manage billing**.
## Related
- [Plans and prices](/features/plans-bulk-message-pro-agency):
Every contact tier, what each plan includes, overage and trials.
- [Team seats](/features/team-seats):
What a seat costs and how to release an empty one.
Source: /features/billing
# Can I send WhatsApp template broadcasts with Whatsable?
> Send one approved WhatsApp template to a CSV list with Whatsable: map any columns, label recipients, test, schedule, choose Regular, Smart or Risk pacing, pause or cancel, and download the results.
Yes. A broadcast sends one approved template to a list of recipients from one of your WhatsApp Business numbers. You upload a CSV, match its columns to the template, send yourself a test, then launch now or schedule it. Whatsable paces the sending, because Meta throttles numbers that send faster than people read.
Broadcasts live under **Broadcasts** in the main menu of the Whatsable app ([sign in](https://console.whatsable.app/sign-in)). They are the main job of the **Bulk Message** plan, and they are also on **Pro** and **Agency**.
## Before you start
- **A plan with broadcasts.** Broadcasts are on **Bulk Message**, **Pro** and **Agency**. The free tier has them too, but it includes only 2 contacts. See [Plans](/features/plans-bulk-message-pro-agency).
- **An approved template** for the number you send from. See [Message templates](/features/message-templates).
- **An active number.** A paused number cannot send.
- **A CSV of recipients**: a header row, one column with phone numbers, and one column for each value that changes per person. Up to 100,000 rows and 20 MB.
### Who can send broadcasts
Every role can open **Broadcasts** and create one: an **Owner**, an **Admin** or a **Member**. Bulk Message has one user, the owner. Two limits apply to a Member whose **Edit access** is restricted (see [Team roles](/features/team-roles)):
- A Member limited to certain numbers cannot upload a recipient list, so cannot launch a broadcast.
- A Member limited to certain numbers or labels cannot download a broadcast's results CSV.
## Create a broadcast
Open **Broadcasts** and click **New broadcast**. The broadcast takes two steps: **Campaign setup**, then **Compose, schedule and launch**.
### Step one: Campaign setup
Under **Campaign basics**:
- **Campaign name**: an internal name for tracking. Recipients never see it.
- **Send from**: the number the broadcast sends from. Paused numbers cannot send.
- **Labels** (optional): each recipient's contact gets these labels after their message is sent. Recipients whose message fails are not labelled. You can pick only the labels offered on this number. On plans with the inbox, use them to find the recipients there later. See [Labels](/features/labels).
Click **Continue to message and recipients**.
### Step two: Compose, schedule and launch
**1. Template.** Pick the template to send. Only approved templates can be selected, and only templates of the sending number's WhatsApp Business Account appear. Two kinds of template cannot be sent as a broadcast: an authentication template, and a template with a **Copy offer code** button.
**2. Recipients and variables.** Upload one CSV. It gives the phone numbers and the values for your template.
Your columns can have any names. Whatsable matches them to the template for you:
- A column named `phone`, `phone_number`, `mobile`, `whatsapp`, `telefono` or `celular`, among others, is taken as the phone column.
- A column named `body1`, `body2` (or `1`, `2`, `var1`, `variable1`) fills variable 1, variable 2, and so on.
- A column named `visit_website0` fills the end of the first dynamic website button.
If a match is wrong or missing, choose the column yourself under **Match your columns**. **View sample CSV** shows an example file you can download.
For each variable, choose **Static** (the same value for everyone) or **Dynamic** (taken from a CSV column). When a dynamic column has empty cells, you can type a value to send instead; without one, those rows are skipped. For a template with an image, video or document header, leave the link empty to send the file the template was approved with, or paste a public https link to send a different file.
Whatsable checks every row before you launch:
- Numbers without a + sign are treated as international numbers, and a + is added. If they are local numbers, tick **They are local numbers. Add a country code** and pick the country code.
- A number that is invalid, too short, too long, or shortened by a spreadsheet (like `9.1E+11`) is skipped. For a shortened number, format the column as text and export the file again.
- Duplicate numbers are sent once.
- **See skipped rows** lists every skipped row with its reason, and **Download skipped rows** saves them.
The preview, **How it will land**, shows the message built from a real row of your file.
**3. Schedule.** Choose **Send now** or **Schedule for later**. To schedule, pick the **Date & time**, the **Time** and the **Timezone**. The time zone starts as your browser's.
**4. Delivery mode.** Choose how fast the list drains. See [Delivery modes](#delivery-modes).
**5. Test, then launch.** Click **Launch now** or **Schedule broadcast**. A dialog opens: **Test, then launch** (or **Test, then schedule**). Under **Send a test**, enter **Your phone number** and click **Send test message**. The test goes through the same number, template and variables as the campaign, using a row of your file, so you see the real message on a phone. A test is optional and billed at the same per-message rate. Then launch.
**Save draft** keeps the campaign under **Drafts**. It needs a name, a number, an approved template and the variable values first.
### When you are over your contact limit
Your plan includes a number of unique contacts per billing cycle. When your organization has already used them all, step two shows **Over your unique-contact limit**: how many unique contacts you used out of your limit, and that extra unique contacts are billed as overage. The broadcast can still launch. The owner also sees **Upgrade**.
On the free tier the limit is 2 contacts. If you have contacts left, the broadcast launches, then pauses when it reaches the limit. If you have already used both contacts, the broadcast cannot launch. Subscribe to a plan to message someone new. See [Plans](/features/plans-bulk-message-pro-agency).
## Delivery modes
| Mode | How it sends | Settings |
| --- | --- | --- |
| **Regular** (recommended, the default) | A fixed number of messages every minute, at a steady pace, until the list drains. No engagement check, so a bad list still drains at full pace. | **Messages per minute**: 1 to 60, default 3. |
| **Smart** (safest) | Sends a first batch, then sends the next batch only while the read rate stays at or above your target. If people stop reading, delivery waits until the read rate recovers. | **Batch size**: 1 to 20, default 5. **Target read rate (%)**: 10 to 100, default 30. |
| **Risk** (unsafe) | Sends the whole list as fast as Meta allows, with no engagement checks. A per-number rate cap still applies. | You confirm **Send to everyone at once** and **I accept the risk**. |
Beside the settings, Whatsable rates your choice, from **Well within safe limits** to **Likely to get blocked**, and estimates how long the list takes once a CSV is uploaded.
Use **Smart** or a modest **Regular** pace for a large list, a cold list or a new number. Numbers that blast large lists get flagged or banned by Meta, and a banned number takes your inbox down with it.
## Track a broadcast
The **Broadcasts** list has four tabs: **Drafts**, **Upcoming**, **Ongoing** and **Previous**. Each campaign shows its template, mode, status, recipients, and counts of **Sent**, **Failed** and **Read**.
A launched campaign moves to **Upcoming**, then to **Ongoing** when the first batch goes out. Click **Open monitor** to see its **Progress** (sent, failed and queued) and its **Failures**.
Whatsable holds a broadcast on its own in two cases, and says why on the broadcast:
- The sending number is paused. Delivery continues by itself once the number is active again.
- Your plan or billing no longer allows the send, for example when the number is over your plan. The broadcast is paused, and the reason shows on it.
## Pause, resume and cancel
| You want to | Do this |
| --- | --- |
| Stop a broadcast that is sending, for now | **Pause delivery**. Click **Resume delivery** to continue. |
| Stop a scheduled broadcast before it starts | **Cancel broadcast**. A broadcast that has not started cannot be paused, only cancelled. |
| Stop a broadcast that is sending, for good | **Pause delivery** first, then **Cancel broadcast**. |
These actions are in the campaign's menu in the list and at the top of its monitor. Cancelling cannot be undone: recipients that were not sent stay unsent. Messages already sent are still billed.
To send the same campaign again, use **Duplicate campaign**. The copy keeps the name (with "(copy)"), the number, the template, the delivery mode, the variable values and the labels. Upload the recipient list again.
## Download the results
Once a broadcast has launched, **Download results CSV** (in the list) or **Results CSV** (in the monitor) saves one row per recipient:
| Column | Holds |
| --- | --- |
| `phoneNumber` | The recipient's number |
| `status` | `pending`, `attempting`, `sent`, `failed` or `skipped` |
| `failureCode` | The error code, when the send failed |
| `failureReason` | The error in words, when the send failed |
| `sentAt` | When the message was sent |
Failed rows keep their error code, so you can re-target them in a follow-up campaign.
## After the broadcast
- **Replies** arrive in the shared inbox on **Pro** and **Agency**. Bulk Message has no inbox. See [Team inbox](/features/team-inbox).
- **AI agent follow-ups** do not start after a broadcast unless you turn on **Also follow up after a broadcast** on the agent. It is off by default. See [AI agent configuration](/features/ai-chatbot/configuration).
- **Reports**: on **Pro** and **Agency**, the **Broadcasts** tab of **Analytics** lists the broadcasts started in a date range, with recipients, sent, failed, read and read rate. See [Analytics](/features/analytics).
## Broadcasts from the API and AI assistants
The [API v1](/api-reference/v1/broadcasts/create-broadcast) creates and launches a broadcast in one request, now or at a time you set, and reads its progress and recipients. It also [pauses and resumes](/api-reference/v1/broadcasts/update-broadcast) a broadcast that is sending, and cancels one. The Whatsable [MCP server](/mcp) lets an AI assistant do the same: ask "send spring_sale to everyone labeled VIP on Monday at 9:00", and later "pause it".
## Related
- [Message templates](/features/message-templates):
Create the template a broadcast sends.
- [Plans](/features/plans-bulk-message-pro-agency):
Bulk Message, Pro and Agency, and how unique contacts are counted.
- [Team inbox](/features/team-inbox):
Answer the replies on Pro and Agency.
- [API v1: broadcasts](/api-reference/v1/broadcasts/list-broadcasts):
Create, read and cancel broadcasts from your own code.
## FAQ
### Which plans can send broadcasts?
**Bulk Message**, **Pro** and **Agency**. The free tier can too, up to its 2 contacts.
### What columns does my CSV need?
A header row, a column of phone numbers, and a column for each value that changes per person. The names are up to you: Whatsable matches them to the template, and you can choose each column yourself under **Match your columns**.
### Can I schedule a broadcast?
Yes. Choose **Schedule for later** and pick the date, time and time zone. Until it starts, you can cancel it.
### Can I pause a broadcast?
Yes, while it is sending: **Pause delivery**, then **Resume delivery**. A scheduled broadcast that has not started can be cancelled but not paused.
### Can I tag the people I broadcast to?
Yes. Pick **Labels** in **Campaign setup**. Each recipient's contact gets them after their message is sent.
### Where do I see who received the message?
Open the broadcast and download the **Results CSV**. It lists each number with its status, any error, and when it was sent.
### Why can't I pick my template?
Only approved templates of the sending number's WhatsApp Business Account appear. Authentication templates and templates with a **Copy offer code** button cannot be broadcast.
Source: /features/broadcasts
# Business numbers
> Connect and manage your WhatsApp numbers in Whatsable: how many numbers each plan includes, adding extra numbers for $13 a month, the primary number, pausing, unlinking, and what Meta reports about each number.
**Business Numbers** lists every WhatsApp number your organization has connected. From there you connect new numbers, see how many numbers your plan includes, and read what Meta reports about each number. Open it from **Settings → Business Numbers**. Owners and admins can open it.
## Connect a number
Select **Connect WhatsApp**. Meta's signup opens in a popup and hands the number and its WhatsApp Business Account to Whatsable. Your templates come across in the same step. You can keep using the WhatsApp Business app on your phone with the same number.
- Step by step: [Embedding Process](/features/embedding).
- Keeping the WhatsApp Business app (Coexistence): [Connect WhatsApp Business to Whatsable](/features/connect-whatsapp).
Connecting a number never charges you. If the new number is above what your plan includes, see [Numbers over your plan](#numbers-over-your-plan) below.
## What the list shows
Numbers are grouped by WhatsApp Business Account. Each row shows:
- **Status**: **Active**, **Paused**, **Unlinked**, **Awaiting registration** (select **Retry registration** if it stays there), or **Disconnected on the phone**.
- **Meta reports**: what Meta last said about the number. See [What Meta reports](#what-meta-reports).
- **History**: for a number you keep in the WhatsApp Business app, the import of your existing chats. If an import stopped, select **Try again**.
## How many numbers your plan includes
| Plan | Numbers included | Extra numbers |
|---|---|---|
| Free | 2 | Choose a plan to add more |
| Bulk Message | 1 | $13 a month each, no limit |
| Pro | 3 | $13 a month each, no limit |
| Agency | 100 | None. Agency stops at 100 numbers |
The top of the page shows how many numbers you use, for example "1 of 3 numbers included", and any extra numbers you pay for. On Agency, unlink a number to make room for another. Plan prices are on [Plans: Bulk Message, Pro and Agency](/features/plans-bulk-message-pro-agency).
## Numbers over your plan
A number above what your plan includes shows the **Over plan** chip.
- It still receives messages, and its conversations stay in the inbox.
- It cannot send until you add it to your plan. That stops replies, templates, broadcasts, AI agent replies, follow-ups and outgoing webhooks for that number.
- People who write only to an over-plan number do not count toward your monthly contact limit.
Which numbers stay inside the plan: the **Primary** number first, then the numbers connected longest ago. To keep a different number inside the plan, make it primary.
### Add numbers to your plan
On Bulk Message and Pro, the owner selects **Add to plan**. The dialog shows the cost before you confirm. It adds every number over the plan at once, at $13 a month each.
- On a paid plan, the charge is prorated: you pay only for the rest of the current billing period. The dialog says whether it goes on the card on file today or on your next invoice.
- During a trial, nothing is charged. The extra numbers start with your first invoice.
Admins and members see that the owner can add the number to the plan. When you unlink a number, Whatsable lowers the count of extra numbers you pay for to match. More on billing: [Billing](/features/billing).
## The primary number
One number carries the **Primary** badge. Whatsable preselects it wherever you pick a number, and it is the first number to keep its place in your plan. To change it, open the menu of another active number and select **Make primary**.
While you have other connected numbers, the primary number cannot be paused or unlinked. Make another number primary first.
## Pause, unlink or delete a number
Open the menu at the end of a row.
- **Pause** stops sending from the number. Its conversations become read-only until you select **Resume**. A paused number still counts toward your plan.
- **Unlink** stops sending and receiving on the number. Its history stays. If it is the last active number of its WhatsApp Business Account, unlinking disconnects that account from Whatsable and releases it at Meta, so you can connect it to a different provider. An unlinked number no longer counts toward your plan.
- **Delete** appears only for an unlinked number with no messages and no broadcasts. It cannot be undone.
## What Meta reports
Meta decides whether a number can send. The **Meta reports** column shows Meta's last answer and when it was checked:
- **Available**: Meta named no account-level problem at the moment of the check. A single message can still fail.
- **Limited**: sending works, with a restriction. Many accounts stay here for a long time, for example until business verification is complete.
- **Blocked**: Meta blocks conversations your business starts, such as a template to someone who has not written in the last 24 hours. Replies to people who wrote in the last 24 hours usually still go out.
- **Not checked**: Meta has not answered for this number yet. This is not the same as Available.
Select **Check what Meta reports** in the row menu to open **What Meta reports**. It lists each part Meta checks (the WhatsApp Business Account, the business portfolio, the Whatsable app and the phone number), the reason Meta gives, Meta's suggested fix, and who has to act. A problem on the WhatsApp Business Account or the business portfolio is fixed in Meta Business Manager by its owner, which is often your client rather than you. A problem on the Whatsable app is ours: give support the code shown. Select **Check again** for a fresh answer. Meta answers at most once a minute.
The answer describes the account at the moment of the check. It does not promise that the next message goes out. The notifications bell tells you when Meta blocks or unblocks a number, or when a number is disconnected. See [Notifications](/features/notifications).
Source: /features/business-numbers
# How do I route WhatsApp chats to the right teammate in Whatsable?
> Whatsable routes conversations with labels and member access rather than an assignee field: keyword labels, AI agent labels, automations, and per-member numbers and labels.
Whatsable does not assign a conversation to one named teammate. There is no "assigned to" field on a conversation. You route work with two tools that work together:
1. **Labels** on the contact say what the conversation is about: "Sales", "Support", "Spanish", "Client A".
2. **Member access** says which numbers and which labels each member sees.
A conversation then reaches the people whose access matches its labels and its number. Routing works on **Pro** and **Agency**, which include the inbox and a team. The free plan has the inbox and the routing features too, but it is for one person: you invite teammates once you subscribe. **Bulk Message** has no inbox and is a one-user plan.
For the inbox itself, see [Shared Team Inbox](/features/team-inbox).
## Step 1: give each member the right access
On the **Team** page, an owner or an admin opens **Edit access** for a member:
- **Which numbers can they work in?** All numbers, or **Only these numbers**.
- **Narrow it to certain conversations?** All conversations, or **Only these labels**.
A member limited to the label "Support" sees only conversations whose contact carries "Support", on the numbers they may use. Owners and admins always see every conversation. You can set the same limits when you invite someone. See [Team roles](/features/team-roles).
## Step 2: get the right label on each conversation
Pick the ways that fit your team. They all write the same labels.
| How | What it does |
| --- | --- |
| **By hand** | A teammate adds or removes a label in the contact panel. Swapping "Sales" for "Support" moves the conversation from one group to the other. |
| **Keywords** | A label applies itself when a customer's message contains one of its keywords, for example "invoice" for "Billing". |
| **AI agent** | An agent you allow to use labels applies them from what the customer says, guided by each label's description. |
| **Ads** | A chat that starts from a Facebook or Instagram ad gets a label named after the ad's headline. |
| **Make, Zapier, n8n or the API** | Your automation decides the owner, for example a round robin across your sales team or a lead form's region, then adds that label. |
Labels, keywords and AI labels are explained in [Labels](/features/labels). The API call is [Add a label to a contact](/api-reference/v1/contacts/add-contact-label).
Whatsable has no built-in round robin. Build it in Make, Zapier or n8n and have the scenario add the label.
## Step 3: let the right people know
- An **AI handoff** notification reaches everyone who can see the conversation. So when the agent hands a "Support" conversation to a person, the members who see "Support" are told. The agent sends it when its **Tell the team when a customer asks for a person** switch is on.
- Other notifications, such as number or billing problems, go to owners and admins.
See [Notifications](/features/notifications).
## AI agent or person: a different question
Which **agent** answers a conversation is set apart from which people see it:
- **Which agent answers**, in the contact panel, picks the AI agent for one conversation, or keeps **Use the number's default**.
- **Let the agent reply** turns the agent on or off for that conversation. A teammate's reply pauses it.
Members get only **Let the agent reply**. **Which agent answers** and **Edit** are for the owner and Admins.
See [AI agents](/features/ai-chatbot).
## Limits
- A label sits on the contact, not on one conversation. A person who writes to two of your numbers carries the same labels on both.
- A member limited to labels loses sight of a conversation as soon as its last matching label is removed.
- Whatsable labels do not stay in sync with tags in your CRM. Your automations can read and write Whatsable labels.
- Numbers per plan: Bulk Message includes 1 and Pro includes 3; both can add more at $13 a month each. Agency includes up to 100 numbers and sells no extra numbers. See [Plans: Bulk Message, Pro, Agency](/features/plans-bulk-message-pro-agency).
## FAQ
### Can I assign a WhatsApp chat to one teammate?
**Not as a named assignee.** Route it with a label that matches that teammate's access. A member limited to the label "Ana" sees only the conversations you label "Ana".
### Does Bulk Message include routing?
**No.** Bulk Message has no inbox and no team. Routing for a team needs **Pro** or **Agency**. The free plan has the routing features, but you cannot invite teammates until you subscribe.
### Can Whatsable round-robin chats?
**Not natively.** Build the round robin in Make, Zapier or n8n, then add the label from the scenario.
### Is routing the same as choosing an AI agent?
**No.** **Which agent answers** picks the AI agent for a conversation. Labels and member access decide which people see it.
### Who gets notified when the AI hands a chat to a person?
**Everyone who can see that conversation**, so routing by labels also routes the handoff notification.
Source: /features/chat-assignment
# How do client organizations work on the Whatsable Agency plan?
> On the Agency plan, the owner creates a separate Whatsable organization for each client from the organization switcher, for free. Client organizations share the plan's contacts and its 100 WhatsApp numbers, and each one includes a free seat for the client's admin.
An agency that runs WhatsApp for its clients can give each client its own Whatsable organization. On the **Agency** plan, the owner creates a **client organization** from the organization switcher. The agency's subscription pays for it, so creating one costs nothing. Each client organization has its own inbox, WhatsApp numbers, contacts, templates, AI agents, team and API keys, and shares the Agency plan's contacts and its 100 WhatsApp numbers with the agency's other organizations.
> [!NOTE]
>
> Client organizations are part of the **Agency** plan only. Pro and Bulk Message cannot create them. See [plans](/features/plans-bulk-message-pro-agency).
## Words on this page
- **Agency organization**: the organization that holds the Agency subscription. Client organizations are created from it.
- **Client organization**: an organization created from the agency organization and paid by its subscription.
- **Your agency's organizations**: the agency organization and all its client organizations, up to 100 in total.
## Who can create a client organization
The **owner** of the agency organization. The **Create client organization** action appears in the organization switcher only when all of these hold:
- The organization is on an active Agency plan.
- Its billing has moved to Whatsable. On an account still billed by the old platform, client organizations open once the migration moves billing here.
- It is not itself a client organization. A client organization cannot create clients of its own.
- No plan change is scheduled that takes it off Agency at renewal.
- Your agency has fewer than 100 organizations, the agency organization included.
Admins and Members do not see the action.
## Create a client organization
**Open the organization switcher**
In the agency organization, open the switcher. On a computer it is at the top of the sidebar. On a phone it is under **More** in the bottom bar.
**Select Create client organization**
The dialog **Create a client organization** opens. It says that creating is free, and that the organization shares your Agency plan's contacts and its 100 WhatsApp numbers.
**Name it, and invite the client's admin**
Enter the **Organization name**. To give your client access now, enter the **Client admin email (optional)**. Then select **Create organization**.
**Set up the new organization**
Whatsable switches you to the new organization and opens **Get started**, where you connect its WhatsApp number.
Every owner of the agency organization becomes an owner of the new client organization. You can leave the email empty and invite the client's admin later from **Team**.
### Switch between your organizations
While you work in the agency organization or one of its clients, the switcher groups your organizations: **Your agency** lists the agency organization, and **Clients** lists the client organizations you belong to, with their count. From any other organization, it lists all of them in one list. When you belong to more than 8 organizations, a search field at the top of the menu filters the list by name.
## What your organizations share
- **Contacts are one pool.** The Agency plan's contact tier covers all of your agency's organizations together, not each one. Each organization counts its own contacts as usual: a contact counts once per organization per billing period, the first time it exchanges a message with that organization. A person who writes to two of your organizations counts in both.
- **The 80% and 100% notices**, and the 80% email, go to the agency organization and are decided on the pool. A client organization raises none of its own. Billing in the agency organization shows the pool's usage.
- **100 WhatsApp numbers in total.** Agency includes up to 100 connected numbers across all of your organizations, not 100 in each. Connecting a number that would take the total past 100 is refused. To connect another, unlink one first in any of your organizations.
Everything else stays separate. Conversations, contacts, templates, broadcasts, labels, AI agents, integrations and API keys belong to the organization they were created in, and a teammate sees only the organizations they are a member of.
## What it costs
| | Cost |
| --- | --- |
| Creating a client organization | Free |
| Every owner of the agency organization, in each client organization | Free |
| One seat in each client organization, for the client's admin | Free |
| Each other teammate, in any of your organizations | $12 a month |
| Contacts above your Agency tier, across all your organizations | $13 for each extra 100 |
| WhatsApp numbers, up to 100 in total | Included |
Everything is billed on the agency's one subscription and one invoice. The seats of all your organizations add up on one seat line. Meta bills its own conversation fees. See [team seats](/features/team-seats) and [plans](/features/plans-bulk-message-pro-agency) for how seats and overage are charged.
## How the client's admin gets access
When you enter the client admin email, Whatsable emails that person an invitation to the new client organization, with the **Admin** role. They open the link and accept. The invitation uses the organization's free seat, so accepting it charges nothing.
The client's admin belongs to that client organization only. They do not see the agency organization or your other clients, unless you invite them there too. As an Admin, they can invite their own teammates. Each teammate beyond the free seat is a paid seat on the agency's subscription.
## What the client's admin sees on Billing
In a client organization, **Settings → Billing** shows an Owner or Admin who is not an owner of the agency organization one notice: "This organization's plan is managed by your agency". It shows no plan card, no usage meter and no **Manage billing** button. The client's admin sees this notice. The agency's owners see the plan as usual.
A teammate with the **Member** role cannot read the plan in any organization, so in a client organization they see the same read-only Billing page they would see anywhere else, not the notice.
## If your agency leaves Agency
- **From the app, the plan stays on Agency while you have client organizations.** A plan change to Pro or Bulk Message, from any of your organizations, is refused with the number of client organizations. Contact support to move them first.
- **A client organization cannot start its own checkout.** Its plan is the agency's.
- **If the plan leaves Agency anyway**, for example after a cancellation, the client organizations lock, as an unpaid organization does, and their contacts stop counting on your card. Moving the agency back to Agency opens them again.
Moving a client organization onto its own subscription, handing it over to your client, or deleting it is done by Whatsable support.
## How client organizations work with other features
### Team roles
Roles work the same in every organization. See [team roles and access](/features/team-roles). An owner of the agency organization is an owner of every client organization created after they became one. An owner added to the agency later is not an owner of the existing clients; ask support to add them.
### The API and the MCP server
Each API key belongs to one organization. Create a key in each client organization that needs one, on its **API keys** page in the sidebar. A Zapier, Make or n8n connection uses one key, so it acts for one organization. The same is true of an AI app connected through the MCP server. There is no API call that creates an organization. `GET /v1/me` reports the shared contact limit. See [API keys](/features/api-keys).
### Integrations and AI agents
Each client organization connects its own integrations, such as Pipedrive, monday.com, Attio, Make, Zapier, n8n and webhooks, and has its own AI agents. Every Agency feature is open in each client organization.
### WhatsApp numbers
Each organization connects its own numbers, in **Settings → Business Numbers**. When your organizations hold more than 100 numbers between them, the numbers connected last are over plan: they keep receiving messages but cannot send. See [business numbers](/features/business-numbers).
## FAQ
### Does a client organization cost extra?
No. Creating one is free. You pay only for paid seats ($12 a month each) and for contacts above your Agency tier ($13 per 100), on the agency's one subscription.
### Do my clients share contacts with each other?
The limit is shared, not the contacts. Each organization keeps its own contacts and conversations. Only the count is added up against your Agency tier.
### How many client organizations can I create?
Up to 99, so that your agency has at most 100 organizations, the agency organization included.
### Can my client see my other clients?
No. The client's admin is a member of their own organization only.
### Can a client organization have its own plan?
Not from the app. A client organization uses the agency's plan. Ask support to move one onto its own subscription.
## Related
- [Plans](/features/plans-bulk-message-pro-agency):
Bulk Message, Pro and Agency, and what each plan includes.
- [Team seats](/features/team-seats):
What a seat costs and when it is charged.
- [Manage your plan and billing](/features/billing):
The Billing page, plan changes and the billing portal.
- [Team roles and access](/features/team-roles):
Owner, Admin and Member.
Source: /features/client-organizations
# Connect WhatsApp Business to Whatsable (Embedded Signup + Coexistence)
> Connect your WhatsApp Business number to WhatsAble with Meta Embedded Signup. Keep the WhatsApp Business app on your phone. Meta Coexistence keeps both working on the same number.
# Connect WhatsApp Business to WhatsAble (Embedded Signup + Coexistence)
Keep the WhatsApp Business app on your phone and add WhatsAble on the same number. Meta calls this **Coexistence**. This guide tells you what Coexistence means, what to check before you start Embedded Signup, how the signup goes, and what changes after you connect.
## What Coexistence means
Meta Coexistence lets one WhatsApp number work in two places at the same time: the **WhatsApp Business app** on your phone, and **WhatsAble**.
- You keep the WhatsApp Business app installed and you can continue to use it. You do not remove it to connect to WhatsAble.
- Messages sync **in both directions**. A reply that you type on your phone shows in WhatsAble, and a message that you send from WhatsAble shows on your phone.
- At the QR / Coexistence step, Meta asks if you want to **share chat history**. Meta can label it **"From last 6 months"**. If you share it, WhatsAble imports approximately the **last 6 months** of your **1:1** chats (about 180 days), as Meta's documentation says.
- **Groups**, **Status** and **Calls** stay in the WhatsApp Business app. WhatsAble does **not** get them, whatever you choose at the chat history step.
- You can skip the chat history. Then only new messages sync from that point.
> [!WARNING]
>
> Do not uninstall the WhatsApp Business app after you connect. Coexistence needs the app to stay installed on that number.
## Before you start
> [!TIP]
>
> A **Meta Business Portfolio**. Embedded Signup needs a Business Portfolio, not a personal Facebook profile. You can create one during the signup, but it is faster to have one ready. For the website field, use your business website. If you do not have one, an Instagram or Facebook page URL also works.
> [!TIP]
>
> A phone number with **some recent activity**. Coexistence can fail on a new number that nobody used. The number must also be registered on the **WhatsApp Business app**, not on the consumer WhatsApp app.
> [!TIP]
>
> Make sure that your number's country is not restricted. See [country restrictions](#country-restrictions) below.
### Country restrictions
Meta does not support new WhatsApp Business Platform connections from **Iran, Cuba, North Korea, Syria**, and **some regions of Ukraine**. A number that is registered in one of these places cannot connect. Use a different number outside those restrictions.
### If an unofficial WhatsApp tool already uses this number
Coexistence replaces any **unofficial (non-Meta) API tool** that runs on the number. When Coexistence is active, those unofficial tools stop working on that number. This is expected.
### Pricing
The phone number itself is **free**. Meta does not charge for it. You pay for your WhatsAble plan, and WhatsAble passes Meta's conversation costs through at **0% markup**. See [pricing](https://whatsable.app/pricing) for the current plans.
Your plan includes a number of WhatsApp numbers. Before Meta's signup opens, **Settings → Business Numbers** shows how many numbers your plan includes and the monthly price of each extra number.
## Embedded Signup, step by step
**Open Business Numbers**
In WhatsAble, open [**Settings → Business Numbers**](https://console.whatsable.app/settings/numbers). A new account can also start from [**Get started**](https://console.whatsable.app/get-started).
**Start the signup**
Select **Connect WhatsApp**. On **Get started**, the button is **Connect your WhatsApp number**. Meta's Embedded Signup opens in a popup.
**Log in with Facebook**
Log in with the Facebook account that manages your Meta Business Portfolio.
**Pick or create your Business Portfolio**
Select the Meta Business Portfolio of this number, or create one.
**Pick or create a WhatsApp Business Account**
Choose an existing WhatsApp Business Account, or let Meta create a new one.
**Add your phone number**
Enter the number that you want to connect. If the number is already active in the WhatsApp Business app, Meta offers Coexistence instead of a new registration.
**Scan the QR code and choose Coexistence**
Confirm that you want to keep the number in the WhatsApp Business app. When Meta asks about your chat history, choose **share chat history** (Meta can show this as **"From last 6 months"**). Groups, Status and Calls stay in the WhatsApp Business app in all cases. If you skip this step, only new messages sync.
**Finish verification**
Complete the verification that Meta asks for, such as business verification or a payment method. Then wait for the confirmation.
> [!NOTE]
>
> Meta registers a Coexistence number during the signup. WhatsAble does not ask you for a two-step PIN for it.
## After you connect
- If your Meta Business Portfolio is already verified, you can usually send your first message after about **20 minutes**.
- The number shows in **Settings → Business Numbers**. WhatsAble also imports the templates of your WhatsApp Business Account.
- If you shared your chat history, the **History** column on **Business Numbers** shows the import. It starts with **Getting your chats from WhatsApp**. At the end, it shows **Imported** with the number of messages and contacts.
- Imported chats show in the inbox. They do not start your AI agent or your automations, so your customers do not get replies to old messages.
- If the import stops, the row shows **This import stopped before it finished.** Select **Try again**, or contact support.
- Both sides stay live. You can reply from the WhatsApp Business app, and send and receive in WhatsAble, at the same time.
- An unofficial API tool that used this number stops working when Coexistence starts.
- Replies that you type in the WhatsApp Business app also reach your automations. See [Phone replies in the WhatsApp Business app still hit your webhook](/api-reference/legacy/outbound-whatsapp-app).
## Limits
- **Meta sets the throughput, not WhatsAble.** Meta limits the number of messages per second on the Cloud API for each connected number. WhatsAble cannot change or increase this limit. Every Cloud API number gets the same limit from Meta.
- **Meta sets the country restrictions, not WhatsAble.** Numbers that are registered in Iran, Cuba, North Korea, Syria or some regions of Ukraine cannot complete Embedded Signup.
- **Each number connects on its own.** Coexistence and the connection apply to one number at a time. To add another number, run the signup again.
- **Meta shares the chat history one time.** You choose at the QR step. To change the choice later, you must disconnect and connect the number again.
## Troubleshoot
Status is stuck on Pending or shows as not Registered
Run Embedded Signup again from **Settings → Business Numbers**, with the same number. That clears it most of the time. If it's still stuck after a second attempt, [contact support](mailto:team@whatsable.app).
Embedded Signup fails with a vague error
Messages like *"temporarily prevented..."* or a generic *"An error occurred. Please try again."* don't say what actually went wrong. To see more detail, go to `business.facebook.com`, open **Settings** (bottom left), then **WhatsApp**, and check your **WhatsApp Accounts**. Click the small white arrow next to **Add** (not the Add button itself), then choose **Add WhatsApp Business App**. That path on Meta's side usually surfaces the real error Embedded Signup was hiding, often a Business Portfolio mismatch or a partner lock (see the two items below). It doesn't always spell out which portfolio is the problem, so you may still need to check your portfolios by hand.
Your Instagram or Facebook page sits on a different Business Portfolio
If the Instagram or Facebook page tied to your account belongs to a different Meta Business Portfolio than the one you're using for WhatsApp, Embedded Signup can fail without a clear reason. Connect using the Business Portfolio that actually owns that page, or move the page into the right portfolio first.
Number is already connected to a partner, or Meta says it's not eligible
If this number was previously set up through another Meta Business Partner (BSP), that partner link can block Embedded Signup. Go to `business.facebook.com`, then **Settings**, then **WhatsApp**, then the **Partners** tab. Remove the partner tied to this number and wait a few minutes before retrying. While you're there, also confirm you're using the right Business Portfolio and that Business verification isn't the actual holdup.
Coexistence isn't offered for my number
Confirm the number is registered on the WhatsApp Business app (not the consumer WhatsApp app) and has some recent activity. A brand-new number sometimes needs a day or two of normal use before Meta offers Coexistence.
Verification failed or got stuck
Wait 24 hours and try again with the same number, or try the other verification method (SMS vs. call). Don't uninstall the WhatsApp Business app while you retry.
My number's country isn't supported
Meta doesn't support new WhatsApp Business Platform connections from Iran, Cuba, North Korea, Syria, or some regions of Ukraine. [Contact support](mailto:team@whatsable.app) to talk through options.
Something went wrong mid-signup and I want to start over
A full reset touches your Meta Business Portfolio and WhatsApp Business Account configuration. [Contact support](mailto:team@whatsable.app) rather than trying to undo it yourself.
## Related
- [Phone replies still hit your webhook](/api-reference/legacy/outbound-whatsapp-app):
Coexistence means WhatsApp Business app replies keep flowing to your automation. See the exact fields to filter on.
- [Pricing](https://whatsable.app/pricing):
The phone number is free. See the current WhatsAble plans.
- [Start your free trial](https://console.whatsable.app/sign-up):
Create a WhatsAble account and connect your WhatsApp number.
- [Need help?](mailto:support@whatsable.app):
Our support team can help with Embedded Signup, Coexistence, and connection issues.
Source: /features/connect-whatsapp
# Embedding Process
> Connect your WhatsApp Business Account to WhatsAble with Meta's Embedded Signup. Meta WhatsApp Coexistence is supported, so you can keep the WhatsApp Business app on your phone.
# WhatsApp Business Account Integration
*Connect your WhatsApp Business account to WhatsAble*
## Overview
WhatsAble sends and receives WhatsApp messages through your own number on the WhatsApp Business Platform (Meta's Cloud API). Before the inbox, broadcasts, the AI agent, the integrations or the API can work, you connect one WhatsApp number. Nothing in WhatsAble sends until one number is live.
This guide connects your WhatsApp Business Account to WhatsAble with Meta's Embedded Signup. Embedded Signup is Meta's own signup window. It opens inside WhatsAble, and it creates or connects your WhatsApp Business Account in a few steps.
## Prerequisites
> [!TIP]
>
> A WhatsAble account. [Create one at console.whatsable.app/sign-up](https://console.whatsable.app/sign-up). You do not need a paid plan to connect a number.
> [!TIP]
>
> A Meta Business Portfolio, or the intention to create one during the signup.
> [!TIP]
>
> A business phone number that can receive a verification code by SMS or by phone call. If the number already runs in the **WhatsApp Business app**, keep the app. WhatsAble supports Meta WhatsApp Coexistence.
> [!TIP]
>
> You are an owner or an admin of the WhatsAble account. Only owners and admins can open **Business Numbers**.
## WhatsApp Coexistence
> [!NOTE]
>
> **Meta WhatsApp Coexistence is supported on Whatsable.** You do **not** need to delete the WhatsApp Business app or stop using the number on your phone. After Embedded Signup, the same number works in the WhatsApp Business app, the Whatsable inbox, and automations (Make, Zapier, n8n, API, and webhooks) at the same time.
You can connect a number that is **already active** in the WhatsApp Business app. After Embedded Signup:
- You continue to chat with customers from the WhatsApp Business app on your phone.
- Your team uses the WhatsAble inbox in the browser.
- You send and receive through Make, Zapier, n8n, the API, and [webhooks](/api-reference/legacy/incoming-message).
WhatsAble delivers the messages that you type in the WhatsApp Business app to your webhook. See `incoming_message`, `send_by` and `was_message_by_human` in the [message webhook payload](/api-reference/legacy/incoming-message).
> [!NOTE]
>
> Coexistence works on every WhatsAble plan that connects a number through Embedded Signup. It does not depend on one integration. WhatsAble's own support number also runs on Coexistence.
> [!WARNING]
>
> Coexistence applies to the **WhatsApp Business app** (the business client). If the number is registered on the consumer WhatsApp app, move it to WhatsApp Business or use a different number. You do **not** delete the WhatsApp Business app to work with WhatsAble.
For the full Coexistence guide, see [Connect WhatsApp Business to WhatsAble (Embedded Signup + Coexistence)](/features/connect-whatsapp).
## Integration Process
**Open the connection page**
1. Log in to WhatsAble at [console.whatsable.app](https://console.whatsable.app/sign-in).
2. Open [**Settings → Business Numbers**](https://console.whatsable.app/settings/numbers).
3. Select **Connect WhatsApp**.
> [!TIP]
>
> A new account can also start from [**Get started**](https://console.whatsable.app/get-started). There, the button is **Connect your WhatsApp number**. The **Setup checklist** on the same page tracks the next steps.
**Connect with Facebook**
1. Log in with your Facebook account when Meta asks.
2. If you are already logged in, select **Continue as \[your Facebook username\]**.
3. Read the permissions that Meta lists.
4. Select **Get Started** to begin the configuration.
**Complete the configuration in Meta's window**
Step 1: Business Information
**Business Portfolio** `dropdown` (required)
Select an existing business portfolio or create a new one
Create a business portfolio
If you create a new business portfolio, fill in the required fields:
**Business Name** `string` (required)
Your official business name (it must be unique among your portfolios)
**Business Email Address** `string` (required)
A valid email address that can receive verification messages
**Business Website or Profile** `string` (required)
Your business website URL or social media profile
**Country** `string` (required)
The country where your business is located
Existing Portfolios
Choose a business portfolio that you already configured in Meta Business Suite.
> [!NOTE]
>
> See how to [create a business portfolio in Meta Business Suite and Business Manager.](https://www.facebook.com/business/help/1710077379203657)
>
> If you select an existing portfolio, Meta fills in your business name, website and country from your Meta Business configuration.
Step 2: Select WhatsApp Business Account
**WhatsApp Business Account** `radio` (required)
Select whether to create a new account or use an existing one
**Create new account** `option`
**Recommended** for first-time users (default option)
**Select existing account** `option`
Only available if you have existing WhatsApp Business accounts
**WhatsApp Business Profile** `radio` (required)
Select whether to create a new profile or use an existing one
**Create new profile** `option`
**Recommended** for first-time users (default option)
**Select existing profile** `option`
Only available if you connect an existing WhatsApp Business profile
Step 3: Business Profile Setup
**WhatsApp Business Account Name** `string` (required)
The internal name of your account (used for management)
**WhatsApp Business Display Name** `string` (required)
The name your customers see when they receive messages from your business
> [!WARNING]
>
> Your customers see this name on every message. Choose it carefully, because it affects how customers recognize your brand.
**Category** `dropdown` (required)
The business category that best represents your industry (shown on your profile)
Step 4: Phone Number Configuration
**Phone Number Method** `radio` (required)
Choose how to add your phone number
**Add a new number (Recommended)** `option`
Use your own business phone number
**Free WhatsApp number (Not Recommended)** `option`
WhatsApp generates a \+1 555 number (limited functionality)
**Verification Method** `radio` (required)
Choose how to receive your verification code
**Text message** `option`
Receive the verification code by SMS
**Phone call** `option`
Receive the verification code by an automated call
If the number is already in your WhatsApp Business app, Meta offers Coexistence here. Then you scan a QR code with the app instead of a verification code.
Step 5: Number Verification
Enter the verification code that you received by the method you selected.
Step 6: Payment Method Setup
1. After the verification, Meta shows the "You're now ready to chat with people on WhatsApp" screen.
2. Select the **Add Payment Method** button.
3. Meta opens the Facebook Business "Billing & Payments" page.
4. Select "Payment Methods" in the left menu.
5. Make sure that you are on the "WhatsApp Business accounts" tab.
6. Select your WhatsApp account in the dropdown. Check the WhatsApp account ID.
7. Select "Add Payment Method" and fill in the required information.
8. Set your payment method as the default option.
**Check the connection in WhatsAble**
When Meta's window closes, WhatsAble finishes the connection. WhatsAble also imports the templates of your WhatsApp Business Account in the same step.
- The number shows in **Settings → Business Numbers**, with the state that Meta reports for it.
- For a new number, WhatsAble shows the number's **two-step PIN** one time. Save it. WhatsAble does not show it again.
- If WhatsApp did not complete the registration, WhatsAble tells you that the number cannot send yet. If a six-digit two-step PIN is already set on the number, enter it in **Two-step PIN** and select **Retry registration**.
**Complete Business Verification**
> [!WARNING]
>
> This step is important to send messages without restrictions. An unverified business can have limited functionality.
1. Open Settings in your Facebook Business Manager.
2. Select "WhatsApp accounts" in the "Accounts" section.
3. Scroll down to the "Business verification" section.
4. Select "Start verification" to open the Security Center.
5. Complete the business verification. Give the business information and documents that Meta asks for.
## What you can do next
After the connection, these pages of WhatsAble use your number:
- [Business Numbers](https://console.whatsable.app/settings/numbers):
See every connected number, the state that Meta reports, and connect another number
- [New template](https://console.whatsable.app/templates/new):
Write a message template and submit it to Meta for review
- [Templates](https://console.whatsable.app/templates):
See your templates and the status of each Meta review
## Integration Options
After you connect your WhatsApp Business Account, you can connect WhatsAble to your automation platform:
Make Integration
Connect WhatsAble with Make to build automation workflows.
[View Make Documentation →](/integration/make)
Zapier Integration
Connect WhatsApp messages to thousands of applications with Zapier.
[View Zapier Documentation →](/integration/zapier)
n8n Integration
Use n8n for advanced workflow automation with WhatsApp messages.
[View n8n Documentation →](/integration/n8n)
Direct API Integration
Build your own integration with the WhatsAble API. Create an API key in [**API keys**](https://console.whatsable.app/settings/api-keys).
[Open the API v1 reference →](/api-reference/v1)
## API Reference
- [List templates](/api-reference/v1/templates/list-templates):
Get your message templates and their review status
- [Send a message](/api-reference/v1/messages/send-message):
Send a message with one of your approved templates
- [Message webhooks](/api-reference/legacy/incoming-message):
Incoming and outgoing messages, including replies typed in the WhatsApp Business app
- [Open the API v1 reference](/api-reference/v1):
Every API operation, with its parameters, its responses and a request to copy
## Alternative Option: Notifier
> [!NOTE]
>
> If the embedding process is too complex for your needs, you can use Notifier by Whatsable instead, which allows you to send automated messages through our WhatsApp bot without going through the full embedding process.
- [Learn More About Notifier](/integration/zapier):
Discover a simpler way to send automated WhatsApp messages using Notifier by Whatsable
## Troubleshooting
Verification Failed
If the verification of your phone number fails:
1. You do **not** need to delete the WhatsApp Business app. Coexistence is supported, so continue to use that app on your phone.
2. If the number is on the **consumer** WhatsApp app (not WhatsApp Business), move it to WhatsApp Business or use a different number.
3. Wait 24 hours before you try again with the same number.
4. Try a different verification method (SMS or call).
5. Contact support if the problem continues.
Signup not finished
If Meta's window closes before the end, WhatsAble shows **Signup not finished. Pick up where you left off**. Select **Retry** to open Meta's window again. Meta keeps your progress, so you continue from the step where you stopped.
Business Verification Issues
If you have problems with the business verification:
1. Make sure that all business information is correct and agrees with your official documents.
2. Give clear, high-quality images of the documents that Meta asks for.
3. Allow 1 to 2 business days for the verification review.
4. Submit an appeal if Meta rejects the verification.
## Resources
- [Meta Business Suite](https://business.facebook.com):
Manage your Meta business profiles and portfolios
- [WhatsApp Business Platform](https://business.whatsapp.com/products/business-platform):
Learn more about the WhatsApp Business Platform
- [Embedded Signup Guide](https://developers.facebook.com/docs/whatsapp/embedded-signup):
Meta's official documentation about Embedded Signup
## Need help?
Our support team can help you:
- [Email support](mailto:team@whatsable.app):
Contact [team@whatsable.app](mailto:team@whatsable.app)
- [Schedule a demo](https://tidycal.com/axelmeta/whatsapp-notifications-by-whatsable):
Book a personal walkthrough
- [WhatsApp support](https://wa.me/33767936656):
Send us a message on WhatsApp
Source: /features/embedding
# Error Handling
> Handle Whatsable API v1 errors: read the error body, decide whether to retry, and retry safely with Idempotency-Key.
Every Whatsable API v1 error has the same body, and every code is listed with its fix on [API v1 errors](/api/errors). This page shows how to act on an error in your code.
## Read the error body
A `4xx` or `5xx` response looks like this:
```json
{
"error": {
"type": "permission",
"code": "insufficient_scope",
"title": "...",
"message": "...",
"how_to_fix": "...",
"owner": "caller",
"retryable": false,
"docs_url": "https://docs.whatsable.app/api/errors#insufficient_scope",
"request_id": "..."
}
}
```
- **Branch on `code`.** It is stable. The `title`, `message` and `how_to_fix` are for people, and their wording can change.
- **`retryable`** says whether the same request can succeed later without a change.
- **`owner`** says who must act: `caller` (you change the request or the account), `whatsable`, or `meta`.
- **`request_id`** identifies the request. Give it to support when you ask about one.
The [API v1 overview](/api-reference/v1#errors) explains every field.
## A send can fail with 201
A send that Whatsable recorded answers `201 Created`, even when WhatsApp refused the message. Always read `status` in the body:
- `status: "sent"`: WhatsApp accepted the message.
- `status: "failed"`: read `error`. It has the same `code`, `retryable` and `how_to_fix` fields as an error response.
## When to retry
| What you got | What to do |
|---|---|
| `429 rate_limited` | Wait the seconds in the `Retry-After` header, then retry. See [rate limits](/features/rate-limits). |
| An error with `retryable: true` | Retry later, with a growing delay between attempts. |
| An error with `retryable: false` | Do not retry. Fix the cause that `how_to_fix` names, or show it to the person who can. |
| `201` with `status: "failed"` and `retryable: true` | Send again later with a **new** `Idempotency-Key`. |
| `201` with `status: "failed"` and `retryable: false` | Do not send it again. |
## Retry safely with Idempotency-Key
Send an `Idempotency-Key` header on every `POST` that creates something, such as a send. Use a new key for each new message, and the same key for each retry of it. The API remembers a key for 24 hours.
- A `4xx` or a `503` is not stored. Fix the request if needed and retry with the same key. The retry runs.
- A `2xx` or a `500` is stored, because the message may already have gone out. A retry with the same key returns the stored answer and never sends twice.
- The same key with a different body gets `409 idempotency_key_reused`.
## Example
```javascript
async function sendTemplate(apiKey, idempotencyKey) {
const response = await fetch('https://api.whatsable.app/v1/messages', {
method: 'POST',
headers: {
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
'Idempotency-Key': idempotencyKey,
},
body: JSON.stringify({
to: '+15551234567',
type: 'template',
template: { name: 'order_update', language: 'en', variables: { 1: 'Ana', 2: '#1042' } },
}),
});
const body = await response.json();
if (!response.ok) {
const { code, retryable, how_to_fix } = body.error;
if (response.status === 429) {
const waitSeconds = Number(response.headers.get('Retry-After') ?? 1);
return { retryAfterSeconds: waitSeconds };
}
return { failed: code, retryable, howToFix: how_to_fix };
}
if (body.status === 'failed') {
return { failed: body.error.code, retryable: body.error.retryable, howToFix: body.error.how_to_fix };
}
return { messageId: body.id };
}
```
The template's variable names come from [Read a template](/api-reference/v1/templates/get-template). The full request is on [Send a message](/api-reference/v1/messages/send-message).
Source: /features/error-handling
# Get started with Whatsable
> Create a Whatsable account, answer the setup questions, choose a plan or stay free, and follow the Get started checklist to connect WhatsApp. Also covers password reset, joining a team from an invitation, and the app language.
This page takes you from a new account to a connected WhatsApp number. It also explains how to reset your password, how a teammate joins your team, and how to change the language of the app.
## Create your account
**Open the sign-up page**
Go to [console.whatsable.app/sign-up](https://console.whatsable.app/sign-up).
**Fill in the form**
Enter your **Name**, your **Work email** and a **Password** of at least 8 characters. The strength meter suggests mixed case letters, a number and a special character.
**Your WhatsApp number** is optional. Our team uses it to offer free setup help. It is not the number you connect to Whatsable.
**Accept the terms**
Tick the box to accept the Terms of Service, the Privacy Policy and Meta's WhatsApp terms, then select **Create account**.
If an account already exists for your email, the form says so and offers **Sign in instead**.
## Answer the setup questions
After sign-up, Whatsable asks a few short questions. Your answers decide what it prepares for you. The bar at the top shows your step, and **Back** returns to the previous question. If you close the window, the next sign-in takes you back to the question you stopped on.
1. **Website.** Add your website and select **Analyze**. Whatsable reads the public pages to draft your first AI agent. Nothing is posted or changed on your site. You can continue without a website.
2. **Role.** What you do at the company.
3. **Goals.** What you want Whatsable to do, such as replying to Facebook and Instagram leads, sending appointment reminders, letting an AI agent answer, or connecting your CRM.
4. **Volume.** About how many people you talk to each month.
5. **Expertise.** How comfortable you are with automation tools.
6. **Tools.** The tools you already use, such as Zapier, Make, n8n, Pipedrive or monday.com.
7. **Source.** How you found us.
You can skip goals, volume, expertise, tools and source with **Skip this**. Role needs an answer.
Then Whatsable creates your workspace. This takes a few seconds.
## Choose a plan, or stay free
The **Choose a plan** screen opens on Pro, or on Agency if you chose **Agency or freelancer** as your role. Move the slider to the number of people you message each month, and switch between **Bulk Message**, **Pro** and **Agency**.
- **Pro** offers **Start 7-day free trial**.
- **Bulk Message** and **Agency** start with **Choose Bulk Message** or **Choose Agency**.
- **Continue free with 2 contacts. No card needed.** keeps you on the free plan.
The free plan has the features of Pro and includes two WhatsApp numbers. You can message two contacts. To message a third person, choose a plan. Replies to people you already reached still send. You can choose or change a plan later in **Settings → Billing**. Prices and limits are on [Plans: Bulk Message, Pro and Agency](/features/plans-bulk-message-pro-agency), and the billing screen is explained in [Billing](/features/billing).
> [!NOTE]
>
> Bulk Message only sends campaigns. It has no shared inbox, automations or AI agent.
## Follow the Get started checklist
Next you land on **Get started**, a four-step checklist. It stays in the sidebar, so you can come back to it at any time.
**Connect WhatsApp**
Select **Connect your WhatsApp number**. Meta's signup opens in a popup. Bring a Meta Business account and a number that can receive a verification code. You can keep using the WhatsApp Business app on the same number. See [Connect WhatsApp Business to Whatsable](/features/connect-whatsapp) and [Embedding Process](/features/embedding).
Once the number is connected, you can **Send yourself a test**: enter a phone number and select **Send the sample** to receive a sample template on WhatsApp. To connect later, select **Skip for now. I will connect later**.
**Connect tools**
Connect the tools you use, such as Make, Zapier, n8n, Pipedrive, monday.com, Attio or the API. Each tool has its own guide, listed in the [Introduction](/introduction). This step is optional.
**Create AI bot**
Create an AI agent that answers on WhatsApp and follows up when a lead goes quiet. On the free plan, Pro and Agency, your first agent is already drafted, unless you skipped the setup questions or cleared the assistant box. If you added your website, the draft uses what Whatsable read there. Find it on the **AI agents** page. It stays off until you review it and turn it on. AI agents need Pro, Agency or the free plan. See [Create an AI agent](/features/ai-chatbot/create-an-agent).
**You're live**
Your workspace is ready. Select **Open the inbox** or **Open broadcasts** to start.
When you open the inbox, templates, broadcasts, AI agents or integrations for the first time, a short tip explains what the page is for. Select **Got it** to close it.
To connect more numbers, or to see the numbers you have, go to [Business numbers](/features/business-numbers).
## Reset your password
**Ask for a reset link**
On the [sign-in page](https://console.whatsable.app/sign-in), select **Forgot password?**. Enter your email and select **Send reset link**.
**Open the email**
If an account exists for that email, you receive a link. It can take a minute to arrive. If nothing arrives, check your spam folder or select **Resend link**.
**Set a new password**
The link opens **Set a new password**. Enter it and select **Save password**, then sign in with the new password.
If the page says the reset link is missing or invalid, select **Request a new link**.
## Join a team from an invitation
When a team invites you to Whatsable, you receive an email with a link. The link opens **Accept invitation**.
- New to Whatsable: stay on **Create account**, enter your name and a password, and select **Create account and join**.
- Already have an account: open **I already have an account**, enter your password, and select **Sign in and join**.
- Already signed in: select **Accept invitation** to join with your current account.
You go straight to the inbox. An invited teammate does not answer the setup questions. If joining fails because of the team's billing, ask the team owner to check it. Roles and seats are explained in [Team roles](/features/team-roles) and [Team seats](/features/team-seats).
## Choose the app language
Whatsable is available in eight languages: English, Español, Português, Français, Deutsch, Italiano, العربية (Arabic) and עברית (Hebrew). Arabic and Hebrew read right to left.
- **Your own language.** Open your profile menu at the bottom of the sidebar and choose **Language**. It applies to you, in the browser you use.
- **The organization language.** Go to **Settings → Organization** and set **Organization language**. It is the language Whatsable shows when a member's browser asks first for a language we do not offer, and the language of the prompts Whatsable writes for you. A browser language we offer stays. Only owners and admins can change it.
Source: /features/get-started
# Work a conversation in the inbox
> Search and filter the inbox, reply with quotes, files, voice notes and saved replies, schedule messages with conditions, write notes, and use the contact panel.
This page covers what you do inside the **Inbox** every day. For who sees what and how the inbox fits your team, start with [Shared Team Inbox](/features/team-inbox). The inbox is on Pro, Agency and the free plan.
## The conversation list
- **Search**: the box at the top, **Search name, number or message**, searches every conversation on the server, not only the ones loaded on screen. It matches the contact's name, username and number, and the preview of the last message. It does not search the whole message history. More conversations load as you scroll.
- **All**, **Unread** and **Open**: **Open** shows conversations whose 24-hour window is still open, so you can reply freely.
- **Figures to check**: conversations where an AI agent sent a figure nobody has checked yet, with how many there are. Those conversations also carry a **Figure to check** badge in the list. See [Check a figure the agent wrote](#check-a-figure-the-agent-wrote).
- **Labels**: pick one or more labels to show conversations whose contact carries any of them. Each label shows how many conversations it holds. Switch **Label count** between **Unread** and **Total**. Labels made from ads are listed apart, under **Ads**. See [Labels](/features/labels).
- **Number filter**: with more than one number, choose **All numbers** or one number.
- **Mark as unread** or **Mark as read**: in the menu on each row.
### Export conversations
Owners and admins can download conversations as a CSV file from the download button above the list:
- **Export current view (CSV)**: the conversations that match your number, labels, filter and search.
- **Export all conversations (CSV)**: every conversation in your organization.
## The thread
The bar above the thread shows the 24-hour window, for example "Session open · 3h 20m left". WhatsApp lets you send free-form messages only within 24 hours of the customer's last message. When the window has closed, or the customer has never written, the composer offers approved templates only. A warning appears a few minutes before the window closes.
Each message you send shows who sent it: your teammate's name, **Agent**, **Follow-up**, **Broadcast**, **API**, or **WhatsApp App** for a reply typed on the phone. A message that failed shows **Could not send this message** with the WhatsApp error code.
What else the thread shows:
- **Chats from ads.** A conversation that started from a Facebook or Instagram ad or post carries an **Ad** badge in the list and the thread header. Its first message shows a card with the ad's image and headline, and **View ad** opens the ad.
- **Button taps.** When a customer taps a button on your message, the thread shows the option they chose.
- **Template header files.** Before you send a template with an image, video or document header, the composer says the file the template was approved with will be sent. Choose **Use a different file** to send a file from a public `https` link instead. After the send, the message says which file went out.
- **Voice messages** play in the thread, with playback speed. Voice messages from customers show a transcript.
- **Attachments** open in a viewer. Use the arrow keys to move between them.
- **AI decisions.** When an AI agent acts on a conversation, a row in the thread says what it did, such as **Handed to a person** or **Chose not to reply**, and why. Rate a decision with a thumbs up or down. A thumbs down can become a suggested change to the agent: see [Bot configuration](/features/ai-chatbot/configuration).
## Check a figure the agent wrote
Before an AI agent's message goes out, Whatsable checks each price, discount, date or quantity in it against the agent's knowledge, its instructions and what the customer wrote. A figure it cannot find is flagged. The message is still sent: the customer always gets the answer.
Under a flagged message, a warning names the figure, for example "**$41.400** is not in the agent's knowledge or this conversation. The agent may have calculated it or made it up." Most flagged figures are right, such as a total the agent added up from your prices.
1. Check the figure against your prices or records.
2. If it is wrong, write to the customer with the right figure.
3. Click **Mark as checked**. The warning becomes "Figure checked by" your name and the time, and the **Figure to check** badge leaves the conversation once every figure in it is checked.
Anyone who can open the conversation can mark it, including a Member limited to some labels or numbers, and even after the 24-hour window has closed. Every teammate with the conversation open sees the change at once. The inboxes embedded in Pipedrive and in a monday.com board show the same warning, without **Mark as checked**: you mark figures as checked in the WhatsAble inbox. **Why am I seeing this?** opens a short explanation inside the warning, with a link to [Unverified figures](/features/ai-chatbot/configuration#unverified-figures), which explains what counts as known and how to make flags rarer.
### Stop flagging figures from an agent
An Admin or an Owner can stop an agent's figures being flagged from the warning itself: tick **Stop flagging figures from** the agent's name before clicking **Mark as checked**. The figure is marked checked, a message confirms that the agent will no longer flag figures, and the box disappears from that agent's other warnings in the conversation, which now say "Flagging is off for" the agent. The agent keeps answering; only the warnings stop. Flags already raised stay until someone checks them.
Members see the box greyed out. To turn flagging back on, switch **Flag unverified figures** on in the agent's settings, or set `flag_unverified_figures` to `true` through the [API v1](/api-reference/v1) or the [MCP server](/mcp). See [Stop flagging figures from one agent](/features/ai-chatbot/configuration#stop-flagging-figures-from-one-agent).
The [API v1](/api-reference/v1) and the [MCP server](/mcp) show the same figures on each message (`unverified_figures`, and `figures_checked_at` once checked), so an automation that calls the API, or an AI assistant, can read them. They can also mark them as checked ([`POST /v1/messages/{id}/figures-checked`](/api-reference/v1/messages/mark-message-figures-checked), or the `mark_figures_checked` tool): the warning then names the API key or the connected AI app. Stopping an agent's flagging stays here, in the inbox, because it changes the agent's settings.
## Reply
- **Enter** sends. **Shift+Enter** starts a new line.
- **Reply to a specific message**: right-click a message and choose **Reply**, or double-click it. The composer shows "Replying to …" and the customer sees your reply quoting their message. **Remove quote** cancels it. When a customer quotes one of your messages, you see the quote too.
- **Files**: attach up to 10 files at once with the paperclip, or paste a file or screenshot from the clipboard. Images show a thumbnail before you send. Text you type goes out as the caption of the first image, video or document. Text over 1,024 characters, or text sent with audio files only, goes out as its own message after the files.
- **Voice messages**: click the microphone to record in the browser, then send. The recording is converted so it plays on the customer's phone, iPhone included.
- **Saved replies**: type `/` at the start of the box or after a space, or click **Saved replies**. The list shows the most used replies first, and filters as you type. Inserting a reply does not send it, so you can edit it first. Owners and admins create saved replies in [Automatic replies](/features/automatic-replies#saved-replies).
- **Template**: send an approved template, the only message type allowed outside the 24-hour window.
## Schedule a message
Click the clock in the composer to send the message later. Pick **In an hour**, **This evening**, **Tomorrow morning**, **Monday morning** or **Another time**. You can schedule a text or a template. A scheduled message cannot include files.
A text needs the 24-hour window to be open when you schedule it. If the window has closed by the send time, the text is not sent. To send later than the window allows, schedule a template.
Two optional conditions decide at send time whether it still goes out:
- **Send only if**: for example **No reply within 24 hours** or **Never replied to any message**. If the customer replied in time, the message is not sent.
- **Only if labels match**: **Has any of** or **Has none of** the labels you pick. Labels are matched by name, so renaming a label later does not update the condition.
> [!WARNING]
>
> If you rename or delete a label that a scheduled message's condition names, that message is not sent. This is true for **Has any of** and for **Has none of**.
Scheduled messages are listed in the contact panel, under **Scheduled messages**, where you can cancel one. A message that was not sent says why, for example "Not sent — they replied in time".
If a problem on our side stops a scheduled message at its send time, Whatsable tries again for up to 15 minutes. If it still cannot be sent, or WhatsApp refuses it, the message stays in the list as "Not sent — the send failed". Send it again from the composer. This also applies to the **Keep window open** message from [automatic replies](/features/automatic-replies).
## Notes
Switch the composer from **Reply** to **Internal note** to write to your team. A note is never sent to the customer. Notes show in the contact panel under **Internal notes**, with the author and the time.
Each contact also has two single notes, in the contact panel:
- **Contact note**: one note your team writes and edits, for what everyone should know about this person.
- **Automation note**: written by your automations in Make, Zapier or n8n. It is read-only here and shows only when an automation has written one.
The AI agent reads both notes. It treats the automation note as context only, never as an instruction, and never quotes a price or a date that appears only in a note.
## The contact panel
Open it with the button at the top right of the thread. From top to bottom:
- **Name and number.** Click the name to rename the contact. A name you set stays, even when the customer changes their WhatsApp name. Copy the number with one click.
- **Labels**: add a label with **+ Add**, remove one with its ×. A label can be limited to some numbers, and then it is offered only on those.
- **Follow-ups**: the **Follow up** switch. Off, the AI agent stops checking back with this contact when a conversation goes quiet, on every number. It still answers anything they send.
- **AI agent**: **Let the agent reply** turns the agent on or off for this conversation. **Which agent answers** picks an agent for this conversation, or **Use the number's default**. **Edit** opens that agent. Members see only **Let the agent reply**; the agent picker and **Edit** are for the owner and Admins. See [Shared Team Inbox](/features/team-inbox#hand-a-conversation-between-the-agent-and-your-team).
- **Automations**: shown when you have an [outgoing webhook](/features/webhooks) for incoming messages. **Send this chat to your automations** is **Automatic**, **Always send** or **Never send**. On **Automatic**, an endpoint with **Pause when your team replies** pauses for this chat after a teammate replies, and the panel shows until when.
- **Scheduled messages**, **Internal notes**, and the **Contact note** and **Automation note**, described above.
### One person, one conversation
A system can send to a number without its country code, such as `648734444`. WhatsApp adds the country code of the number that sends, and it tells us the full number it delivered to. When another contact already holds that full number, the message moves to that contact's conversation within seconds, and the extra contact goes away. Labels and notes move with it, and later sends to the short form from the same number go straight to that conversation. This applies to the inbox, the API, Zapier, Make, Monday and Pipedrive.
The contact stays separate when someone has replied from those digits, or when a different number of yours also sent to them. WhatsApp still decides who receives a message: to choose the country yourself, always send the full number with its country code.
## Keyboard shortcuts
Press `?` to open **Keyboard shortcuts**:
| Key | What it does |
| --- | --- |
| `J` / `K` | Move down or up the conversation list |
| `/` | Focus search |
| `U` | Mark the open conversation unread |
| `N` | Switch the composer to an internal note |
| `Enter` | Send the message |
| `Shift+Enter` | Start a new line |
| `Esc` | Close the contact panel, or clear the selection |
## From the API and AI assistants
What you do in this page, your code can do through the [API v1](/api-reference/v1#work-the-inbox), and an AI assistant can do through the [MCP server](/mcp), such as Claude or ChatGPT:
- **Search and filter.** Find a contact or a conversation by name, ignoring accents and case ("jose" finds José), and list the unread conversations, the ones waiting for an answer, the ones with an open window, figures to check, or a label. An assistant answers "who is waiting for an answer?" from the same list.
- **Reply.** Send a text, a file or a template, quote a customer's message, and use your saved replies. A reply from an AI assistant pauses the AI agent in that conversation, as a reply typed here does, and the assistant says so. A reply from the API pauses the agent only when the request asks to (`pause_ai`), so your notification automations never silence it.
- **Schedule.** Schedule a text or a template with the same two conditions, **Send only if** and **Only if labels match**. For example: "remind Maria on Friday at 10:00 with the payment reminder, but only if she has not replied".
- **Notes and unread.** Add or delete an internal note, which shows here with the API key's or the AI app's name, and mark a conversation read or unread.
Export, and the stop-flagging box, stay in the inbox. Whatsable has no "assigned to" field and no closed conversations, here or in the API.
## Related
- [Shared Team Inbox](/features/team-inbox): roles, access, handoff and Coexistence.
- [Labels](/features/labels): create labels and apply them automatically.
- [Automatic replies](/features/automatic-replies): away message, keep window open, saved replies.
- [Route chats to the right teammate](/features/chat-assignment).
Source: /features/inbox-conversations
# Labels
> Create labels in Whatsable, apply them automatically by keyword, from ads or by an AI agent, limit them to numbers, and use them to filter, route and schedule.
A label sorts your contacts: "Billing question", "Hot lead", "Spring campaign". It sits on the contact, so a person who writes to two of your numbers carries the same labels in both conversations.
## What labels do
- **Filter the inbox.** The **Labels** filter in the [inbox](/features/inbox-conversations#the-conversation-list) shows the conversations whose contact carries any label you pick, with a count for each.
- **Decide who sees a conversation.** An owner or an admin can limit a member to certain labels. That member then sees only conversations carrying one of them. See [Route chats to the right teammate](/features/chat-assignment).
- **Decide whether a scheduled message goes out.** **Only if labels match** sends a scheduled message only if the contact has, or has none of, the labels you pick.
- **Tell an AI agent what matters.** An agent you allow to use labels reads each label's name and description to decide when to apply it.
- **Export a view.** The owner and Admins can export the conversations of a label filter as a CSV file. Export is hidden for members limited to certain labels.
## Create and edit labels
Labels are in **Settings → Labels**. Owners and admins create, edit and delete them. Members add and remove existing labels on a contact in the inbox.
Click **Create label** and fill in:
- **Name**: up to 60 characters.
- **Color**.
- **Description**: optional. An AI agent granted this label reads the description to decide when to apply it, so write it as a rule, for example "Anything about invoices, refunds or payment methods."
- **Keywords**: messages that contain a keyword apply the label automatically. Up to 20 keywords per label, each 2 to 40 characters.
The list shows each label's description, keywords and how many contacts carry it. You can create up to 100 labels yourself. Labels made from ads do not count toward that limit.
Deleting a label removes it from every contact that carries it. It cannot be undone.
*Labels in Settings — label names, descriptions, keywords and contact counts*
## How labels get applied
- **By hand**, in the contact panel of a conversation: **+ Add**, or the × on a label to remove it.
- **By keyword.** A message a customer sends that contains one of the label's keywords applies the label. Matching ignores upper and lower case and accents, and looks for whole words.
- **By an AI agent.** In the agent's **Labels** settings, turn on **Let this agent add labels** (and, if you want, **Let this agent remove labels**) and choose the labels it may use. The inbox shows each label change the agent made, and you can rate it. See [Bot configuration](/features/ai-chatbot/configuration).
- **From an ad.** With **Label leads from ads automatically** on, a chat that starts from one of your Facebook or Instagram ads labels the contact with the ad's headline. Ads without a headline get no label. The switch is on by default. Turn it off and new leads from ads are not labelled; labels already on contacts stay. Ad labels show an **Ad** tag in the list and sit under **Ads** in the inbox filter.
- **By the away message.** A contact who gets your away message is labelled **Needs Review**. See [Automatic replies](/features/automatic-replies#away-message).
- **By a broadcast.** A broadcast can add labels to each recipient after their message is sent. See [Broadcasts](/features/broadcasts).
- **By your automations.** Make, Zapier, n8n and the [API](/api-reference/v1/contacts/add-contact-label) can add and remove labels.
## Limit a label to some numbers
With two or more numbers connected, the label form has a **Number** field and an **Advanced** section. Choose:
- **Only this number**: the label is offered and applied automatically on that number only.
- **All numbers**: every number, including numbers you connect later. This is the default.
- **Specific numbers**: the number above plus the others you pick.
A limited label is offered in the inbox, applied by keyword, and applied by an AI agent only on its numbers. A label already on a contact stays when you change the limit.
## Related
- [Work a conversation in the inbox](/features/inbox-conversations)
- [Route chats to the right teammate](/features/chat-assignment)
- [Shared Team Inbox](/features/team-inbox)
Source: /features/labels
# How do I create and approve WhatsApp templates in Whatsable?
> Create WhatsApp message templates in Whatsable, submit them to Meta, read their status, send a test, duplicate one to change it, and use it in broadcasts, the inbox and the API.
A message template is a message that Meta approves before you send it. You need an approved template to start a conversation, and to write to anyone who has not messaged you in the last 24 hours. Inside that 24-hour window you can reply with free-form text.
In Whatsable, templates live under **Templates** in the main menu of the app ([sign in](https://console.whatsable.app/sign-in)). You create a template, Whatsable submits it to Meta, and you can use it once Meta approves it: in a broadcast, in the inbox, through the API, or from Make, Zapier and n8n.
## Who can create templates
- **Every plan.** Templates are on **Bulk Message**, **Pro** and **Agency**, and on the free tier.
- **Every role.** An **Owner**, an **Admin** and a **Member** can all create, duplicate and delete templates. Bulk Message has one user, the owner.
- **A connected number.** A template is created for one WhatsApp Business number. With no number connected, the screen says **No business number available** and links to **Business Numbers**. See [Embedding process](/features/embedding) and [Connect WhatsApp with Coexistence](/features/connect-whatsapp).
## A sample on your first number
When you connect your first WhatsApp number and that account has no templates yet, Whatsable copies one utility template from Meta's template library onto the account. Library templates are messages Meta already wrote. If Meta returns the copy as approved, Get Started asks for a phone number and sends that sample, so you can watch a message arrive before you write your own.
The copy is listed as **Sample message**. A later number, or an account that already has templates, is left as it is. If the copy is still pending, it shows under **Templates** once Meta approves it, and you can send it from there.
## Create a template
1. Open **Templates** and click **New template**.
2. If you have more than one number, Whatsable asks **Which number is this template for?** Pick the number and click **Continue**. A template belongs to that number's WhatsApp Business Account for good.
3. Fill in the sections below. The **Submission check** panel lists what is still missing, and the preview shows the message as the customer sees it.
4. Click **Submit for review**. Whatsable sends the template to Meta.
**Save draft** keeps your work in this browser only. Reopen **New template** to continue. Another browser or another teammate does not see it.
### Basics
- **Template name**: a name you can read, such as "Order shipped". See [The template name](#the-template-name).
- **Language**: one language per template. **Other…** takes a language code such as `fr_FR`. A second language is a second template.
- **Category**: pick the one that matches the message. Meta can reject a template whose category does not fit.
| Category | Use it for |
| --- | --- |
| **Utility** | Order updates, receipts, appointment reminders. Anything the customer asked for. |
| **Marketing** | Offers, launches, re-engagement. Needs an opt-out line and recipients who opted in. |
| **Authentication** | One-time codes. Meta writes and translates the body for you. |
Name, language and category lock after Meta's review.
### Header (optional)
Choose **None**, **Text**, **Image**, **Video** or **Document**.
- **Text**: up to 60 characters, one variable at most, no emoji and no new lines.
- **Image**, **Video** or **Document**: upload a sample file. Meta reviews the sample. The real file is chosen each time you send. An image is a JPG or PNG up to 5 MB, a video an MP4 or 3GPP up to 16 MB, and a document (such as a PDF) up to 100 MB.
### Body
The body is the main text, up to 1,024 characters. **Insert variable** adds a numbered placeholder: `{{1}}`, `{{2}}`, and so on. The toolbar adds bold, italic, strikethrough and emoji.
Meta's rules, which the editor checks as you type:
- The body starts with fixed text, not a variable.
- The body ends with fixed text, not a variable.
- Two variables never sit next to each other.
- Variables are numbered 1, 2, 3 with no gaps.
Example: `Hi {{1}}, your order {{2}} has shipped.`
Under **Samples for review**, give each variable a sample that reads as real data, such as "Nadia" or "A-4821". Meta rejects templates whose samples look like "test" or "xxx". The samples are only for the reviewer. The real values are filled in when you send.
### Footer (optional)
Up to 60 characters, with no variables and no emoji. A Marketing template must say how to opt out, for example "Reply STOP to opt out".
### Buttons (optional)
Up to 10 buttons in total. Button text is at most 25 characters.
| Button | Limit | What it does |
| --- | --- | --- |
| **Quick reply** | Up to 10 | The customer's tap arrives in the inbox as a reply with this text. |
| **Visit website** | Up to 2 | Opens a link. **Static**: every recipient opens the same URL. **Dynamic**: a value is added to the end of the URL at send time. |
| **Call a number** | 1 | Starts a call. |
| **Copy offer code** | 1 | Copies a code. You give a sample code; the real code is chosen at each send. |
Button URLs must use https, must not use a link shortener, and can only carry a variable in the path or the query.
### Authentication templates
For an **Authentication** template, Meta writes the body and translates it by language. You choose the **Copy-code label**, how long the code lasts (**Code expires after**, 1 to 90 minutes), and whether to **Add security recommendation**, which adds "For your security, do not share this code."
## The template name
Each template has two names:
- **The name you type**, such as "Order shipped". This is the name you see in Whatsable. Customers never see it.
- **The name Meta uses**, which Whatsable derives from yours: lowercase, with accents removed, each run of spaces and underscores turned into one underscore, and no underscore at either end ("order_shipped"). The API and automation tools address a template by this name.
The name can use letters, numbers, spaces and underscores. Accented Latin letters are allowed. Any other character is removed as you type, and a note names what was removed. The name must start with a letter. Letters with no Latin equivalent, and non-Latin scripts, are not accepted.
Two templates cannot share the same name and language. A deleted name cannot be reused for 30 days.
## Review and status
After you submit, Whatsable shows **Sent to Meta for review**. Most templates are decided within 15 minutes; some take up to 24 hours. Submit campaign templates a day before you need them.
The **Templates** list groups templates by WhatsApp Business Account. Filter by **Approved**, **Pending** or **Rejected**, search by name or body text, or open **Preview**. **Refresh** asks Meta for the current status of every template.
- **Approved**: ready to send.
- **Pending**: Meta is still reviewing it. It cannot be sent yet.
- **Rejected**: open **Why it was rejected** to read Meta's reason, word for word, and what usually fixes it. The most common causes are the wrong category and samples that do not look like real data.
Statuses come from Meta and can change after approval. If customers block or report a template, Meta can pause it. Click **Refresh** before a large send to check that nothing was paused.
Templates that an AI agent wrote for its follow-ups are marked **Written by the agent**.
## Send a test
Send an approved template to your own WhatsApp number before a broadcast. You check the variables and the message as the recipient will read it.
On **Templates**, three places open the same dialog:
1. **Send a test** at the top of the page. You choose an approved template.
2. **Send a test** in an approved template's menu. The template is already chosen.
3. **Send a test** at the bottom of **Preview** for an approved template. Preview closes, then the dialog opens.
Pending and rejected templates do not offer **Send a test**.
Type the WhatsApp number that should receive the test, and a sample for each variable. For a header file, paste a link that starts with https://. If the template already keeps the file it was approved with, leave the link empty and Whatsable sends that file.
**Send test** sends the message. The dialog stays open and says **Test sent**. The button then reads **Send again**.
Meta bills a test the same way it bills any other template message. The price depends on the recipient's country, so the dialog does not show a cost.
The test also creates a contact and a conversation with that number. The message shows in your inbox, the same as a message you sent to a customer.
These approved templates still open the dialog, and **Send test** stays off:
- A one-time-password template.
- A coupon template.
- A template that uses a format Whatsable cannot fill, including named variables.
- A template whose account has no active number.
## Change a template: duplicate it
Whatsable has no edit button for a submitted template. To change one, copy it:
1. In the template's menu, click **Duplicate to draft**.
2. The editor opens a copy named after the original with "copy" at the end, for example "Order shipped copy". Nothing is sent until you submit.
3. Change what you need, rename it if you like, and click **Submit for review**.
What the copy leaves out:
- **The header file.** The header type stays selected; upload the file again.
- **Parts the editor cannot build**, such as carousel cards, a limited-time offer and some button types. A notice lists them.
- **Named variables** become numbered variables, in the order they appear.
The copy replaces the draft saved in this browser. If you have one, Whatsable asks first: **Keep my draft** or **Replace and duplicate**.
Once the new template is approved, delete the old one if you no longer need it.
## Delete a template
In the template's menu, click **Delete**, then **Delete template**. Deleting removes the template at Meta as well. Automations that call it by name start failing, and the name cannot be reused for 30 days.
> [!NOTE]
>
> A template that any broadcast has used cannot be deleted, even when the broadcast has finished. A broadcast keeps the template it sent, so its results stay readable. Whatsable says so and deletes nothing, at Meta or in your list. To change what such a template says, duplicate it and use the copy.
When a template's account has no connected number left, Whatsable cannot reach Meta, so **Remove locally** removes it from your list only.
## Where you use a template
- **Broadcasts**: send one approved template to a list. See [Broadcasts](/features/broadcasts).
- **Inbox**: start a conversation, or write again after the 24-hour window closes. See [Team inbox](/features/team-inbox).
- **API v1**: list templates, read the variables a send needs, and create a template. See [Create a template](/api-reference/v1/templates/create-template).
- **Automation tools**: [Make](/integration/make), [Zapier](/integration/zapier) and [n8n](/integration/n8n) send your approved templates.
A template belongs to one WhatsApp Business Account. Numbers on the same account share its templates. To send from a number on another account, submit the template again under that account.
## What a template message costs
Meta bills each delivered template message, by category and by the recipient's country. Replies inside an open 24-hour conversation are free. **Cost per message** on the Templates screen lists Meta's rates by country and category, in US dollars, with the date they were last updated. Your Whatsable plan is billed separately; see [Plans](/features/plans-bulk-message-pro-agency).
## Related
- [Broadcasts](/features/broadcasts):
Send an approved template to a list of recipients.
- [Team inbox](/features/team-inbox):
Start a conversation with a template.
- [Plans](/features/plans-bulk-message-pro-agency):
Bulk Message, Pro and Agency. Templates are on all three.
- [API v1: templates](/api-reference/v1/templates/list-templates):
List, read and create templates from your own code.
## FAQ
### Who can create a template in Whatsable?
Anyone on the team: an Owner, an Admin or a Member. Templates are on every plan. You need a connected WhatsApp Business number.
### Where do I create templates?
Under **Templates** in the main menu. Click **New template**.
### How long does Meta approval take?
Most templates are decided within 15 minutes; some take up to 24 hours. Click **Refresh** to check.
### Can I edit a template after I submit it?
Not in Whatsable. Use **Duplicate to draft**, change the copy, and submit it as a new template. Then delete the old one if you no longer need it.
### Why can't I find my template when I send from another number?
A template belongs to one WhatsApp Business Account. If the other number is on a different account, submit the template again for that number.
### How do I check a template before I broadcast it?
On **Templates**, click **Send a test** and send the approved template to your own WhatsApp number. Meta bills it like any other message, and it also appears as a conversation in your inbox.
### Why was my template rejected?
Open **Why it was rejected** in the template's menu. The usual causes are the wrong category (anything promotional must be Marketing) and samples that do not look like real data.
### What variables can I use?
Numbered variables, `{{1}}`, `{{2}}` and so on, in order and with no gaps. The body cannot start or end with a variable, and two variables cannot sit side by side.
Source: /features/message-templates
# How do notifications work in Whatsable?
> The Whatsable notification bell: AI handoffs, new teammates, number and account status from Meta, template reviews, contact usage, webhook failures and failed payments. Choose what your team hears about, and get alerts on your device.
Whatsable tells your team when something needs attention: a customer the AI agent handed over, a template Meta rejected, a number that stopped sending, a payment that failed. Each notice says what happened and links to the page where you fix it.
## The bell
The bell sits at the bottom of the sidebar. On a phone, open the **Notifications** tab in the bottom bar.
- A number on the bell counts your unread notices.
- Select a notice to open the page it is about. An AI handoff opens that conversation in the inbox. A template notice opens **Templates**. A number or account notice opens **Business Numbers**.
- Select **Mark all as read** to clear the count. Select **Load more** to see older notices.
- When the problem goes away, the notice shows **Resolved**. For example, a number that Meta blocks and later unblocks.
- While Whatsable is open, a new notice also pops up for a moment, with an **Open** button.
Each person has their own list. Reading a notice marks it read for you, not for your teammates.
## Who gets which notice
| Category | When it arrives | Who gets it |
| --- | --- | --- |
| **AI handoffs** | An AI agent hands a conversation to a person. The notice gives the reason the agent stated. | Everyone who can see that conversation |
| **New teammates** | Someone accepts an invitation and joins the team. | Owners and Admins |
| **Number status** | Meta blocks, disconnects or restores one of your business numbers. | Owners and Admins |
| **Account status** | Meta reviews your business, reports a policy violation, or disables or restores a WhatsApp Business Account. | Owners and Admins |
| **Template reviews** | Meta approves, rejects, pauses or disables a template, or changes its category. | Owners and Admins |
| **Contact usage** | This month's contacts reach 80% and then 100% of your plan's limit. On the free plan, when one free contact is left and when both are used. | Owners and Admins |
| **Webhook failures** | A webhook keeps failing, or is turned off because its endpoint no longer exists. | Owners and Admins |
| **Failed payments** | The charge for a seat or an invoice is declined. | Owners and Admins |
A Member limited to some numbers or labels gets an AI handoff only for conversations they can see. See [team roles and access](/features/team-roles).
## Turn a category on or off
Owners and Admins choose what the whole team hears about.
**Open the settings**
Go to **Settings → Notification settings**.
**Flip the switches**
Under **What your team hears about**, turn each category on or off. A change saves on its own.
These switches apply to everyone in the organization. A category that is off creates nothing for anyone. Turning it back on does not bring back the notices you missed.
## Get alerts on this device
Whatsable can show your computer's own alert, with sound, when a notice arrives while Whatsable is open. It works even when the tab is hidden or the window is minimized.
**Find the control**
Open the bell. The control is at the bottom of the panel, under **On this device**. It is also on **Notification settings**.
**Allow notifications**
Select **Turn on**, then allow notifications when your browser asks.
**Use the switch**
After that, **Notify me on this device** turns the alerts on and off.
- The setting is for this browser only. Each browser you use keeps its own.
- If you blocked notifications earlier, the app says "Notifications are blocked in this browser". Allow notifications for Whatsable in your browser's site settings, then come back.
- If your browser cannot show notifications, new notices still appear in the bell while Whatsable is open.
## The browser tab
While Whatsable is open, the browser tab shows how many conversations are unread, such as "(3) Whatsable". When a new message arrives, the tab shows the sender's name and the start of the message for a few seconds.
## How notifications work with other features
- **The AI agent.** An AI handoff tells your team that a customer needs a person. See [AI chatbots](/features/ai-chatbot).
- **Templates.** A template notice links to **Templates**, where you see Meta's reason and submit again. See [message templates](/features/message-templates).
- **Webhooks.** A failing or turned-off webhook links to **Webhooks**. See [outgoing webhooks](/features/webhooks).
- **Plans and seats.** Usage and payment notices link to **Billing**. See [plans](/features/plans-bulk-message-pro-agency) and [team seats](/features/team-seats).
## FAQ
### Can a Member change the notification settings?
No. Only owners and Admins can open **Notification settings**. Each person can still turn alerts on this device on or off for themselves.
### I turned off a category. Will the old notices disappear?
No. Notices already in the list stay. The switch stops new ones.
Source: /features/notifications
# What are Whatsable plans Bulk Message, Pro, and Agency?
> Whatsable plans Bulk Message, Pro and Agency: the monthly price of every contact tier, what each plan includes, WhatsApp numbers per plan, contact overage at $13 per 100, seats at $12, the 7-day Pro trial and the free plan.
Whatsable has three plans: **Bulk Message**, **Pro**, and **Agency**. Every plan is priced by **contacts**: the number of different people you have a conversation with in a billing period. You are not billed per message.
- **Bulk Message** is for template campaigns and broadcasts from your own WhatsApp number. It has one user and no inbox.
- **Pro** adds the shared inbox, AI agents, integrations, analytics, audio transcription and your team. It is the plan most teams choose.
- **Agency** has everything in Pro, up to 100 WhatsApp numbers, and a dedicated account manager. Its owner creates a separate organization for each client, free of charge: the client organizations share the plan's contacts and its 100 numbers, and each includes a free seat for the client's admin. See [client organizations](/features/client-organizations).
The owner of your organization chooses and changes the plan in **Settings → Billing**. See [Manage your plan and billing](/features/billing).
> [!NOTE]
>
> Meta bills its own WhatsApp conversation fees at Meta's rates. Whatsable adds 0% markup on them. See [Meta's pricing](https://business.whatsapp.com/products/platform-pricing).
## Prices
The monthly price in US dollars for each contact tier:
| Contacts | Bulk Message | Pro | Agency |
| ---: | ---: | ---: | ---: |
| 500 | $19 | $49 | — |
| 1,000 | $38.39 | $99 | — |
| 1,500 | $53.90 | $139 | $152.90 |
| 3,000 | $88.80 | $229 | $251.90 |
| 4,000 | $100.43 | $259 | $284.90 |
| 6,000 | $115.94 | $299 | $328.90 |
| 8,000 | $146.96 | $379 | $416.90 |
| 10,000 | $185.73 | $479 | $526.90 |
| 12,500 | $229 | $589 | $649 |
| 15,000 | $269 | $689 | $759 |
| 20,000 | $339 | $869 | $959 |
| 25,000 | $399 | $1,039 | $1,149 |
| 30,000 | $459 | $1,179 | $1,299 |
| 40,000 | $559 | $1,449 | $1,589 |
| 50,000 | $659 | $1,689 | $1,859 |
| 70,000 | $819 | $2,119 | $2,329 |
| 100,000 | $1,049 | $2,699 | $2,969 |
- **Agency starts at 1,500 contacts.** Agency at 500 and 1,000 contacts is no longer sold. If you already have one of those plans, it keeps renewing.
- **Annual billing gives 2 months free.** A year costs ten times the monthly price. For example, Pro at 500 contacts is $49 a month, or $490 a year.
- **Above 10,000 contacts**, move the slider on a plan card to 10,000. A drop-down then lists the larger tiers with their prices.
- **More than 100,000 contacts a month:** choose **More than 100,000 — contact us** in that drop-down, then **Book a call** or **Message us on WhatsApp**.
## How contacts are counted
- A contact counts once per billing period, the first time you exchange a message with that person. It does not matter who writes first: a customer who writes to you counts, and so does a customer you message.
- Your whole contact list does not count. Only the people you have a conversation with in the period count.
- Messages to people you already counted this period are free. There is no per-message charge.
- On a monthly plan, the limit is your tier for each month. It resets when the next billing period starts.
- On an annual plan, you get the whole year's contacts up front: twelve times your tier. For example, the 1,000-contact tier on an annual plan gives 12,000 contacts for the year.
### Going over your limit
Sending never stops when you go over your contact limit, and your plan is not upgraded for you.
- At 80% of your limit, Whatsable emails you with an offer to upgrade.
- If you stay on your plan, each extra 100 contacts costs **$13**. A part of 100 is billed as a full 100. For example, Pro at 500 contacts that reaches 600 contacts in a month pays $49 + $13.
- Extra contacts are billed after you reach them, never in advance.
## What each plan includes
| | Bulk Message | Pro | Agency |
| --- | --- | --- | --- |
| Template campaigns and broadcasts, including scheduled broadcasts | Yes | Yes | Yes |
| Message templates | Yes | Yes | Yes |
| Shared inbox and two-way conversations | No | Yes | Yes |
| AI agents | No | Yes | Yes |
| Integrations: Make, Zapier, n8n, Pipedrive, monday.com, Attio, webhooks and the API | No | Yes | Yes |
| Analytics | No | Yes | Yes |
| Audio messages transcribed automatically | No | Yes | Yes |
| Teammates | No, one user | Yes, $12 a seat | Yes, $12 a seat |
| WhatsApp numbers included | 1 | 3 | 100 |
| Extra WhatsApp numbers | $13 a month each | $13 a month each | Not sold |
| 7-day free trial | No | Yes | No |
| Client organizations, paid by one subscription and sharing its contacts and numbers | No | No | Yes |
| Support | — | Priority support: WhatsApp, chat and Zoom if needed | Dedicated account manager: email, WhatsApp and Zoom |
Pro and Agency also list the iOS and Android apps with push notifications, and free onboarding and setup help.
When a feature is not on your plan, the app still shows it with a lock. Opening it shows **Not on your plan**. The owner sees **Upgrade to Pro** and **Compare plans** there.
## WhatsApp numbers
Each plan includes a number of connected WhatsApp numbers:
- **Bulk Message** includes 1 number, and **Pro** includes 3. Above that, each extra number costs **$13 a month**, with no upper limit. The owner adds it with **Add to plan** in **Settings → Business Numbers**.
- **Agency** includes up to **100 numbers** and sells no extra numbers. The 100 are shared by the agency organization and its client organizations. To connect another number at 100, unlink one first.
A number above your plan is never disconnected. It keeps receiving messages, but it cannot send until it is added to the plan. Your primary number always keeps its place in the plan, then the numbers you connected first. See [Business numbers](/features/business-numbers).
## Team seats
Bulk Message has one user, so you cannot invite teammates on it. On Pro and Agency, the owner seat is free and each teammate is **$12 a month**. Seats bill monthly, even on an annual plan. A seat is not the same as contact overage. See [team seats](/features/team-seats).
## Free plan and trial
- **Free plan, no card:** after you [sign up](https://console.whatsable.app/sign-up), choose **Continue free with 2 contacts. No card needed.** on the plan step. Every Pro feature is open, with 2 contacts and 2 WhatsApp numbers. The free plan is for one person: you cannot invite a teammate until you subscribe. When you reach 2 contacts, you can still reply to the people you already reached. Subscribe to message someone new.
- **7-day trial, with a card:** Pro has a 7-day free trial, once per organization. You enter a card on Stripe's checkout page. Nothing is charged until the trial ends, and you can change or cancel the plan until then. Bulk Message and Agency have no trial, so they are charged when you subscribe.
## FAQ
### Do you bill by messages or by contacts?
By contacts: the different people you have a conversation with in a billing period, whoever writes first. Messages are not counted. Meta's conversation fees are a separate bill from Meta.
### What happens if I go over my contact tier?
Nothing stops. You pay $13 for each extra 100 contacts in that period, or you move to a larger tier in **Settings → Billing**.
### Which plans include the inbox, AI agents and integrations?
**Pro** and **Agency**. **Bulk Message** includes broadcasts and templates only.
### How many WhatsApp numbers can I connect?
Bulk Message includes 1 and Pro includes 3. Both can add more at $13 a month each. Agency includes up to 100 and sells no extra numbers.
### Are seats the same as overage?
No. A seat is a teammate, at $12 a month on Pro and Agency. Overage is extra contacts, at $13 per 100.
## Related
- [Manage your plan and billing](/features/billing):
Choose a plan, upgrade, downgrade, add numbers and update your card.
- [Team seats](/features/team-seats):
What a seat costs and when it is charged.
- [Team inbox](/features/team-inbox):
The shared inbox on Pro and Agency.
- [Broadcasts](/features/broadcasts):
Template campaigns on every plan.
- [Client organizations](/features/client-organizations):
One Agency subscription for your clients' organizations.
Source: /features/plans-bulk-message-pro-agency
# What are Whatsable and Meta messaging rate limits?
> Whatsable API v1 rate limits (RateLimit headers, 429 rate_limited, Retry-After), Meta WhatsApp throughput (80 MPS default, 20 on Coexistence), messaging limits outside the 24h window, and error 130429.
WhatsApp throughput and messaging caps are set by **Meta**, not by a Whatsable plan slider. This page covers the request limits of the **Whatsable API v1**, Meta **messages-per-second (MPS)** limits, the lower Coexistence MPS cap, and Meta **messaging limits** outside the 24-hour customer-service window.
If you need how to connect a number, start with [Connect WhatsApp (Embedded Signup + Coexistence)](/features/connect-whatsapp). For plan gates and unique-contact billing, see [plans Bulk Message / Pro / Agency](/features/plans-bulk-message-pro-agency).
---
## Two different Meta limits
Do not mix these up:
| Limit type | What it controls | Who enforces it |
|------------|------------------|-----------------|
| **Throughput (MPS)** | How fast a business phone number can send/receive messages on Cloud API | Meta (per phone number) |
| **Messaging limits** | How many **unique** WhatsApp users you can message **outside** a customer-service window in a rolling 24 hours | Meta (portfolio / business capability) |
Whatsable sits on Meta Cloud API. Hitting either limit shows up as Meta errors or undelivered business-initiated traffic. No Whatsable plan or setting raises them.
---
## Meta throughput (messages per second)
Cite Meta’s [Throughput](https://developers.facebook.com/documentation/business-messaging/whatsapp/throughput) documentation for the live numbers. As of Meta’s published Throughput page (updated **2026-06-17**):
| Phone-number situation | Meta MPS (throughput) |
|-------------------------|------------------------|
| Default Cloud API number | Up to **80** messages per second |
| Automatic upgrade (eligibility met) | Up to **1,000** messages per second |
| **Coexistence** (WhatsApp Business app + Cloud API on the same number) | Fixed **20** messages per second |
Meta notes that throughput counts **inbound and outbound** traffic and all message types. Numbers remain subject to WhatsApp Business Account rate limits and template messaging limits even after a throughput upgrade.
**Exceeding throughput:** Meta returns Cloud API error **`130429`** (“Cloud API message throughput has been reached”) until you are back under the allowed level. Match on `code` and `error_data.details`, not on titles — see [WhatsApp Cloud API error 130429](/whatsapp-error-130429).
**Higher throughput:** Meta can auto-upgrade a number to 1,000 MPS when the portfolio has an unlimited messaging limit, the number messages enough unique users outside the service window in a rolling day, and quality is Medium (yellow) or higher. Eligibility and exact checks live on Meta’s Throughput page — Whatsable does not sell or flip that upgrade.
---
## Coexistence throughput (20 MPS)
Most Whatsable customers keep the **WhatsApp Business app** on the phone while using Cloud API (**Coexistence**). Meta fixes Coexistence numbers at **20 MPS** so the app and API stay compatible. That cap is a **Meta-side** constraint.
Whatsable notes that match this page:
- Coexistence throughput is **Meta’s**, not a Whatsable product limit you can raise in Settings.
- Do **not** uninstall the WhatsApp Business app after connect — that breaks Coexistence.
- Unofficial (non-Meta) API tools on that number stop once Coexistence is on.
Operator connect guide: [Connect WhatsApp Business to Whatsable](/features/connect-whatsapp). Outbound when humans type in the Business app: [Outbound WhatsApp Business app](/api-reference/legacy/outbound-whatsapp-app).
---
## Meta messaging limits (unique recipients / day)
Separate from MPS: Meta caps how many **unique** customer numbers a business can message **outside** the customer-service window in a moving 24-hour period. Inside the window (the customer messaged you recently), free-form replies are not gated by that unique-recipient messaging-limit ladder.
Exact tier values and scaling rules change on Meta’s side. Treat [Meta Messaging Limits](https://developers.facebook.com/docs/whatsapp/messaging-limits/) and WhatsApp Manager as the live source.
Operator notes (not a substitute for Meta’s page):
- Outside the 24-hour window, only **approved templates** start business-initiated conversations.
- Unverified Meta Business Portfolios start with a low daily unique-recipient cap; verified portfolios scale through Meta’s messaging-limit tiers up to unlimited.
- Customer replies that open or refresh the service window are not “using up” that business-initiated unique-recipient ladder the same way.
Keep **messaging limits** and **MPS** apart: they are two different limits.
---
## Whatsable API v1 rate limits
The [Whatsable API v1](/api-reference/v1) limits how fast each API key can call it. Two limits apply:
- **Per API key.** Each key has its own budget of requests, which refills steadily. Every request that authenticates counts, including one refused for a missing scope or plan.
- **Per sending number.** Sends through the API from one number are also limited per second, whichever key sends them.
Every response to an authenticated request carries the state of the key's budget:
| Header | Meaning |
|---|---|
| `RateLimit-Limit` | The most requests the key can make in a burst. |
| `RateLimit-Remaining` | How many requests the key can make right now. |
| `RateLimit-Reset` | Seconds until the budget is full again. |
Over either limit, the API answers `429` with the error code `rate_limited` and a `Retry-After` header in seconds. The request was not processed. Wait that long, then retry. When the number's send limit refused the request, `error.details.scope` is `"number"`.
- Read the headers instead of hard-coding a number. The limits can change.
- Spread requests out rather than sending them all at once.
- A `429 rate_limited` from Whatsable is not Meta error `130429`. The first refuses the request before WhatsApp is called; the second comes back from WhatsApp on a send.
The error codes are on [API v1 errors](/api/errors#rate_limited), and retrying safely is on [Error Handling](/features/error-handling).
---
## Pair rate and burst behavior (Meta)
Meta also applies **pair** rate limits when you send too many messages to the **same** WhatsApp user too quickly (separate from phone-number MPS). Meta documents this on Cloud API overview / error materials (for example throttling around error **`131056`**). Campaigns that spray many different recipients are what MPS is sized for; hammering one user is a different Meta pair limit.
Whatsable does not override Meta pair limits.
---
## Operator checklist when sends slow or fail
1. **Read the error `code` and `details`.** Throughput → [130429](/whatsapp-error-130429). Do not match deprecated titles alone.
2. **Check Coexistence.** If the number still uses the WhatsApp Business app, Meta MPS is **20**, not the default 80 / 1000 ladder.
3. **Separate MPS from messaging limits.** A green throughput number can still fail business-initiated templates if Meta messaging limits / quality / cold outreach rules apply.
4. **Warm gradually on cold lists** (especially US). Meta may withhold delivery for healthy-ecosystem reasons — related codes live under Whatsable’s Meta error pages (for example [131049](/whatsapp-error-131049)).
5. **Do not uninstall** the Business app to “raise” throughput. That breaks Coexistence; Meta’s Coexistence MPS cap remains the documented path for dual-app numbers.
---
## FAQ
### Does Whatsable raise Meta’s 20 MPS Coexistence limit?
No. Coexistence MPS is fixed by Meta for app + API numbers. Whatsable does not control or raise it.
### Where do plan unique-contact limits fit?
Those are **Whatsable billing** (unique contacts / overage), not Meta MPS. See [plans Bulk Message / Pro / Agency](/features/plans-bulk-message-pro-agency); money stays on [pricing](https://whatsable.app/pricing).
---
- [Connect WhatsApp (Coexistence)](/features/connect-whatsapp):
Embedded Signup, keep the Business app, Meta-side throughput honesty.
- [Error 130429 (throughput)](/whatsapp-error-130429):
Match code + details when Cloud API MPS is exceeded.
- [Outbound Business app](/api-reference/legacy/outbound-whatsapp-app):
Human replies typed in the WhatsApp Business app on Coexistence.
- [Meta Throughput (external)](https://developers.facebook.com/documentation/business-messaging/whatsapp/throughput):
Meta’s live MPS, Coexistence 20 MPS, and upgrade eligibility.
Source: /features/rate-limits
# Shared Team Inbox
> How the shared WhatsApp inbox works on Pro and Agency: first open, who sees what, labels and notes, AI and human handoff, Coexistence, and more than one number.
> [!WARNING]
>
> The shared team inbox is on the **Pro** and **Agency** plans, and on the free plan you start with. **Bulk Message does not include the inbox**: it sends one-way broadcasts only.
The **Inbox** is where your team reads WhatsApp conversations as they arrive and replies as your business. This page explains what a new team sees and who sees what. For the controls inside a conversation (replying, attachments, scheduling, notes and the contact panel), see [Work a conversation in the inbox](/features/inbox-conversations).
I'm on Bulk Message — where's my inbox?
Bulk Message is built for one-way broadcast sending and has no inbox. Upgrade to Pro or Agency to get it. On Pro and Agency, **Inbox** is in the left-side menu.
*On Pro and Agency, Inbox lives in the left-side menu — open it to see your conversation list*
## First open: what you'll see
After you connect a WhatsApp number, the inbox shows **only real conversations**. It stays empty until a customer messages you, or until a history import finishes.
> [!TIP]
>
> If you connect the number through [Meta WhatsApp Coexistence](/features/embedding#whatsapp-coexistence), you can import about the **last 6 months** of chats from the WhatsApp Business app. The import **can take hours**. If the inbox looks emptier than expected right after you connect, the import is usually still running.
## The conversation list and new conversations
The list shows the conversation with the newest activity first. Each new message, received or sent, moves its conversation to the top. Search, filters and paging are described in [Work a conversation in the inbox](/features/inbox-conversations#the-conversation-list).
To write to a customer first, click **New**. In **Start a conversation**, enter the **Phone number** and pick your business number under **Send from**. The new conversation shows on top of the list, so you can send the first template at once. A first message to a new contact must be an approved template. If you send nothing, newer conversations move above it: it does not stay pinned to the top.
The phone field has a country selector, which starts at the country your browser is in. Type the number without its country code, or paste the full number with a `+` in front. The field shows a warning when a number looks mistyped:
- the number starts with a `0` after the country code (for example `+40 0722 545 251`),
- the country code is typed twice (for example `+40 40 749 905 361`),
- the number is longer than numbers in the selected country, which usually means you pasted a number with its own country code but without the `+`.
The warning shows the number you probably meant. Click it to use that number. The warning never stops you: some valid numbers look like this, so you can still start the conversation as typed.
## Who sees what
Every person on your team has one of three roles:
- **Owner**: sees everything, and is the only one who manages billing.
- **Admin**: replies, invites people, edits templates and sends broadcasts. Sees every conversation and number, everything except billing.
- **Member**: replies in the inbox, inside the conversations and numbers you give them.
An owner or an admin can narrow what a member sees with **Edit access** on the **Team** page:
**Numbers**
**Which numbers can they work in?** All numbers, or **Only these numbers**. A member reads every conversation on their numbers and sends from them.
**Labels**
**Narrow it to certain conversations?** All conversations, or **Only these labels**. The member then sees only conversations whose contact carries one of those labels.
Both limits apply together. A member limited by labels sees a note at the top of the list: "You can see conversations with your assigned labels." Roles and invitations are covered in [Team roles](/features/team-roles).
*Team settings — role, which numbers someone can send from, and which conversations they can see*
Whatsable has no "assign to a teammate" field on a conversation. To send a chat to the right person, you add a label that matches their access. See [Route chats to the right teammate](/features/chat-assignment).
## Labels and notes
These look similar but do different jobs:
- [Labels](/features/labels):
**Organize and route.** A label sits on the contact. Use labels to filter the inbox, to limit what a member sees, and as a condition on a scheduled message. They can be added by hand, by keyword, by an AI agent, from an ad, or by your automations.
- [Notes](/features/inbox-conversations#notes):
**Give context.** **Internal notes** are your team's messages inside a conversation, never sent to the customer. Each contact also has one **Contact note** your team writes and one **Automation note** your automations write. The AI agent reads both.
## Hand a conversation between the agent and your team
Open a conversation and look at the **AI agent** section of the contact panel:
- **Let the agent reply** controls whether the AI agent answers this conversation on its own. Turn it off and the agent stops at once. Turn it on to give the conversation back to the agent.
- When a person on your team replies by hand, the agent pauses on that conversation. The panel says: "A person replied, so the agent is paused."
- When the agent hands a conversation to a person, it turns itself off there. If the agent's **Tell the team when a customer asks for a person** switch is on, your team also gets an AI handoff [notification](/features/notifications).
- **A reply typed in the WhatsApp Business app also pauses the agent.** It counts as a reply by a person. See [Coexistence](#coexistence-phone-and-inbox-together) below.
- **A reply from an AI assistant connected through the [MCP server](/mcp) pauses the agent too**, by default, and the assistant tells you. A message sent through the [API v1](/api-reference/v1#work-the-inbox) pauses it only when the request sets `pause_ai`, and broadcasts and scheduled messages never pause it.
The history stays as it was, agent messages included.
*Open conversation — thread, contact labels, and Let the agent reply in the contact panel*
### When the agent may reply again
Each agent has a setting, **Once you reply by hand**, in its **Response settings**. It decides how long the agent stays quiet after you or a teammate reply by hand:
1. **The agent stays off until someone turns it back on**
2. **The agent resumes when the customer starts a new conversation**
3. **The agent resumes after a set time**
*Once you reply by hand — choose when the AI agent may start replying again after a human reply*
See [AI agents](/features/ai-chatbot) for the agent itself, and [Create an agent](/features/ai-chatbot/create-an-agent) to set one up.
## Coexistence: phone and inbox together
When your number uses [Meta WhatsApp Coexistence](/features/embedding#whatsapp-coexistence), someone can reply from the **WhatsApp Business app** on the phone while your team works in the web inbox:
- It is the **same customer thread** in the web inbox, and it updates in real time.
- The reply shows as sent from **WhatsApp App**, not from a named teammate. On the legacy [message webhook payload](/api-reference/legacy/incoming-message#payload-fields) it carries `send_by: "WhatsApp App"`, `was_message_by_human: true` and `incoming_message: false`.
- That phone reply **pauses the AI agent** on that chat, the same as a reply typed in the inbox.
- Your Make, Zapier or n8n automations pause only for an endpoint that has **Pause when your team replies** turned on in [Outgoing webhooks](/features/webhooks). A phone reply counts as a team reply there. Otherwise the scenario keeps running unless you filter on the phone reply, as shown in [filtering for phone-app replies](/api-reference/legacy/outbound-whatsapp-app).
- **Groups, Status and Calls do not sync** into the web inbox. Only 1:1 conversations do.
You do not need to refresh the page to see a phone reply. If it does not show, report it as a bug.
## More than one number
With more than one WhatsApp number connected, the inbox has a number filter. Choose **All numbers** to work every number in one list, or pick one number. The **Labels** filter narrows the list further. Each conversation shows the number it came in on, and you reply from that number.
Pro includes 3 numbers and can add more at $13 a month each. Agency includes up to 100 numbers and sells no extra numbers. A number over your plan still receives messages but cannot send until the owner adds it to the plan. See [Plans: Bulk Message, Pro, Agency](/features/plans-bulk-message-pro-agency).
If you manage numbers for clients, limit each client's people to that client's numbers with **Edit access**, so they never see your other clients' conversations.
## Next steps
- [Work a conversation](/features/inbox-conversations):
Replies, attachments, saved replies, scheduling, notes and the contact panel.
- [Labels](/features/labels):
Create labels, apply them by keyword, and let an AI agent use them.
- [Route chats to a teammate](/features/chat-assignment):
Send each conversation to the right person with labels and member access.
- [Connect a WhatsApp number](/features/embedding):
Complete Embedded Signup, with Coexistence support, so the inbox has conversations to show.
Source: /features/team-inbox
# How do team roles and access work in Whatsable?
> Invite teammates to Whatsable as Owner, Admin or Member, and limit a Member to some WhatsApp numbers or to conversations with some labels. Teams are part of Pro and Agency; Bulk Message has one user.
Each person on your Whatsable team has their own login and replies under their own name. A role decides what they can manage. For a **Member**, you also decide which WhatsApp numbers and which conversations they can see.
> [!NOTE]
>
> Teams are part of the **Pro** and **Agency** plans. **Bulk Message** has one user, the owner, and Whatsable refuses invitations on it. See [plans](/features/plans-bulk-message-pro-agency). Each teammate is a paid seat, explained in [team seats](/features/team-seats).
## The three roles
| Role | What the app says | What they can manage |
| --- | --- | --- |
| **Owner** | The person who created the organization. | Everything, including **Billing**. |
| **Admin** | "Replies, plus invites people, edits templates and sends broadcasts. Sees everything except billing." | **Team**, **AI agents**, **API keys** and the settings pages. An Admin sees every conversation and every number. |
| **Member** | "Replies in the inbox. You choose what they can see." | Works in the inbox, inside the numbers and conversations you assign. |
A few rules follow from the roles:
- Admins can open **Billing**, but only to read it. Only the owner changes the plan or removes an empty seat.
- The owner can invite and manage Admins and Members. An Admin can invite and manage Members only.
- Nobody can remove or change the owner from the **Team** page.
- Owners and Admins are never limited. Number and label limits apply to Members only.
## Invite a teammate
Owners and Admins find **Team** in the main menu.
**Open the invite dialog**
Go to **Team** and select **Invite member**.
**Enter the email and pick a role**
Type the person's **Email** and choose **Admin** or **Member** under **Role**.
**Choose what a Member can see**
For a Member, answer **Which numbers can they work in?** and, if you want, **Narrow it to certain conversations?** The next section explains both.
**Send it**
Select **Send invite**. The invitee gets an email and joins when they accept.
The access you choose travels with the invitation. When the person accepts, they join with exactly those limits. You do not need to set them again after they join.
An invitation expires after 48 hours. Under **Pending invitations** you can **Resend** it or cancel it. An organization can have up to 100 members.
## Limit a Member to numbers or labels
A Member can be limited in two ways. A conversation shows up for them only when it passes both limits.
### Numbers
**Which numbers can they work in?** A Member reads every conversation on the numbers you pick, and sends from them.
- By default, a new Member gets one number: your main number is already selected. Pick another one if they should work there instead.
- Select **Advanced** for two more choices: **All numbers** (every number, including numbers you connect later) or **Only these numbers** (tick several).
- If you pick no number, the app warns you: "Pick at least one number, or they see nothing."
### Labels
**Narrow it to certain conversations?** This is optional. Choose **Only these labels** and tick labels, and the Member sees only conversations whose contact carries one of them. Choose **All** to skip this limit.
When the Member works on several numbers, the labels are grouped by number. A label used on two numbers is the same label, so ticking it once ticks it everywhere.
### Change access later
On **Team**, select **Edit access** on a Member's row. The **Numbers & sending** and **Conversations** columns show their current limits. Changes apply when you select **Save**.
Changing a Member to Admin drops their limits. The app says so: "Sees every conversation and number. Any label or number limits are dropped."
### What a limited Member cannot open
- **Analytics** shows totals for the whole organization, so a Member limited to numbers or labels cannot open it.
- A limited Member cannot download a broadcast's results file, because it lists the phone number of every recipient.
## Use cases
- **One number per branch.** Give each branch's staff the number of their branch. They never see the other branches' chats.
- **Sales and support on one number.** Label conversations "Sales" or "Support" by keyword or with the AI agent, and limit each Member to their label.
- **An agency with many clients.** Connect each client's number, and limit the people who serve that client to it.
## How roles work with other features
- **Seats and billing.** Every Admin and Member is one paid seat. The role does not change the price. See [team seats](/features/team-seats).
- **The AI agent.** An AI agent is not a teammate and takes no seat. When an AI agent hands a conversation to a person, everyone who can see that conversation is notified. See [notifications](/features/notifications).
- **API keys, Zapier, Make and n8n.** Owners and Admins create [API keys](/features/api-keys). A key is not a person and takes no seat.
- **Webhooks.** Owners and Admins set up [outgoing webhooks](/features/webhooks).
## If your plan is Bulk Message
Bulk Message includes only the owner. Invitations are refused, and teammates who joined on an earlier plan cannot use the app. They see "This plan has one user". They stay in your organization, and upgrading to Pro gives them their access back.
## FAQ
### Can I set a Member's limits before they accept the invitation?
Yes. The numbers and labels you choose in **Invite member** are saved with the invitation and apply when the person joins.
### Can an Admin be limited to one number?
No. Only Members can be limited. To limit someone, make them a Member.
### Can I make a teammate an owner?
No. **Team** offers only **Admin** and **Member**. An Admin sees everything except billing.
### Does changing a role change my bill?
No. An Admin and a Member each take one seat.
Source: /features/team-roles
# How do team seats work in Whatsable?
> Whatsable team seats on Pro and Agency. The owner seat is free, and each teammate is $12 a month, charged when they accept the invitation. A removed teammate leaves an empty paid seat until the owner removes it in Billing.
A seat is one person on your Whatsable team, other than the owner. Each teammate who works in the shared inbox holds one seat. This page explains what a seat costs, when Whatsable charges for it, what happens when someone leaves, and how to stop paying for a seat you no longer need.
> [!NOTE]
>
> Team seats are part of the **Pro** and **Agency** plans. **Bulk Message** has no team, so it has no paid seats. See [plans](/features/plans-bulk-message-pro-agency).
## What a seat costs
- The owner seat is free.
- Each other teammate is one seat at **$12 a month**.
- Every role pays the same. An **Admin** is one seat, and a **Member** is one seat.
- Seats bill monthly, whatever interval your plan runs on. On an annual plan, seats still bill each month.
- A seat is not the same as contact overage. Overage is for unique contacts above your tier. A seat is for a person on your team.
## Invite a teammate
**Open the Team page**
Go to **Team** in the main menu and select **Invite member**.
**Send the invitation**
Enter the person's email, choose a role, and select **Send invite**.
**The invitee accepts**
The invitee opens the link in the email and selects **Accept invitation**.
Sending an invitation is free. An invitation that nobody accepts costs nothing. You can cancel it, or let it expire after 48 hours.
The owner and Admins can invite people. You can invite while your subscription is active or in its free trial. When the subscription is not active, invitations are paused until the owner fixes it in **Settings → Billing**.
## When Whatsable charges for a seat
### If you pay Whatsable by card
Whatsable charges for a seat when the invitee accepts, not when you send the invitation.
- Whatsable adds the seat to your subscription and charges the card on file at once.
- The charge is prorated. You pay only for the days the teammate is on the team in the current month.
- If you have an empty paid seat, the new teammate takes it, and nothing new is charged.
If the card is declined, the invitee is not added to the team. The invitee sees this message: "The card on file for this team was declined, so you could not join." The invitation stays pending. The owner gets an email and a notification to update the payment method in Billing. After the owner updates the card, the invitee opens the same link and accepts again.
### If your billing moved from the old platform
Some accounts moved to Whatsable from the old platform, and Whatsable then took over their billing. On such an account, a new teammate joins at once. The seat appears on your next invoice, counted from the day the teammate joined. A teammate is never refused because of a payment.
## Remove a teammate
Remove a teammate on **Team** in the main menu. The owner can remove any teammate, and an Admin can remove a Member. The teammate loses access at once. Their past replies stay in the conversation.
Removing a teammate does not lower your bill. The seat stays paid, and it becomes an **empty seat**. The next person who accepts an invitation takes the empty seat at no extra cost. The same is true when a teammate leaves the team on their own.
Whatsable does not give a credit or a refund when a teammate leaves.
## Remove an empty seat
The owner decides when a seat ends. To stop paying for an empty seat, the owner removes it in Billing.
**Open Billing**
Go to **Settings → Billing** and find the **Seats** card.
**Remove the seat**
Select **Remove empty seat**, then select **Remove seat** to confirm.
- Your next invoice bills one seat fewer.
- The current period stays paid. Whatsable does not refund it.
- Each removal releases one empty seat. Seats are a count, so you do not choose a seat by person.
- **Remove empty seat** is unavailable when every paid seat is in use.
- A teammate who joins later adds a paid seat again.
Admins can open Billing, but only to read it. Only the owner can remove an empty seat.
## Read the Seats card in Billing
The **Seats** card on **Settings → Billing** shows paid seats and seats in use side by side.
- The large number is your paid seats.
- **In use** counts the paid seats that a teammate holds. **Empty** counts the paid seats that nobody holds.
- The caption shows your monthly seat total and the price of each teammate. It also reminds you that the owner seat is free.
- The card shows one avatar for each teammate.
- The card has buttons for **Invite member** and **Remove empty seat**, and a **Manage your team** link to the Team page.
### Example
An owner has two teammates on a card-paid Pro subscription.
| Step | Teammates | Paid seats | Empty seats | Seat charge a month |
| --- | --- | --- | --- | --- |
| Start | 2 | 2 | 0 | $24 |
| The owner removes one teammate | 1 | 2 | 1 | $24 |
| A new teammate accepts an invitation | 2 | 2 | 0 | $24, with no new charge |
If the owner removes the empty seat in Billing after step 2, the next invoice bills one seat, $12 a month. A teammate who accepts after that adds a paid seat again, with a prorated charge at once.
## Free seats from an agreement with Whatsable
Whatsable can include free seats in an agreement with your company. A free seat covers a teammate you do not pay for.
Free seats lower your seat bill at once. Your paid seats fall by the number of free seats, but never below the number of teammates you still pay for.
- If you pay Whatsable by card, you get a credit for the unused part of those seats.
- If your billing moved from the old platform, your next invoice bills the lower number of seats.
Example: you pay for 4 seats and you have 3 teammates, so 1 seat is empty. Whatsable grants 2 free seats. You now pay for 2 seats. One seat is for the 1 teammate you still pay for, and one seat stays empty.
If an agreement later gives you fewer free seats, your paid seats rise only to the number your teammates need.
## Move to Bulk Message
Bulk Message has no team, so it holds no paid seats. When your subscription moves to Bulk Message, the seat charge drops to zero shortly after the plan change takes effect.
- If you pay Whatsable by card, you get a credit for the unused part of your seats.
- If your billing moved from the old platform, you get no credit.
## If the old platform still bills your seats
Some accounts are still billed by the old platform. On such an account, the **Seats** card shows the seats used out of a fixed number, such as "2 of 3 used". Seat changes for these accounts go through Whatsable support. You can see these messages:
- "Adding teammates is available soon for this organization."
- "Seats on this subscription cannot be removed here. Contact support to change them."
## Seats in client organizations on Agency
On Agency, the owner can create a client organization for each client. Every owner of the agency organization, and one admin for the client, take no paid seat there. Each other teammate in a client organization is a $12 seat on the agency's subscription, added up with the seats of the agency's other organizations. See [client organizations](/features/client-organizations).
## How seats work with other features
### Team roles
See [team roles and access](/features/team-roles) for what each role can do.
- **Owner.** Free. Only the owner changes the plan or removes an empty seat. Admins can open Billing, but only to read it.
- **Admin.** One seat. An Admin replies, invites people, edits templates, and sends broadcasts. An Admin sees everything except billing.
- **Member.** One seat. A Member replies in the inbox, inside the numbers and conversations you assign.
Changing a teammate's role does not change your bill.
### Labels and numbers
You can limit a Member to some WhatsApp numbers or to conversations with some labels. A limit does not change the price of the seat. Set the limits in **Invite member**, and they apply when the teammate joins. Change them later with **Edit access**. See [team roles and access](/features/team-roles).
### The AI agent
The AI agent is not a teammate and does not take a seat. When a teammate takes over a conversation from the AI agent, the seat count does not change. See [AI chatbots](/features/ai-chatbot).
### The API, Zapier, Make, and n8n
An API key acts for the whole organization, not for a person. A Zapier, Make, or n8n connection uses an API key, so it does not take a seat. Invite and remove teammates on **Team** in the main menu. See [API keys](/features/api-keys).
## Related
- [Plans](/features/plans-bulk-message-pro-agency):
Bulk Message, Pro, and Agency, and what each plan includes.
- [Team inbox](/features/team-inbox):
How your team works conversations together.
- [Team roles and access](/features/team-roles):
Owner, Admin and Member, and how to limit a Member to numbers or labels.
- [API keys](/features/api-keys):
Create, reveal, roll, and revoke the keys your integrations use.
## FAQ
### Do I pay when I send an invitation?
No. Sending an invitation is free. If you pay by card, Whatsable charges for the seat when the invitee accepts. An invitation that nobody accepts costs nothing.
### Does the owner pay for a seat?
No. The owner seat is free. Each other teammate is $12 a month.
### Why did my bill stay the same after I removed a teammate?
A removed teammate leaves an empty seat, and the seat stays paid. The next person who joins takes it at no extra cost. To stop paying for it, the owner selects **Remove empty seat** in **Settings → Billing**.
### Do I get a refund when I remove a teammate or an empty seat?
No. Removing a teammate gives no credit. Removing an empty seat lowers your next invoice by one seat. The current period stays paid.
### What happens if my card is declined when someone accepts?
The invitee is not added, and the invitation stays pending. The owner updates the card in **Settings → Billing**. Then the invitee opens the same link and accepts again.
### Can I choose which empty seat to remove?
No. Seats are a count. When you have several empty seats, each removal releases one of them.
### Are seats the same as contact overage?
No. A seat is $12 a month for one person on your team. Overage is $13 for each 100 unique contacts above your tier.
Source: /features/team-seats
# How do outgoing webhooks work in Whatsable?
> Send each incoming or outgoing WhatsApp message to Make, Zapier, n8n or your own server as it happens. Set up an endpoint in Settings → Webhooks, pause it while your team replies, combine quick messages, and optionally sign each request.
An outgoing webhook sends a WhatsApp message to an address you choose, as soon as it arrives or goes out. Use it to start a Make scenario, a Zap or an n8n workflow, or to feed your own server.
> [!NOTE]
>
> Outgoing webhooks are part of the **Pro** and **Agency** plans and the free plan, which include integrations. **Bulk Message** does not include them. Owners and Admins set them up. See [plans](/features/plans-bulk-message-pro-agency).
> [!NOTE]
>
> The app says this screen is preliminary: "Delivery history and endpoint testing are not here yet." You cannot see past deliveries or send a test request from the screen today.
## Add an endpoint
Go to **Settings → Webhooks**. The page is called **Outgoing webhooks**.
**Start**
Select **Add endpoint**.
**Choose where it goes**
Under **Send to**, pick **Make, Zapier or n8n** (incoming and outgoing messages, recommended) or **Your own server** (incoming messages only, one request per message). You cannot change this after you add the webhook.
**Paste the address**
In **Webhook URL**, paste the webhook address from your Make scenario, Zap or n8n workflow, or your server's address. It must be a public HTTPS address.
**Pick the number**
Under **Number**, choose **All numbers** or one business number. The endpoint receives only that number's messages.
**Pick what to send**
Under **What to send**, tick **Incoming messages** (what your customers send you), **Outgoing messages** (what is sent from your WhatsApp number), or both.
**Sign requests, if you want to**
**Sign requests** starts off. Leave it off and Whatsable sends the JSON with no signature. Turn it on to receive `X-Notifyer-Signature-256` and `X-Notifyer-Timestamp` on every request. You cannot change this after you add the webhook. To switch, delete the endpoint and add it again.
**Save**
Select **Add webhook**. If you turned on **Sign requests**, copy the signing secret now: it is not shown again. That row shows **Signed**.
Each row in the list shows the endpoint, its events, its number and its status. A webhook that signs its requests shows **Signed**. From a row's menu you can **Edit**, **Disable** or **Enable**, and **Delete** it. Editing does not change whether requests are signed. When they are signed, the signing secret stays the same.
Older endpoints can show **Native payload** as their format. You cannot pick it for a new endpoint.
## Pause when your team replies
When your automation also answers customers, you do not want it to answer a chat that a person is handling. Turn on **Pause when your team replies** (it needs **Incoming messages**).
- After a team member replies, the endpoint stops getting that chat's incoming messages for 24 hours. Outgoing messages still arrive. You can change the length under **Pause for**, in minutes, hours or days, up to 30 days.
- The timer restarts every time your team replies.
- Replies from bots, broadcasts and the API don't pause it. A reply typed in the WhatsApp Business app on your phone does.
- Endpoints with a pause show **Pauses for replies** in the list.
In the inbox, the contact panel has an **Automations** section. Under **Send this chat to your automations**, choose **Automatic** (follow the pause), **Always send** (even while your team is replying), or **Never send** (no incoming message from this chat goes to your automations). These choices apply to incoming messages only; outgoing messages still arrive.
## Combine quick messages
Customers often send several short messages in a row. With **Combine quick messages** on, Whatsable waits until the chat is quiet and sends them as one request. The wait is 30 seconds by default and can be 1 second to 30 minutes. This option is only for the **Make, Zapier or n8n** format and for incoming messages.
## What Whatsable sends
Each delivery is an HTTPS `POST` with a JSON body. This is an incoming message on the **Make, Zapier or n8n** format:
```json
{
"last_messages": "[{\"type\":\"bot\",\"content\":\"we are open until 6\",\"timestamp\":\"2026-08-11T10:00:00.000Z\",\"content_type\":\"text\"},{\"type\":\"user\",\"content\":\"are you open?\",\"timestamp\":\"2026-08-11T09:58:00.000Z\",\"content_type\":\"text\"},{\"type\":\"user\",\"content\":\"hello?\",\"timestamp\":\"2026-08-11T09:50:00.000Z\",\"content_type\":\"text\"}]",
"conversation_paragraph": "Bot (10:00:00 AM): we are open until 6 ; User (9:58:00 AM): are you open? ; User (9:50:00 AM): hello?",
"phone_number": "5491122223333",
"recipient_name": "Ada",
"user_id": "tenant_42",
"last_message_of_user": "are you open?",
"last_message_of_bot": "we are open until 6",
"message_type": "text",
"user_last_message_time": 1786442280,
"bot_last_message_time": 1786442400,
"attachment_url": "",
"note": "vip",
"note_automation": "auto-summary",
"labels": "gold, spanish",
"is_scheduled": false
}
```
The other shapes differ in a few fields:
- **Outgoing message.** `phone_number` is a JSON number, not a string. It adds `"incoming_message": false`, `send_by` (`"WhatsApp App"`, `"AI"`, or `"Notifyer"` for a reply from your team) and `was_message_by_human`. It has no `is_scheduled`.
- **Your own server.** Incoming messages carry `"incoming_message": true`.
- **Combined messages.** `is_scheduled` is `true`, `scheduled_messages` lists the batch, `phone_number` is a number and `labels` is an array.
- **All numbers.** An endpoint for all numbers also gets `business_phone_number_id` and `business_phone_number`, so you know which of your numbers the message used.
- **Ads and buttons.** A message from a Click-to-WhatsApp ad adds `referral`, and a button tap adds `button_reply`. See [Click-to-WhatsApp fields](/api-reference/legacy/ctwa-referral-fields) and [button replies](/api-reference/legacy/button-replies).
- `attachment_url` is empty for now. Whatsable does not send a public link to a media file.
The full field list is in [message webhooks](/api-reference/legacy/incoming-message).
## Verify the signature
Turn on **Sign requests** when you add the webhook. Those requests carry two headers. A webhook added with **Sign requests** left off does not send them.
- `X-Notifyer-Timestamp`: the time of the request, in Unix seconds.
- `X-Notifyer-Signature-256`: `sha256=` followed by the HMAC-SHA256, in hex, of the timestamp, a dot, and the raw request body, keyed with your signing secret.
To check a request, compute the same value from the raw body and compare. Refuse a request whose timestamp is too old, so a captured request cannot be replayed.
```javascript
import crypto from 'node:crypto';
// rawBody: the request body exactly as received, before any JSON parsing.
function isFromWhatsable(rawBody, headers, secret) {
const timestamp = headers['x-notifyer-timestamp'];
const signature = headers['x-notifyer-signature-256'];
if (!timestamp || !signature) return false;
if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false;
const expected = 'sha256=' + crypto
.createHmac('sha256', secret)
.update(`${timestamp}.${rawBody}`)
.digest('hex');
const a = Buffer.from(signature);
const b = Buffer.from(expected);
return a.length === b.length && crypto.timingSafeEqual(a, b);
}
```
## Answer, retries and failures
- Answer with any `2xx` status, quickly. Whatsable reads only the status.
- If your endpoint does not answer, or answers with another error, Whatsable tries again, waiting longer each time, up to five attempts in all. Because of retries, the same message can reach you twice. Make your handler safe to run twice.
- A `404` or `410` means the address is gone, so Whatsable does not retry it. When an endpoint keeps answering that way, Whatsable turns it off. The list shows **Disabled: endpoint not found**. Fix the address, then select **Enable**.
- When a webhook keeps failing, or is turned off, owners and Admins get a notice in the bell. See [notifications](/features/notifications).
## How webhooks work with other features
- **Make, Zapier and n8n.** Start your scenario, Zap or workflow with a webhook trigger, then paste its address here. For each tool's own Whatsable app, see [Make](/integration/make), [Zapier](/integration/zapier) and [n8n](/integration/n8n).
- **The AI agent.** Turn on **Pause when your team replies** so your automation and your team don't both answer. Replies from the AI agent never pause it.
- **Labels and notes.** Each payload carries the contact's labels and notes, so your automation can branch on them.
- **API v1.** To send messages back, use an [API key](/features/api-keys) with the [API v1](/api-reference/v1).
## FAQ
### Can I change an endpoint from "Your own server" to "Make, Zapier or n8n"?
No. The format is fixed once you add the webhook. Add a new endpoint with the other format, then delete the old one.
### Why does my endpoint receive nothing for a chat?
Check three things: the chat's **Automations** setting in the inbox, whether a teammate replied within the pause, and whether the endpoint is set to that chat's number.
### Can I see the delivery history?
Not yet. The screen does not show past deliveries.
Source: /features/webhooks
# Whatsable docs
> WhatsAble runs your business on WhatsApp from your own number, with a shared inbox, AI agents, broadcasts, and connections to Zapier, Make, n8n, CRMs, the API, and AI apps.
- [Get started](/quickstart):
Create an account, connect a number, and send the first message.
- [Inbox](/features/team-inbox):
Reply with your team from one shared WhatsApp inbox.
- [AI agents](/features/ai-chatbot):
Let an agent reply and follow up, and hand the chat to a person.
- [Broadcasts](/features/broadcasts):
Send an approved template to many contacts.
- [Integrations](/integration/zapier):
Connect Zapier, Make, n8n, Pipedrive, Attio, or Monday.
- [API reference](/api-reference/v1):
Send messages and manage the account from your own code.
- [AI apps](/mcp):
Use Claude, ChatGPT, Cursor, or another MCP client on your numbers.
Source: /
# Attio
> The status of the WhatsAble integration with Attio CRM, and how to connect Attio to WhatsAble today through Zapier, Make, n8n or the WhatsAble API.
# WhatsAble and Attio
> [!NOTE]
>
> The Attio integration is not available in the WhatsAble app yet. You cannot connect Attio from WhatsAble today. Use one of the options below instead.
## What the integration is for
The planned Attio integration shows your WhatsApp messages inside Attio notes and lets you schedule follow-ups. This page will describe the setup when the integration is available.
## Connect Attio today
You can connect Attio and WhatsAble now through an automation platform or the API:
- [Zapier](/integration/zapier):
Start a Zap from a new WhatsApp message, and create or update the Attio record
- [Make](/integration/make):
Build a Make scenario between WhatsAble and Attio
- [n8n](/integration/n8n):
Build an n8n workflow between WhatsAble and Attio
- [WhatsAble API](/api-reference/v1):
Read conversations and send messages from your own code or from an Attio automation that calls webhooks
### Examples of what you can build
- **Log messages in Attio**:
When a WhatsApp message arrives, add a note to the matching Attio record
- **Create records from new chats**:
When a new contact writes to you, create a person in Attio with the name and phone number
- **Message from Attio**:
When a record changes in Attio, send an approved WhatsApp template through WhatsAble
- **Keep fields current**:
Write the last message and its time into Attio attributes
> [!TIP]
>
> New to WhatsAble? [Sign up here](https://console.whatsable.app/sign-up).
## CRMs with a direct integration
WhatsAble has direct integrations with these CRMs today:
- [Pipedrive](/integration/pipedrive):
WhatsApp conversations as Pipedrive activities, and sending from deals and persons
- [Monday.com](/integration/monday):
WhatsApp conversations in board items, and WhatsApp steps in Monday workflows
## Need help?
Our support team is ready to help you:
- [Email support](mailto:team@whatsable.app):
Contact team@whatsable.app
- [Schedule a demo](https://tidycal.com/axelmeta/whatsapp-notifications-by-whatsable):
Book a personal walkthrough
- **Live chat**:
Click the chat button in the bottom right corner of the WhatsAble app
Source: /integration/attio
# What Make modules and fields does Whatsable expose?
> Every Whatsable Make module and field: Incoming and Incoming & Outgoing triggers, Send, Schedule a follow-up, Update a Contact, and Get delivery status.
This page is the **field dictionary** for the Whatsable for WhatsApp Business app on Make — every unlocked trigger, action, and search module input/output you can map in a scenario. Use it when you already know you want Make and need exact labels, types, and requiredness.
For connect steps, coexistence walkthrough, examples, and troubleshooting, use [Make overview](/integration/make).
## Prerequisites
- **Plan:** Make requires **Pro** or **Agency** (Bulk Message does not include integrations).
- **WhatsApp number:** Connected in Whatsable. Coexistence is supported — keep the WhatsApp Business app; phone replies can fire the dual-direction trigger.
- **Make app:** Public marketplace listing **Whatsable for WhatsApp Business** ([make.com/en/integrations/whatsable-message](https://www.make.com/en/integrations/whatsable-message)). Search **Whatsable** in the Make scenario editor.
- **API key:** From the Whatsable console API Keys page. Create a **Notifyer only** connection in Make and paste that key (core product key — not a Meta Graph token).
> [!NOTE]
>
> Install via the Whatsable console **Connect to Make** flow or the public Make listing. You need Admin, Owner, or App Developer role in your Make organization to install apps.
---
## At a glance
| Kind | Exact name in Make |
|------|--------------------|
| Trigger (instant) | **Incoming Messages from console (Whatsable)** |
| Trigger (instant) | **Incoming & Outgoing Messages from console (Whatsable)** |
| Action | **Send WhatsApp Message** |
| Action | **Schedule a follow-up Message** |
| Action | **Update a Contact** |
| Search | **Get delivery status of a message** |
All modules use the Whatsable for WhatsApp Business app and a Notifyer API key connection.
---
## Trigger: Incoming Messages from console (Whatsable)
**Type:** Instant · **Connection:** Notifyer only
Fires every time an incoming message arrives in your Whatsable console. Full-featured trigger for AI chatbot workflows, lead qualification, CRM updates, and real-time automations — includes AI note, conversation history, and scheduling data.
### Configure inputs
**Webhook** `webhook` (required)
Create or select a Make webhook bound to your Notifyer only connection (API key).
### Output fields — contact identity
**phone_number** `text / number`
The contact’s phone number (for example `14155550187`). May arrive as a number rather than a string.
**user_id** `text`
Unique internal ID for this contact (UUID).
**recipient_name** `text`
Display name used by the AI to address this contact.
**labels** `text`
Comma-separated labels on the conversation (for example `Hot Lead, Buyer Qualified`).
### Output fields — message data
**message_type** `text`
Documented values: `text`, `audio`, `image`, or `document`.
**incoming_message** `boolean`
`true` for this trigger — confirms an inbound message from the contact.
**send_by** `text`
Empty on this incoming-only trigger. On the dual-direction trigger, identifies the sending system or teammate.
**was_message_by_human** `boolean`
`true` when a person sent the message.
**attachment_url** `text`
Public URL of any attached file, or empty when there is none.
**is_scheduled** `boolean`
`true` when this event is a scheduled delivery; `false` for real-time messages.
**referral** `object`
Present when the inbound message came from a Click-to-WhatsApp ad or post. Typically on the **first** inbound after the tap; later messages usually omit it. Nested keys:
| Key | Meaning |
|-----|---------|
| `source_type` | `"ad"` or `"post"` |
| `source_id` | Ad or post ID |
| `source_url` | Where they tapped |
| `headline` / `body` | Ad copy |
| `media_type` | `"image"` or `"video"` |
| `image_url` / `video_url` | Creative URLs |
| `ctwa_clid` | Click ID for Meta Conversions API |
Persist `ctwa_clid` and `source_id` as soon as you see them. See also [Incoming message — Click-to-WhatsApp ads](/api-reference/legacy/incoming-message#click-to-whatsapp-ads).
### Output fields — conversation history
**last_messages** `text`
JSON string (or array representation) of recent messages. Each item includes `type` (`user` / `bot`), `content`, `timestamp`, and `content_type`. Parse before iterating.
**last_message_of_user** `text`
The most recent message from the contact — the message that triggered this run.
**last_message_of_bot** `text`
The most recent message your business sent (human or automation).
**user_last_message_time** `number`
Unix timestamp (milliseconds) of the contact’s last message.
**bot_last_message_time** `number`
Unix timestamp (milliseconds) of your business’s last message to this contact.
**conversation_paragraph** `text`
Flat, readable conversation history — useful for LLM prompts without parsing `last_messages`.
### Output fields — AI context and automation
**note** `text`
AI context note stored on this contact. Update it with **Update a Contact**.
**note_automation** `text`
Automation instructions for the AI based on conversation events.
**scheduled_messages** `text`
Description of messages currently scheduled to this contact. **Available on this Incoming-only trigger** — not on the Incoming & Outgoing trigger.
---
## Trigger: Incoming & Outgoing Messages from console (Whatsable)
**Type:** Instant · **Connection:** Notifyer only
Fires on both incoming and outgoing messages — every message sent or received in your Whatsable console, including replies typed in the WhatsApp Business app. Use it for conversation logging, CRM sync, or automations that must react when a teammate replies on their phone.
Description in Make: "Get your sent and incoming messages data through a single webhook."
### Configure inputs
Same webhook + Notifyer only connection setup as the Incoming-only trigger.
### Output fields
Identical to **Incoming Messages from console** above, with these differences:
**incoming_message** `boolean`
`true` when the contact sent a message; `false` when your business sent a message. Add a Router or Filter after this trigger to branch by direction.
**send_by** `text`
On outgoing messages: `"WhatsApp App"` (phone app), a teammate’s name (inbox), or an automation/app name (Make, Zapier, n8n, API, bot). Empty or omitted on incoming messages.
**was_message_by_human** `boolean`
`true` when a person sent the message (phone app or inbox); `false` when a bot or automation sent it.
> [!WARNING]
>
> The `scheduled_messages` field is only available on the **Incoming Messages from console** trigger — not on this dual-direction trigger.
> [!TIP]
>
> Use a Make Filter or Router on `incoming_message`, `send_by`, and `was_message_by_human` to split incoming vs outgoing and human phone-app replies vs automations.
---
## Action: Send WhatsApp Message
**Connection:** Notifyer only
Sends a WhatsApp message using the official WhatsApp API. You can add labels and write notes that appear in Whatsable’s chat interface. Choose **Configuration**: template (start a conversation / proactive) or non-template (inside the customer service window).
### Mode A — Send WhatsApp Template (to start conversation)
Use this to initiate a new conversation or reach out proactively. Requires a Meta-approved template.
**Phone Number** `text` (required)
Recipient in international format — digits only, no `+` or spaces (for example `14155550187`).
**Template** `dropdown` (required)
Select from your approved templates. The dropdown shows a live preview of body, language, and category.
**Body 1, Body 2, … (variables)** `text` (required)
One field per template variable (`{{1}}`, `{{2}}`, …). Required when the template has variables.
**Media URL** `text`
Public URL for a media header (image, video, or document). Only when the selected template has a media header.
**Visit Website URL / dynamic URL button** `text`
Full URL including the dynamic portion, when the template has a dynamic URL button.
**Note** `text`
AI context about this contact. Stored on the contact — **not** sent to the recipient.
**Labels** `multiselect`
Labels to apply to this conversation. Labels appear in your Whatsable console.
### Mode B — Non-template message (person must write to you first)
Only inside Meta’s customer service window after the contact’s last inbound message. Outside that window, use an approved template.
**Phone Number** `text` (required)
Same digit format as Phone Number above.
**Message Type** `dropdown` (required)
**Text Message**, **Image Message**, **Video Message**, **Document Message**, or **Audio Message**. Nested fields:
| Message Type | Nested fields |
|--------------|---------------|
| Text Message | **Message Content** (text, required); **Enable Link Preview** (boolean, optional, default false) |
| Image Message | **Image URL** (url, required); **Caption** (text, optional) |
| Video Message | **Video URL** (url, required); **Caption** (text, optional) |
| Document Message | **Document URL** (url, required); **Caption** (text, optional); **Filename** (text) |
| Audio Message | **Audio URL** (url, required) |
**Labels** `multiselect`
Labels to apply to this conversation.
**Note** `text`
AI context note for this contact.
> [!WARNING]
>
> Testing this action sends a **real** WhatsApp message. Use a personal test number during setup.
---
## Action: Schedule a follow-up Message
**Connection:** Notifyer only
Schedules a WhatsApp message for later, with optional reply and label conditions so it can cancel or skip when the lead is already engaged.
Message fields are the same as **Send WhatsApp Message** (template or non-template, including phone, template/variables or message type, Note, and labels), **plus** the schedule and condition fields below.
### When to send — Relative (delay from now)
**Delay Value** `select` (required)
Choose only: **1, 2, 3, 4, 5, 10, 15, 20, 30, 60, 90, or 120**.
**Delay Unit** `select` (required)
**Minutes**, **Hours**, or **Days**.
### When to send — Specific date and time
**Date & Time** `datetime` (required)
Exact send time.
**Timezone** `select` (required)
Timezone for the scheduled time (full global list in Make — GMT-11 through GMT+12).
### Reply Condition
Optional but recommended. Cancels the scheduled send if the contact replies within the chosen rule.
| Condition label |
|-----------------|
| Recipient did not reply after my last message *(recommended default)* |
| Recipient never replied to any of my messages |
| Recipient did not reply within 20 minutes |
| Recipient did not reply within 45 minutes |
| Recipient did not reply within 3 hours |
| Recipient did not reply within 6 hours |
| Recipient did not reply within 12 hours |
| Recipient did not reply within 24 hours |
| Recipient did not reply within 48 hours |
| Recipient did not reply within 72 hours |
### Label condition (optional)
**Label Condition** `select`
**Include** — only send if the contact has this label at send time. **Does Not Include** — only send if they do not.
**Label** `select`
Label evaluated when the scheduled send time arrives.
Scheduled messages are visible in the Whatsable console under the contact’s conversation — you can view or cancel them there.
> [!WARNING]
>
> This is **not** a native drip builder inside Whatsable. Day-0 / day-3 / day-6 sequences are multiple Make modules (or routers) that each schedule one message. Whatsable sends each scheduled message; the sequence logic lives in Make.
---
## Action: Update a Contact
**Connection:** Notifyer only
Updates a contact in Whatsable — display name, AI note, and labels. The Make action description also states you can **assign the conversation to a teammate**.
### Documented fields
**Phone Number** `text` (required)
Lookup key in international digit format. Creates a contact if none exists yet.
**Display Name** `text`
Display name in the Whatsable chat interface.
**Note** `text`
AI context note for this contact (name, email, preferences, language, and so on).
**Add Labels** `multiselect`
Labels to add. Whatsable conversation labels are the source of truth inside Whatsable.
**Remove Labels** `multiselect`
Labels to remove. **Remove All** clears every label on this contact.
> [!NOTE]
>
> **Assign a teammate:** Update a Contact can assign the conversation to a teammate (Make action description + Zapier / Make / API). Documented fields on this page today are Phone Number, Display Name, Note, and Add/Remove Labels. Confirm any assignee control in your live Make module sample — do not rely on an undocumented field name. Operator how-to: [Chat assignment](/features/chat-assignment) and [Team inbox](/features/team-inbox).
---
## Search: Get delivery status of a message
**Connection:** Notifyer only
Checks whether a previously sent WhatsApp message was delivered — useful for fallback paths (for example email) when a number may be wrong or inactive.
**Message ID** `text` (required)
Map from the output of a prior **Send WhatsApp Message** or **Schedule a follow-up Message** module in the same scenario.
Connect a Router after this search to handle delivered vs not-delivered paths (for example send a fallback Gmail or Outlook email).
> [!NOTE]
>
> If a lookup fails in scenario history, re-check the mapped Message ID and contact support if needed. Do not assume every Message ID always resolves in every environment.
---
## Limits and what this does NOT do
> [!WARNING]
>
> **No native drip builder.** Multi-day sequences use Make (or Zapier / n8n) schedule modules plus reply conditions — not a built-in drip product inside Whatsable.
> [!WARNING]
>
> **No CRM ↔ Whatsable bidirectional label mirror.** Add/Remove labels update Whatsable conversation labels. They do not sync Monday/Pipedrive (or other) CRM tags as one shared store.
> [!WARNING]
>
> **Coexistence:** Do **not** uninstall the WhatsApp Business app to “enable” API or Make. Keep using the phone; those replies can still start scenarios via the Incoming & Outgoing trigger.
- **Bulk Message** plan: no Make / integrations — upgrade to Pro or Agency.
- **Non-template** sends only inside the customer service window after the contact’s last inbound; otherwise use a template.
- **Phone format:** digits only, full international, no `+`, spaces, or dashes.
- **Group Messaging** is **unavailable** as a product add-on and is **not** a documented Make module on this fields page.
- Do not invent trigger `message_type` values beyond `text`, `audio`, `image`, and `document`.
- Typing-indicator dots are not a documented Whatsable automation claim.
- Do not invent location or sticker send types on Make modules.
---
## Related features and next steps
- [Make overview](/integration/make):
Connect, coexistence, examples, troubleshooting
- [Zapier fields](/integration/zapier/fields):
Parallel Zapier trigger/action field dictionary
- [Team inbox](/features/team-inbox):
Shared inbox and human replies alongside automations
- [Chat assignment](/features/chat-assignment):
Assign chats via Make, Zapier, API, keywords, or AI
Also: [Incoming message / CTWA](/api-reference/legacy/incoming-message) · [n8n overview](/integration/n8n) · [Plans](/features/plans-bulk-message-pro-agency).
---
## FAQ
### Does the Make trigger fire when someone replies in the WhatsApp Business app?
Yes, when coexistence is enabled and you use **Incoming & Outgoing Messages from console**. Filter on `incoming_message` (`false`), `send_by` (for example `"WhatsApp App"`), and `was_message_by_human`.
### Which trigger should I use for AI chatbot scenarios?
Prefer **Incoming Messages from console** when you only need inbound events and want `scheduled_messages` in the payload. Use the dual-direction trigger when you must also react to outgoing phone-app or inbox replies.
### Can I build day-0 / day-3 / day-6 WhatsApp drips with Whatsable and Make?
Yes, by chaining **Schedule a follow-up Message** modules (and reply conditions) in Make. Whatsable is not a native drip builder — the sequence logic lives in Make.
### Does Bulk Message include Make?
No. Make and other integrations require **Pro** or **Agency**.
### Which fields does Update a Contact document today?
**Phone Number**, **Display Name**, **Note**, **Add Labels**, and **Remove Labels**. Assigning a teammate is supported as a product capability via Make; confirm the live module for any assignee control rather than inventing a field name.
Source: /integration/make/fields
# Make
> WhatsAble modules in Make: triggers for incoming WhatsApp messages, actions that send templates, schedule follow-ups and update contacts, and a delivery status search. Coexistence is supported.
# WhatsAble integration with Make
Make is a platform that runs automated workflows, called scenarios. The **Whatsable for WhatsApp Business** app connects your scenarios to your WhatsApp number in WhatsAble.
Use it to:
- Start a scenario when a contact writes to your WhatsApp number.
- Send a WhatsApp template or a free-form message from any other app in Make.
- Schedule a follow-up that WhatsAble cancels when the contact replies.
- Keep the AI note and the labels of a contact in sync with your CRM or your forms.
- Check whether a message was delivered, and send a fallback email when it was not.
Labels, notes and scheduled messages that a scenario sets appear in the WhatsAble [inbox](https://console.whatsable.app/inbox). Your team and your [AI agent](https://console.whatsable.app/ai-bots) use the same data.
> [!NOTE]
>
> **Meta WhatsApp Coexistence is supported on Whatsable.** You do **not** need to delete the WhatsApp Business app or stop using the number on your phone. After Embedded Signup, the same number works in the WhatsApp Business app, the Whatsable inbox, and automations (Make, Zapier, n8n, API, and webhooks) at the same time.
## Available modules at a glance
The app is called **Whatsable for WhatsApp Business** in Make. Each module connects with your WhatsAble API key.
- **Triggers (Instant)**:
- Incoming Messages from console (Whatsable)
- Incoming & Outgoing Messages from console (Whatsable)
- **Actions**:
- Send WhatsApp Message
- Schedule a follow-up Message
- Update a Contact
- **Search**:
- Get delivery status of a message
---
## How the Make app works with WhatsAble
The Make app calls the WhatsAble integration API with your API key. The Make, Zapier and n8n apps all use this API. It is not [API v1](/api-reference/v1), which is for your own code. One API key works for both.
> [!NOTE]
>
> The **What this key can do** setting of an API key limits API v1 only. It does not limit the Make app.
### API keys and WhatsApp numbers
An API key belongs to one default WhatsApp number in your organization. This decides how the Make app behaves:
- Every message that the Make app sends with the key goes out from the key's default number.
- A trigger that the Make app registers with the key receives the messages of that number only.
- The template list in the **Send WhatsApp Message** module shows the approved templates of the WhatsApp Business account that holds that number.
To work with two numbers, create one API key for each number. Then create one Make connection for each key.
To move a key to another number, open [**API keys**](https://console.whatsable.app/settings/api-keys) and use **Change number** on the key. The triggers that the key registered move with it. Messages that are already scheduled keep their number.
---
## Prerequisites
Before you start, make sure that you have:
- **WhatsAble account**:
A WhatsAble plan that includes integrations (Pro or Agency) and a connected WhatsApp number. The Basic plan does not include integrations.
- **Make account**:
Access to [Make](https://www.make.com/en/register), where you build and run scenarios.
> [!TIP]
>
> New to WhatsAble? [Sign up here](https://console.whatsable.app/sign-up).
---
## Set up your WhatsAble account
**Connect your WhatsApp number**
Connect your WhatsApp Business number to WhatsAble with the [embedding process](/features/embedding). You do **not** need to delete the WhatsApp Business app. [Coexistence](/features/embedding#whatsapp-coexistence) is supported.
Your connected numbers are in **Settings** → [**Business Numbers**](https://console.whatsable.app/settings/numbers).
> [!NOTE]
>
> Meta requires this process to verify your business and to apply the WhatsApp Business Platform policies.
**Set up message templates (if you send template messages)**
A WhatsApp template is a message format that Meta approves. You need a template to start a new conversation with a contact. Create the template in WhatsAble, and get it approved, before you use it in Make.
How to create a template
**Open Templates**
In the WhatsAble sidebar, click [**Templates**](https://console.whatsable.app/templates).
**Start a new template**
Click **New template**.
**Fill out the form**
**Name** `string` (required)
A name for internal reference. WhatsAble changes it to lowercase with underscores, as Meta requires.
**Language** `string` (required)
The language of the template.
**Category** `string` (required)
Marketing, Utility or Authentication.
**Header (optional)** `text | image | document | video`
A text, image, document or video header.
**Body** `string` (required)
The message text. Use `{{1}}`, `{{2}}` for variables, numbered in sequence from 1.
**Footer (optional)** `string`
A short line under the body.
**Buttons** `button`
Optional quick reply, website, phone or copy code buttons.
**Submit for review**
Click **Submit for review**.
> [!WARNING]
>
> Meta usually reviews a template within 24 hours. Utility and Authentication templates have the highest approval rates.
Create the template on the WhatsApp Business account of the number that your API key uses. For the full procedure, see [Message templates](/features/message-templates).
**Create your WhatsAble API key**
Only owners and admins can create API keys.
1. In the WhatsAble sidebar, click [**API keys**](https://console.whatsable.app/settings/api-keys).
2. Click **Create API key**.
3. In **Key name**, type a name that tells you where the key is used, for example `Make production`.
4. In **Number**, choose the WhatsApp number that the key sends from.
5. Click **Create key**.
6. Click **Copy key**, then click **I have saved it**.
You can reveal and copy the key again later from the same page. For more about keys, see [API keys](/features/api-keys).
> [!WARNING]
>
> Treat the key like a password. Anyone with the key can send messages to your contacts. Never share it publicly or commit it to version control.
---
## Connect WhatsAble to Make
**Open the Make page in WhatsAble (optional)**
In the WhatsAble sidebar, under **Integrations**, click [**Make**](https://console.whatsable.app/integrations/make). This page lists the modules, the fields a trigger sends, and video walkthroughs. Click **Open in Make** to open the WhatsAble app on make.com.
**Create a new Make scenario**
1. Log in to your Make account at [make.com](https://www.make.com).
2. Click **+ Create a new scenario**.
3. Add your first module. Follow the [trigger setup guide](#setting-up-a-whatsable-trigger-in-make) below.
---
## Module reference
### Triggers
An instant trigger runs your scenario as soon as a message event occurs in WhatsAble. Each trigger needs a webhook and a connection with your WhatsAble API key.
---
### Setting up a WhatsAble trigger in Make
Both triggers use the same five steps. The only difference is the trigger that you select in step 1.
**Step 1: Select your trigger**
1. In your scenario, click the large **+** button to add a module.
2. Search for **Whatsable**.
3. Open the **Whatsable for WhatsApp Business** app.
4. Under **Triggers**, select the trigger that you need:
| Trigger | When to use it |
|---------|----------------|
| **Incoming Messages from console (Whatsable)** | Runs when a contact sends your business a message |
| **Incoming & Outgoing Messages from console (Whatsable)** | Runs on every message, incoming and outgoing. See the [notes on this trigger](#incoming--outgoing-messages-from-console-whatsable) |
**Step 2: Create a webhook**
The module configuration window opens. The first required field is **Webhook**.
1. Click **Add** next to the **Webhook** dropdown. The dropdown shows "Choose a hook..." when no webhook exists yet.
2. The **Create a webhook** dialog opens.
**Step 3: Name your webhook and set up a connection**
In the **Create a webhook** dialog:
1. Type a **Webhook name** that you can recognize later, for example `WhatsAble incoming messages`.
2. Under **Connection**, do one of these:
- Select an existing connection, if you connected WhatsAble to Make before.
- Click **Add** next to the Connection dropdown to create a new connection. Continue to step 4.
3. If you selected an existing connection, click **Save** and go to step 5.
**Step 4: Create your WhatsAble connection (first time only)**
If you clicked **Add** in step 3, the **Create a connection** dialog opens.
1. Type a **Connection name**, for example `WhatsAble production`.
2. Paste your WhatsAble API key in the **API Key** field. Copy the key from the [**API keys**](https://console.whatsable.app/settings/api-keys) page. Use the WhatsAble key, not a WhatsApp or Meta key.
3. Click **Save**.
Make checks your API key. You then return to the **Create a webhook** dialog, with the new connection selected.
> [!NOTE]
>
> You create the connection once. Every WhatsAble module in Make can use it again.
In the **Create a webhook** dialog, click **Save** to create the webhook.
**Step 5: Save the trigger and activate your scenario**
You are back in the module configuration window. Your webhook is selected, and Make shows a **Webhook URL** (for example `https://hook.eu1.make.com/...`).
1. Make sure that your webhook is selected in the **Webhook** dropdown.
2. Click **Save**.
3. Click **Run once** to test, or switch the scenario on.
> [!TIP]
>
> Your trigger is now live. When a matching message event occurs in WhatsAble, Make runs your scenario.
> [!TIP]
>
> Set the scenario schedule to **Immediately as data arrives** in the bottom toolbar, so that instant triggers run without delay.
When you save the trigger, the Make app registers its webhook URL with WhatsAble. The webhook then appears in **Settings** → [**Webhooks**](https://console.whatsable.app/settings/outgoing-webhooks), where you can see and change what it receives.
---
#### Incoming Messages from console (Whatsable)
> [!NOTE]
>
> **Type:** Instant trigger | **Connection:** your WhatsAble API key
Runs each time a contact sends a message to the number of your API key. Use it for AI chatbots, lead qualification, CRM updates and real-time automations. It sends the full conversation context, including the AI note and the recent conversation history.
**How to set up:** Follow the [five-step trigger setup guide](#setting-up-a-whatsable-trigger-in-make) above. In step 1, select **Incoming Messages from console (Whatsable)**.
> [!NOTE]
>
> After a team member replies in a chat, this trigger stops sending that chat for 24 hours. This prevents your automation and your team from both answering. To change or remove the pause, edit the webhook in **Settings** → [**Webhooks**](https://console.whatsable.app/settings/outgoing-webhooks) and change **Pause when your team replies**.
**Output fields that your scenario receives:**
Contact identity
**phone_number** `text`
The contact's number in international format, digits only (for example `14155550187`)
**user_id** `text`
The contact's ID in WhatsAble
**recipient_name** `text`
The contact's display name in WhatsAble
**labels** `text`
The labels of the conversation, separated by commas (for example `Hot Lead, Buyer Qualified, Urgent`)
Message data
**message_type** `text`
The type of the message, for example `text`, `image`, `audio` or `document`. The value is `referral` for a text message that came from a Click-to-WhatsApp ad. The value is `button` or `interactive` when the contact tapped a button or a list row
**attachment_url** `text`
The public link to a file that the contact attached. Empty when there is no attachment
**is_scheduled** `boolean`
`true` when the delivery combines several quick messages into one request. You turn this on with **Combine quick messages** in **Settings** → **Webhooks**. `false` for a delivery of one message
**referral** `object`
Only on the first message of a chat that started from a Facebook or Instagram ad or post. The object exactly as Meta sends it, with keys such as `source_type`, `source_id`, `source_url`, `headline`, `body`, `media_type`, the creative URLs and `ctwa_clid`. See [Click-to-WhatsApp ads](/api-reference/legacy/incoming-message#click-to-whatsapp-ads)
**button_reply** `object`
Only when the contact tapped a button or a list row. It contains `id` (the ID that you gave the option), `title` (its label), `message_id` and `whatsapp_message_id` (the message that offered the option). Each ID is `null` when it is not known
Conversation history
**last_messages** `text`
A JSON string with the recent messages of the conversation. Each item has `type` (`user` or `bot`), `content`, `timestamp` and `content_type`. Parse it before you loop over it
**last_message_of_user** `text`
The latest message from the contact, which is the message that started this run
**last_message_of_bot** `text`
The latest message that your business sent to this contact, from a person or from a bot. It helps an AI not to repeat itself
**user_last_message_time** `number`
The Unix time, in seconds, of the contact's latest message. `null` when the recent history has no message from the contact
**bot_last_message_time** `number`
The Unix time, in seconds, of the latest message from your business. `null` when the recent history has no message from your business
**conversation_paragraph** `text`
The conversation as one block of readable text. Give it to an AI prompt directly, without parsing `last_messages`
AI context and automation fields
**note** `text`
The AI note saved on the contact. It holds lead details such as name, email, preferences and language. Set it with the **Update a Contact** action, or in the WhatsAble inbox
**note_automation** `text`
Automation instructions that the AI follows for this contact
**scheduled_messages** `text`
Only on a delivery that combines several quick messages. The messages of the contact from the wait time, in one text: `Message 1: "…" — Message 2: "…"`. The text is `not text` when the batch is empty
This trigger does not send the `incoming_message`, `send_by` and `was_message_by_human` fields on an incoming message.
---
#### Incoming & Outgoing Messages from console (Whatsable)
> [!NOTE]
>
> **Type:** Instant trigger | **Connection:** your WhatsAble API key
Runs on **both incoming and outgoing** messages, including messages **typed by hand in the WhatsApp Business app**. Use it for conversation logs, CRM sync, or automations that must react when a teammate replies on the phone.
**Description in Make:** *"Get your sent and incoming messages data through a single webhook."*
**How to set up:** Follow the same [five-step trigger setup guide](#setting-up-a-whatsable-trigger-in-make) above. In step 1, select **Incoming & Outgoing Messages from console (Whatsable)**.
**Key difference:** Use the `incoming_message` field to branch your logic:
- `incoming_message = true`: a contact sent your business a message.
- `incoming_message = false`: your business sent a message to a contact, from the phone app, the WhatsAble inbox or an automation.
**Output fields:** The same as the **Incoming Messages from console** trigger above, with these differences:
**incoming_message** `boolean`
`true` when the contact sent the message. `false` when your business sent it. Add a **Router** or a **Filter** after this trigger to branch on the direction
**send_by** `text`
Outgoing messages only. `WhatsApp App` for a reply typed in the WhatsApp Business app. `AI` for a message from the AI agent, follow-ups included. `Notifyer` for every other sender: the WhatsAble inbox, a broadcast, the API, Make, Zapier or n8n
**was_message_by_human** `boolean`
Outgoing messages only. `false` when the AI agent sent the message. `true` for every other sender
**phone_number** `number`
On an outgoing message, the contact's number arrives as a number, not as text
> [!NOTE]
>
> This trigger has no pause after a team reply, and it does not combine quick messages. So `scheduled_messages` never arrives on it, and `is_scheduled` is always `false`.
## Incoming and outgoing WhatsApp messages
Whatsable can deliver **both incoming and outgoing** messages to your webhook — including messages typed by hand in the **WhatsApp Business app** on your phone. Outgoing messages reach only an endpoint you add under **Settings → Webhooks**, with **Send to** set to **Make, Zapier or n8n** and **Outgoing messages** ticked. The Whatsable triggers in the n8n, Make and Zapier apps receive incoming messages only.
This is possible because Whatsable supports [Meta WhatsApp Coexistence](/features/embedding#whatsapp-coexistence). You keep using WhatsApp Business on your phone; those hand-typed replies still reach an external webhook and can start an automation. They are not limited to the Whatsable inbox.
*Trigger n8n (or any webhook) from WhatsApp messages — including replies typed in the WhatsApp Business app*
The payload is the same whether you use [n8n](/integration/n8n), [Make](/integration/make), [Zapier](/integration/zapier), or a [custom webhook](/api-reference/legacy/incoming-message). For outgoing messages, paste your workflow's webhook URL into such an endpoint rather than using the app trigger. [Watch the walkthrough on YouTube](https://www.youtube.com/watch?v=UfW-KwS4gBI).
### Direction, sending system, and team member
Use these three fields to tell *what happened* and *who sent it*:
**incoming_message** `boolean`
`true` when a contact sent a message **to** your business. `false` when your business sent a message **to** the contact (outgoing). Filter on this field to run logic only for one direction.
**send_by** `string`
Which system or person sent an **outgoing** message:
| `send_by` value | Meaning |
|---|---|
| `WhatsApp App` | Typed by hand in the WhatsApp Business app on a phone |
| `AI` | Sent by your AI agent, including its follow-ups, or by an automatic reply: the away message or the keep-the-window-open follow-up |
| `Notifyer` | Anything else: a teammate in the inbox, a broadcast, the API or an automation |
`Notifyer` is the old name of Whatsable. The value stays the same so existing automations keep working. Incoming messages carry no `send_by`.
**was_message_by_human** `boolean`
`false` when your AI agent or an automatic reply (the away message or the keep-the-window-open follow-up) sent the message, `true` for every other outgoing message. Combine it with `send_by` to tell a reply typed on the phone from one sent through Whatsable.
### Example payload: message typed on the phone
This is the JSON Whatsable POSTs when someone types a reply in the WhatsApp Business app. `incoming_message` is `false`, `send_by` is `"WhatsApp App"`, and `was_message_by_human` is `true`.
```json
{
"last_messages": "[{\"type\":\"bot\",\"content\":\"Hello n8n\",\"timestamp\":\"2026-08-15T12:24:47.000Z\",\"content_type\":\"text\"},{\"type\":\"user\",\"content\":\"hi\",\"timestamp\":\"2026-08-12T12:27:42.746Z\",\"content_type\":\"text\"}]",
"conversation_paragraph": "Bot (12:24:47 PM): Hello n8n ; User (12:27:42 PM): hi",
"phone_number": 14155552671,
"recipient_name": "Alex Martinez",
"user_id": "158c59e1-ea85-4d0b-b70c-65328ba67a8e",
"last_message_of_user": "hi",
"last_message_of_bot": "Hello n8n",
"message_type": "text",
"user_last_message_time": 1786722580,
"bot_last_message_time": 1786797014,
"attachment_url": "",
"note": "email: alex\nName: Alex",
"note_automation": "email: alex\nName: Alex",
"labels": "n8n, webhook-test",
"incoming_message": false,
"send_by": "WhatsApp App",
"was_message_by_human": true
}
```
> [!NOTE]
>
> `last_message_of_bot` is the last message **your business** sent — whether a human typed it in the WhatsApp Business app or the Whatsable inbox, or your AI agent or an automation sent it. `last_messages` is a JSON **string** of the last 15 messages (parse it before iterating). `phone_number` may arrive as a number rather than a string.
When a teammate sends the same reply from the Whatsable inbox instead of the phone app, the payload is identical except:
```json
{
"incoming_message": false,
"send_by": "Notifyer",
"was_message_by_human": true
}
```
### Click-to-WhatsApp ad attribution
When a contact messages you after tapping a **Click-to-WhatsApp** ad (Facebook, Instagram, or WhatsApp Status), Meta includes a `referral` object on that inbound event. Whatsable forwards it in [webhook](/api-reference/legacy/incoming-message#click-to-whatsapp-ads) and trigger data (n8n, Make, Zapier).
Use it to see **which ad, creative, and platform** produced the lead — then label the chat, route it, or send `ctwa_clid` back to Meta for campaign optimization.
> [!NOTE]
>
> `referral` is typically present on the **first inbound message** after the ad click. Later messages in the same conversation usually omit it. Persist `ctwa_clid` and `source_id` as soon as you see them.
| Field | What it tells you |
|---|---|
| `source_type` | `"ad"` for an ad, `"post"` for an organic post |
| `source_id` | Ad or post ID — use this to group leads by creative |
| `source_url` | Where they tapped (Instagram permalink, Facebook/ad URL) |
| `headline` / `body` | Ad copy the lead saw |
| `media_type` | `"image"` or `"video"` |
| `image_url` / `video_url` | Creative asset URL |
| `ctwa_clid` | Click ID for Meta Conversions API attribution |
```json
{
"incoming_message": true,
"last_message_of_user": "Quiero información",
"referral": {
"source_type": "ad",
"source_id": "52540693396957",
"source_url": "https://www.instagram.com/p/DZiVBz7gAF9/",
"headline": "Expo Nissan",
"body": "Aprovechá la EXPONISSAN y llevate tu nuevo Nissan Kicks Play Sense MT.",
"media_type": "image",
"image_url": "https://scontent.xx.fbcdn.net/v/t45.1600-4/example.jpg",
"ctwa_clid": "AfhN-JKvx8HeFTmfB-Tu11zktQRJ-MNdMV1mwvDNxHnpYrGl-jVf3OEFhLva_MP41zYRe5ErUteWFn3v4gkkjzfIEVr9J_u8GAo3-o6DqShykM4Zsl14FcU5MyThsCoQ"
}
}
```
Whatsable never sends Meta's Cloud API envelope. On an endpoint that uses the **Native payload** format, the same object is at `message.referral`. Full field reference and a complete example: [Message webhooks — Click-to-WhatsApp ads](/api-reference/legacy/incoming-message#click-to-whatsapp-ads).
---
### Actions
Actions work in WhatsAble: they send messages, schedule follow-ups and update contacts.
---
#### Send WhatsApp Message
> [!NOTE]
>
> **Type:** Action | **Connection:** your WhatsAble API key
**Description in Make:** *"Send WhatsApp Messages using the official WhatsApp API. You can add labels to a WhatsApp conversation and also write notes about the lead that will appear in Whatsable's chat interface."*
Sends a WhatsApp message at once to a phone number, from the default number of your API key. It sends **template messages**, which start a new conversation, and **non-template messages**, which you can send inside the 24-hour window. Labels and notes that you set here appear in the WhatsAble inbox.
**How to configure:**
**Add the module**
Click **+**, search for **Whatsable**, and under **Actions** select **Send WhatsApp Message**.
**Select your connection**
Select your existing connection, or create a new one with your WhatsAble API key.
**Choose your configuration**
Select an option in the **Configuration** dropdown:
**Send WhatsApp Template (to start conversation)**
Use this to **start a new conversation** or to contact someone first. It needs a template that Meta approved.
**Phone Number** `text` (required)
The recipient's number in international format, digits only, with no `+` or spaces (for example `14155550187`)
**Template Name or ID** `dropdown` (required)
Select one of your approved templates. The list shows the approved templates of the WhatsApp Business account that holds your key's number, with a preview of the body, the language and the category
**Body 1, Body 2, ... (variables)** `text` (required)
A field appears for each variable of the template (`{{1}}`, `{{2}}`...). Map each one to data from an earlier module
**Media** `text`
If the template has a media header (image, video or document), the public URL of the file
**Visit Website URL** `text`
If the template has a dynamic URL button, the URL value, including the dynamic part
**Note** `text`
AI context about this contact (name, email, preferences, language). The AI reads it to personalize later replies and to qualify leads
**Label Names or IDs** `multiselect`
Labels to add to this conversation, for internal tracking and routing. Labels appear in the WhatsAble inbox
**Send a non-template message (person must write to you first)**
Use this to send a message **inside an active conversation**. You can send it only within 24 hours of the contact's last incoming message.
**Recipient Phone Number** `text` (required)
The number in international format, digits only (for example `14155550187`)
**Message Type** `dropdown` (required)
Choose the type of message to send:
Text Message
**Message Content** `text` (required)
The text to send
**Enable Link Preview** `boolean`
Set to `true` to show a preview card when the message contains a link. Default: `false`
Image Message
**Image URL** `url` (required)
The public URL of the image (JPEG, PNG)
**Caption** `text`
Text under the image
Video Message
**Video URL** `url` (required)
The public URL of the video (MP4)
**Caption** `text`
Text under the video
Document Message
**Document URL** `url` (required)
The public URL of the document (PDF, DOCX)
**Caption** `text`
Text with the document
**Filename** `text` (required)
The file name that the recipient sees (for example `invoice-2026.pdf`)
Audio Message
**Audio URL** `url` (required)
The public URL of the audio file (MP3, OGG)
**Label Names or IDs** `multiselect`
Labels to add to this conversation. Labels appear in the WhatsAble inbox
**Note** `text`
The AI note for this contact. The AI reads it to personalize replies
---
#### Schedule a follow-up Message
> [!NOTE]
>
> **Type:** Action | **Connection:** your WhatsAble API key
**Description in Make:** *"Schedule a follow-up to get sent later and add conditions so it only gets sent if the lead did not reply to you."*
Schedules a WhatsApp message for a **later time**. An optional **reply condition** cancels the message when the recipient replies before it is sent. Use it for no-reply follow-up sequences, re-engagement and nurture workflows.
**How to configure:**
**Add the module**
Click **+**, search for **Whatsable**, and under **Actions** select **Schedule a follow-up Message**.
**Select your connection**
Select your connection with your WhatsAble API key.
**Choose your message type**
In the **Configuration** dropdown, select a template message or a non-template message. The fields are the same as in the **Send WhatsApp Message** action above (phone number, template or message type, variables, labels, note).
**Set when to send it**
**Relative (Delay)**
Sends the message after a delay from the time the scenario runs:
**Delay Value** `select` (required)
Choose 1, 2, 3, 4, 5, 10, 15, 20, 30, 60, 90 or 120
**Delay Unit** `select` (required)
Choose **Minutes**, **Hours** or **Days**
**Specific Date & Time**
Sends the message at an exact date and time:
**Date & Time** `datetime` (required)
The date and time to send the message
**Timezone** `select` (required)
The time zone of the scheduled time, from the full list (GMT-11 to GMT+12)
**Set a reply condition (recommended)**
The reply condition tells WhatsAble to **cancel the scheduled message** when the recipient replies in the time that you choose. This keeps follow-ups away from contacts who already talk to you.
**Reply Condition** `select`
| Condition | When WhatsAble cancels the message |
|-----------|-------------------------------|
| Recipient did not reply after my last message | The contact replies at any time before the scheduled send |
| Recipient never replied to any of my messages | Only when the contact has replied to you at some time |
| Recipient did not reply within 20 minutes | The contact replies within 20 minutes |
| Recipient did not reply within 45 minutes | The contact replies within 45 minutes |
| Recipient did not reply within 3 hours | The contact replies within 3 hours |
| Recipient did not reply within 6 hours | The contact replies within 6 hours |
| Recipient did not reply within 12 hours | The contact replies within 12 hours |
| Recipient did not reply within 24 hours | The contact replies within 24 hours |
| Recipient did not reply within 48 hours | The contact replies within 48 hours |
| Recipient did not reply within 72 hours | The contact replies within 72 hours |
> [!TIP]
>
> For most follow-up sequences, use **"Recipient did not reply after my last message"**. Then no follow-up goes to a contact who already talks to you.
**Set a label condition (optional)**
Send the scheduled message only when the contact has, or does not have, a specific label:
**Label Condition** `select`
**Include**: send only when the contact has this label.
**Does Not Include**: send only when the contact does not have this label.
**Label** `select`
The label to check
> [!NOTE]
>
> Scheduled messages appear in the contact's conversation in the WhatsAble [inbox](https://console.whatsable.app/inbox). You can see or cancel them there at any time.
---
#### Update a Contact
> [!NOTE]
>
> **Type:** Action | **Connection:** your WhatsAble API key
**Description in Make:** *"Assign conversation to someone in your team, Add information in the notes, add/remove labels. Simply put the phone number and what information you want to change. This appears in the chat interface of our system."*
Updates a contact in WhatsAble: the display name, the labels, and the AI note. Use it to keep WhatsAble contacts in sync with your CRM, your forms or other external data.
**How to configure:**
**Add the module**
Click **+**, search for **Whatsable**, and under **Actions** select **Update a Contact**.
**Select your connection**
Select your connection with your WhatsAble API key.
**Fill in the fields**
**Phone Number** `text` (required)
The contact's number in international format, digits only (for example `14155550187`). WhatsAble finds the contact by this number. If no contact has this number, WhatsAble creates one
**Display Name** `text`
The name of the contact in the WhatsAble inbox
**Add a Note** `text`
Sets the AI note for this contact. The AI reads this field to personalize conversations. A clear, structured note gives better AI replies.
**Recommended note format:**
```
email: john@example.com | Name: John Smith
Looking for: 3BR house, $500k budget, north suburbs
Pre-approved: Yes | Language: English
Best time to contact: evenings after 6pm
```
**Add Label Names or IDs** `multiselect`
One or more labels to **add** to this contact. WhatsAble creates a label that does not exist yet. You can use labels for routing, filters and the label condition of a follow-up
**Remove Label Names or IDs** `multiselect`
One or more labels to **remove** from this contact. Select **Remove All** to remove every label at once
> [!TIP]
>
> Put **Update a Contact** at the start of your scenario, before you send a message. Fill the AI note from your form or CRM data. Then the AI has the full context before the first message.
---
### Search
---
#### Get delivery status of a message
> [!NOTE]
>
> **Type:** Search | **Connection:** your WhatsAble API key
**Description in Make:** *"Check if the message was delivered or not. Use this if you're not sure the number is correct and want to check if it was delivered and want to send a fallback email."*
Checks the delivery status of a message that you sent before. Use it for a fallback: when a message was not delivered (for example, because the number is wrong), send an email instead.
**How to configure:**
**Add the module**
Click **+**, search for **Whatsable**, and under **Searches** select **Get delivery status of a message**.
**Select your connection**
Select the same connection that sent the message.
**Enter the Message ID**
**Message ID** `text` (required)
The ID of the message to check. A **Send WhatsApp Message** or **Schedule a follow-up Message** action returns it in its output bundle
The module returns the `status` of the message: `pending`, `sent`, `delivered`, `read` or `failed`. It finds only messages that were sent from the number of your API key. For any other ID, it answers that no message with this ID was sent from this number.
> [!TIP]
>
> Add a **Router** after this search with two paths: one for delivered messages, and one for failed messages, where you send a fallback email (for example with Gmail or Outlook).
---
## Build a complete scenario: step-by-step example
This example goes from a new lead in a form to a template message and a follow-up: **New lead from a form → AI context set → Template message sent → Conditional follow-up scheduled**
**Trigger: New form submission**
Start with a **Google Forms**, **Typeform** or **Jotform** trigger that runs when someone fills in your lead form.
**Action: Update a Contact**
Add **Whatsable: Update a Contact**. Map the form fields into the note:
```
email: {{email}} | Name: {{name}} | Budget: {{budget}} | Language: {{language}}
```
Add labels such as `New Lead` and `Form Submission`.
The AI now has the full context before any conversation starts.
**Action: Send WhatsApp Message (Template)**
Add **Whatsable: Send WhatsApp Message** with the template configuration. Select your approved welcome template. Map the phone number and the template variables from the form data.
**Action: Schedule a follow-up Message**
Add **Whatsable: Schedule a follow-up Message** and configure it:
- Message: a follow-up template (for example `Hi {{1}}, just checking in...`)
- Schedule: 24 hours (Relative)
- Reply condition: **Recipient did not reply after my last message**
WhatsAble cancels this follow-up when the lead replies to your first message.
**Test and activate**
1. Click **Run once** to test with real data.
2. Make sure that each module shows a green check mark.
3. Switch the scenario on.
---
## Example use cases
- **AI chatbot lead qualification**:
Start on incoming messages, give `conversation_paragraph` and `note` to an AI model, then send its reply with Send WhatsApp Message
- **Smart follow-up sequences**:
Schedule follow-ups with reply conditions. WhatsAble cancels them when the lead replies
- **CRM-to-WhatsApp sync**:
When a deal stage changes in HubSpot or Pipedrive, update the AI note with Update a Contact, then send a matching template
- **Form-to-WhatsApp onboarding**:
When someone submits a form, set the AI context with Update a Contact, then send a personal onboarding template
- **Delivery fallback**:
After a send, use Get delivery status. If the message failed, send a fallback email with Gmail or Outlook
- **Conversation logging**:
Log each WhatsApp message to a Google Sheet, Airtable or your CRM
---
## Best practices
Set the AI note before you send
In new-lead scenarios, use **Update a Contact** before **Send WhatsApp Message**. A `note` with structured lead data (name, email, preferences, language, budget) gives better AI conversations and better lead qualification.
Use a reply condition on every follow-up
Set a reply condition on every **Schedule a follow-up Message**. "Recipient did not reply after my last message" is the safest choice. No follow-up then goes to a contact who already talks to you, which also protects the reputation of your WhatsApp number.
Add labels and notes on every send
The **Send WhatsApp Message** action can add labels and a note with every message. Use labels to tag conversations (for example `Hot Lead` or `Form Submission`). Use the note to keep the AI context current. Both appear in the WhatsAble inbox at once.
Use conversation_paragraph in AI prompts
In AI chatbot scenarios, give the `conversation_paragraph` field to your AI model. It is the conversation as plain text, which is simpler to put in a prompt than the `last_messages` JSON string.
Capture the Click-to-WhatsApp referral on the first message
When `referral` is present, save `source_id`, `source_url`, `headline` and `ctwa_clid` on the contact at once. Later messages in the same chat usually do not have `referral`. Use `source_url` to tell Instagram from Facebook, and `source_id` to compare ads.
Phone number format
Always give phone numbers in full international format, digits only, with no `+`, spaces or dashes (for example `14155550187` for the US, `447911123456` for the UK, `966501234567` for Saudi Arabia).
---
## Troubleshooting
The trigger does not run
**Check that the scenario is on**
An instant trigger runs only when the scenario is switched on in Make. Also make sure that the schedule is **Immediately as data arrives**.
**Check the webhook**
Open the trigger module. Make sure that a webhook is selected in the **Webhook** dropdown and that a **Webhook URL** shows. If the field is empty, follow the [trigger setup guide](#setting-up-a-whatsable-trigger-in-make).
**Check your connection**
Open the connection settings. Make sure that the WhatsAble API key is active on the [**API keys**](https://console.whatsable.app/settings/api-keys) page.
**Register the webhook again**
Switch the scenario off and on again. This registers its webhook with WhatsAble again.
**Check the number and the pause**
The trigger receives only the messages of your API key's number. The **Incoming Messages** trigger also pauses a chat for 24 hours after a team member replies. Check both in **Settings** → [**Webhooks**](https://console.whatsable.app/settings/outgoing-webhooks).
**Contact support**
If the messages appear in the WhatsAble inbox but the trigger still does not run, contact support.
Messages do not send
**Check the connection**
Make sure that your WhatsAble API key is active and that the correct connection is selected.
**Check the number of the key**
If WhatsAble answers that the number of the API key is not connected, open [**API keys**](https://console.whatsable.app/settings/api-keys). Use **Change number** to move the key to a connected number.
**Check the phone number format**
The phone number must be digits only, in full international format, with no `+` or spaces (for example `14155550187`).
**Check the template status**
Make sure that the template has the **Approved** status on the [**Templates**](https://console.whatsable.app/templates) page. A pending or rejected template causes an error.
**Check the 24-hour window**
You can send a non-template message only within 24 hours of the contact's last incoming message. Outside this window, use a template.
**Check your plan**
Make sure that your subscription is active and that your plan includes integrations (Pro or Agency). See **Settings** → [**Billing**](https://console.whatsable.app/settings/billing).
The template list is empty or out of date
**Check the WhatsApp account of the key**
The list shows only the approved templates of the WhatsApp Business account that holds your API key's number. Create the template on that account, or move the key with **Change number**.
Template variables do not fill
**Fill all variable fields**
All body variable fields (Body 1, Body 2 and so on) are required. Make sure that none is empty or mapped to an empty value.
**Check the template preview**
The template dropdown shows a preview of the body text and example values. Use it to see what each variable expects.
**Use a public media URL**
If your template has a media header, the URL must be public. Open it in a private browser window to test it.
A scheduled message was not sent
**Check the reply condition**
If the contact replied before the scheduled time, the reply condition cancelled the message. Check the contact's conversation in the WhatsAble inbox.
**Check the scheduled time**
Make sure that the delay value and unit are correct (minutes, hours or days).
**Check the scenario history**
In the Make scenario history, make sure that the Schedule a follow-up module ran with no errors.
Update a Contact changes do not appear in WhatsAble
**Check the phone number**
The phone number must match the contact's number in WhatsAble. If no contact has this number, the update creates a new contact.
**Check the connection**
Make sure that the module uses the connection with your WhatsAble API key.
---
## Need help?
- [Email support](mailto:team@whatsable.app):
Contact team@whatsable.app
- [Schedule a demo](https://tidycal.com/axelmeta/whatsapp-notifications-by-whatsable):
Book a personal walkthrough
- **Live chat**:
Click the chat button in the bottom right corner of the WhatsAble app. The inbox hides it, so open another page first
Source: /integration/make
# Connect Monday.com
> Install the WhatsAble app on a Monday.com account, connect it to WhatsAble, and choose the board and columns for each WhatsApp number.
Install the WhatsAble app on a Monday.com account and connect it to your WhatsAble organization. Then choose, for each WhatsApp number, which board receives that number's conversations.
Only an owner or an admin can connect or disconnect Monday.com in WhatsAble. Each Monday.com account links to one WhatsAble organization.
You can connect from a Monday.com item, or from the WhatsAble dashboard. Both need the app installed, a Monday.com account, and a WhatsAble account. The integration does not work until this authorization is finished.
## Install the app
**Open the marketplace listing**
Open [WhatsAble - WhatsApp with AI](https://monday.com/marketplace/listing/10001233/whatsable-whatsapp-with-ai) and click **Install**.
**Choose the workspace**
Select the workspace, then click **Install**.
**Authorize**
Approve the permissions below. When it succeeds, WhatsAble shows "Monday.com connected." Existing conversations then show in the live chat.
If the app is already installed, skip this and connect from the item or from WhatsAble.
## Connect from an item
**Open an item**
Open your board, then open any item.
**Add the chat view**
Click **Add view**. Choose **Explore more views**, then **Installed apps**. Find **WhatsApp Live Chat by WhatsAble** and click **Add to item**.
**Connect**
Open the **WhatsApp Live Chat by WhatsAble** tab. If WhatsAble is not connected yet, click **Connect WhatsAble**.
The same view is also under **My Work**: expand the sidebar and open **WhatsApp Live Chat Via WhatsAble**. No second login. If the tab says no WhatsApp number is connected, connect one in [Settings → Business Numbers](https://console.whatsable.app/settings/numbers).
## Connect from WhatsAble
**Install the app**
The first time, open [WhatsAble - WhatsApp with AI](https://monday.com/marketplace/listing/10001233/whatsable-whatsapp-with-ai) and install it on the Monday.com account. If the app is already installed, skip this step.
**Open the Monday.com page**
In WhatsAble, open [**Integrations → Monday.com**](https://console.whatsable.app/integration/monday) and click **Connect Monday.com**.
**Approve the app**
Monday.com opens. Sign in if it asks you to. Review the permissions and approve WhatsAble.
| Permission | Why WhatsAble needs it |
|---|---|
| Read your profile | Identify the Monday.com user who connects |
| Read your boards | List boards and columns, and find the item for a phone number |
| Write to your boards | Create items and write column values |
| Read your workspaces | List workspaces |
| Write updates | Add WhatsApp messages as item updates |
**Confirm the connection**
Monday.com sends you back to WhatsAble. The message "Monday.com connected." shows, with the account, the connected date, the company ID and the Monday.com user.
> [!NOTE]
>
> WhatsAble is an official Meta Tech Provider.
## Choose what syncs
The Monday.com page shows these settings before you connect, with the controls disabled. After you connect, set them and click **Save changes**. The message "Monday.com settings saved." confirms the save. Nothing is written to a board until you save.
### When activities sync
These two settings apply to the whole Monday.com account.
| Setting | Options | What it does |
|---|---|---|
| **Interval** | **Instantly**, **Every 10 min**, **Every 30 min**, **Every 60 min / 1 hour** | How often WhatsAble writes messages onto items that already exist. With an interval, the messages of that period go into one update. |
| **Timezone** | Any timezone | The timezone of message times in updates and date columns. WhatsAble sets it from your browser when you connect. You can change it. |
> [!NOTE]
>
> The interval applies to an item that already exists. When WhatsAble creates a new item, it writes the first message at once.
### Each WhatsApp number
Each connected WhatsApp number has its own card.
**Sync this number** `switch`
When it is off, WhatsAble does not write this number's messages to Monday.com. Workflows for the number are a separate switch.
**Start workflows for this number** `switch`
When it is on, a message received or sent on this number can start a Monday.com workflow. See [Workflows](/integration/monday/workflows).
**Workspace** is required. **Board** and **Phone column** stay disabled until a workspace is selected. Changing the workspace clears the board and the phone column.
| Field | Required | What it does |
|---|---|---|
| **Workspace** | Yes | The Monday.com workspace of the board |
| **Board** | Yes | The board that holds the contacts for this number |
| **Phone column** | Yes | The column WhatsAble matches against the contact's phone number |
| **WhatsApp username column** | No | Used only when the contact has no phone number. **Add WhatsApp username column** adds a text column named "WhatsApp Username" and selects it. The button stays off until a board is selected |
### Column mapping
**Name** is required. WhatsAble also uses it as the title of an item it creates. The other fields are optional. Leave a field empty and WhatsAble does not write it.
| Field | What WhatsAble writes |
|---|---|
| **Name** | The contact's name |
| **Last incoming message** | The text of the last message from the contact |
| **Last outgoing message** | The text of the last message from your business |
| **Labels** | The contact's labels in WhatsAble |
| **Note** | The contact's note in WhatsAble |
| **Automation note** | The automation note on the contact |
| **Last outgoing message time** | When your business last sent a message |
| **Last incoming message time** | When the contact last sent a message |
| **Outgoing message send by** | Who sent the last message from your business |
Message and name fields go into text or long text columns. Time fields go into date columns, in the account timezone.
### Sync options
**Add message into item update section** `switch`
Each WhatsApp message is an update on the matching item. With it off, WhatsAble can still update columns and does not add an update line.
**Create new item if it does not exist on your board** `switch`
WhatsAble creates an item when the phone number, or the WhatsApp username when there is no phone, is not on the board yet. With it off, a contact who matches nothing is skipped.
What those writes look like on the item is on [Board sync](/integration/monday/sync).
Source: /integration/monday/connect
# Monday.com
> Connect a Monday.com account so WhatsApp conversations land on board items, and Monday.com workflows can send WhatsApp templates.
**
monday.com
** **
CRM
**
WhatsAble connects your WhatsApp Business number to your Monday.com boards. A board can send an approved template, log the conversation on the matching item, and start a workflow when a message arrives.
> [!TIP]
>
> If you want us to do the setup for you, [book a free setup call](https://tidycal.com/axelmeta/whatsapp-notifications-by-whatsable). The call is free for all customers, also during the free trial.
## Quick setup
**Create your WhatsAble account**
Open [console.whatsable.app/sign-up](https://console.whatsable.app/sign-up) and create your account.
**Connect your WhatsApp Business number**
In WhatsAble, open **Settings → Business Numbers** and click **Connect WhatsApp**. Meta will not deliver messages until the WhatsApp account has its own payment method. The number, the payment method, your first template, the AI agent and your team are in [Get started with WhatsAble for monday.com](/onboarding/get-started-with-whatsable).
**Connect Monday.com and automate**
Install the app, connect the account, then map each number on [Connect](/integration/monday/connect). Send from a board on [Workflows](/integration/monday/workflows), or reply from the item on [Board sync](/integration/monday/sync).
> [!NOTE]
>
> Full video walkthrough: [Watch on YouTube](https://youtu.be/3cc4uvtF7AY).
## Authentication details
[Connect guide](/integration/monday/connect)
**OAuth app install**
Install [WhatsAble - WhatsApp with AI](https://monday.com/marketplace/listing/10001233/whatsable-whatsapp-with-ai) on the Monday.com account, then open [**Integrations → Monday.com**](https://console.whatsable.app/integration/monday) and click **Connect Monday.com**.
Monday.com asks for these permissions:
| Permission | Why |
|---|---|
| Read your profile | Identify the Monday.com user who connects |
| Read your boards | List boards and columns, and find the item for a phone number |
| Write to your boards | Create items and write column values |
| Read your workspaces | List workspaces |
| Write updates | Add WhatsApp messages as item updates |
[Read the full connect steps](/integration/monday/connect).
**Guide**
One WhatsAble organization connects to one Monday.com account. After it is connected, each WhatsApp number writes to the board you choose, and a Monday.com workflow can send an approved WhatsApp template.
## Quick reference
| Property | Value |
|---|---|
| Where you connect | [Integrations → Monday.com](https://console.whatsable.app/integration/monday) |
| Install | [WhatsAble - WhatsApp with AI](https://monday.com/marketplace/listing/10001233/whatsable-whatsapp-with-ai) on the Monday.com marketplace |
| What it syncs | Contacts and messages onto one board per WhatsApp number |
| Interval | **Instantly** by default. Also every 10, 30 or 60 minutes. An interval batches an item that already exists. A new item is written at once |
| Sync this number | On, until you turn it off |
| Item updates | On, until you turn **Add message into item update section** off |
| Create a missing item | On, until you turn **Create new item if it does not exist** off |
| Start workflows | Off, until you turn **Start workflows for this number** on |
| Timezone | Taken from your browser when you connect. Message times in updates and date columns use it |
| Who can connect | An owner or an admin in WhatsAble, and a Monday.com admin or member. A guest cannot install the app |
| Accounts | One Monday.com account for each WhatsAble organization |
| Plans | Pro and Agency. A new account that has not subscribed yet can use it, with up to 2 contacts. Basic cannot |
| Files on an update | Up to 50 MB |
| Chat | The WhatsAble inbox, on the Monday.com item. It does not require sync to be on |
## Before you start
Connect a WhatsApp number in WhatsAble before you send messages. The [embedding process](/features/embedding) does that.
A workflow can send only a template Meta has approved. Create those in [Message templates](/features/message-templates) first.
The person who approves the app in Monday.com must be an admin or a member of that account.
## Connect
The first time, install the app, then click **Connect Monday.com**. If the app is already installed, click **Connect Monday.com**.
Monday.com sends you back to WhatsAble. The page shows "Monday.com connected." with the account, the connected date, the company ID and the Monday.com user. Pick the workspace, board and columns for each number, then click **Save changes**. Nothing is written until you save.
The full steps are on [Connect](/integration/monday/connect).
## In this section
- [Connect](/integration/monday/connect):
Install the app, connect the account, and choose the board and columns for each WhatsApp number
- [Board sync](/integration/monday/sync):
How WhatsAble matches a contact to an item, and what it writes into columns and updates
- [Workflows](/integration/monday/workflows):
Start a Monday.com workflow from a WhatsApp message, or send a template from a board
- [Limits and errors](/integration/monday/reference):
What the connection does not do, and the message WhatsAble shows when a connect, a sync or a workflow does not run
## Also in WhatsAble
These are set up in WhatsAble, not on the Monday.com page. Messages they send still sync to the board when **Sync this number** is on.
- [AI agents](/features/ai-chatbot):
Qualify leads and follow up when a conversation goes quiet. A handoff can notify your team
- [Broadcasts](/features/broadcasts):
Send one approved template to many contacts from a file in WhatsAble
- [Team access](/features/team-roles):
Invite people, and limit a member to certain numbers or labels
- [Zapier, Make and n8n](/integration/zapier):
Connect WhatsAble to other tools. Make and n8n have their own guides
Sidekick in Monday.com can run **Send WhatsApp Message** from a chat instruction. It cannot change sync settings or start the WhatsApp trigger. The fields it can fill are on [Workflows](/integration/monday/workflows).
## Related
- [Uninstall](/integration/monday/uninstall):
What stops when the WhatsAble app is removed from Monday.com, and what stays
- [Message templates](/features/message-templates):
The approved templates a Monday.com workflow can send
- [Shared team inbox](/features/team-inbox):
The inbox your team uses, including the chat on a Monday.com item
- [Connect WhatsApp Business](/features/connect-whatsapp):
Connect the WhatsApp number before Monday.com can send
**Settings**
These are the controls on [Integrations → Monday.com](https://console.whatsable.app/integration/monday) after the account is connected. They do nothing until you click **Save changes**.
### Account
**Interval** `Instantly | 10 min | 30 min | 60 min`
How often WhatsAble writes to an item that already exists. **Instantly** writes each message as it happens. Any other choice gathers that period into one update. A new item is still created immediately.
**Timezone** `timezone` (required)
Message times in updates and date columns. WhatsAble fills this from your browser at connect. The page will not save while it is empty.
### Each WhatsApp number
**Sync this number** `switch`
Off: this number is not written to Monday.com. Workflows stay on their own switch.
**Start workflows for this number** `switch`
On: a message received or sent on this number can start **When a WhatsApp message is received or sent**.
**Workspace** `board workspace` (required)
Changing it clears the board and the phone column. Board and phone stay disabled until a workspace is selected.
**Board** `board` (required)
The board that holds this number's contacts.
**Phone column** `phone column` (required)
WhatsAble matches the contact's phone number here, with or without the + sign.
**WhatsApp username column** `text column`
Used only when the contact has no phone number. **Add WhatsApp username column** adds a text column named "WhatsApp Username", or selects one that already has that name. The button stays off until a board is selected.
**Name** `text column` (required)
The contact's name. A new item is also titled with this name.
**Last incoming message** `text column`
The text of the last message from the contact.
**Last outgoing message** `text column`
The text of the last message from your business.
**Labels** `text column`
The contact's labels in WhatsAble.
**Note** `text column`
The contact's note in WhatsAble.
**Automation note** `text column`
The automation note on the contact.
**Last outgoing message time** `date column`
When your business last sent a message, in the account timezone.
**Last incoming message time** `date column`
When the contact last sent a message, in the account timezone.
**Outgoing message send by** `text column`
Who sent the last message from your business.
**Add message into item update section** `switch`
Each message is an update on the item: "Ada : Hello" from the contact, "You" or "You (Sam)" from your business. Off: columns can still update, and no update line is added.
**Create new item if it does not exist** `switch`
Creates an item when the phone number, or the username when there is no phone, is not on the board. Off: that contact is skipped.
What the writes look like on the item is on [Board sync](/integration/monday/sync). The workflow fields are on [Workflows](/integration/monday/workflows).
Source: /integration/monday
# Monday.com limits and errors
> What the Monday.com connection does not do, and the message WhatsAble shows when a connect, a sync or a workflow does not run.
What the Monday.com connection does not do, and the message WhatsAble shows when a connect, a sync or a workflow does not run.
## What you cannot do
- **Plan**:
A Monday.com marketplace plan opens the whole product while it is active, with that plan's contact and seat limits. A WhatsAble plan does the same. When both are active, the Monday.com limits are used first. When the Monday.com plan ends, a WhatsAble plan you still pay for continues on its own limits. Basic does not include Monday.com unless a Monday.com plan is active.
- **Who can connect**:
Only an owner or an admin in WhatsAble can connect or disconnect. In Monday.com, a guest cannot install the app. One Monday.com account links to one WhatsAble organization.
- **Sync**:
Nothing is written before **Save changes**. A number with **Sync this number** off is skipped. A contact who matches no item is skipped when create-item is off. A contact with no phone number is skipped unless a username column is mapped. A file over 50 MB is not attached to the update.
- **Workflows**:
The trigger stays quiet until **Start workflows for this number** is on. Only a template Meta has approved can be sent. A scheduled send does not fill the next step's fields. An attachment URL from the trigger or the action works for one hour.
Disconnecting in WhatsAble leaves the app installed in Monday.com. Uninstalling the app disconnects WhatsAble as well. Neither deletes the updates already written on items. See [Uninstall the WhatsAble app from Monday.com](/integration/monday/uninstall).
## Common errors
The **Error** column is the message WhatsAble shows.
| Error | Cause | Fix |
|---|---|---|
| `Monday.com could not be connected. Try again.` | Monday.com refused the authorization, or WhatsAble could not finish it | Click **Connect Monday.com** again. If it keeps failing, contact support |
| `That connect link expired. Start again from this page.` | The connect link is no longer valid | Stay on [Integrations → Monday.com](https://console.whatsable.app/integration/monday) and start the connect again. Do not reuse an old tab |
| `That Monday.com account is already connected to another organization.` | This Monday.com account is linked to a different WhatsAble organization | Disconnect it there, then connect it here |
| `Only an owner or admin can connect Monday.com.` | The signed-in person is not an owner or an admin | Ask an owner or an admin to connect |
| `Monday did not return an account. Try again.` | Monday.com approved the app but did not identify the account | Connect again |
| `Select a workspace.` | **Workspace** is empty | Choose a workspace. Board and phone stay disabled until you do |
| `Select a board.` | **Board** is empty | Choose the board for this number |
| `Select a phone column.` | **Phone column** is empty | Choose the column that holds the contact's phone number |
| `Select a column for the name.` | **Name** is empty | Choose a text or long text column. A new item uses it as the title |
| `That column is already used on this card.` | The WhatsApp username column is the same column as another field on this number | Pick a different column, or leave the username column empty |
| `Workspaces and boards could not be loaded. Try again.` | Monday.com did not return the workspaces or boards | Try again. If the lists stay empty, disconnect and connect again, and approve boards, workspaces and updates |
| `Select a timezone.` | **Timezone** is empty | Choose a timezone. The page does not save without one |
| `You have unsaved changes.` | The board settings are not saved yet | Click **Save changes**. Until then WhatsAble writes nothing |
| No boards or workspaces in the list | The Monday.com approval did not include boards, workspaces or updates | Disconnect, connect again, and approve every permission |
| No item was created or updated | Sync is off, the phone does not match, or create-item is off | Turn on **Sync this number**, save the workspace, board, phone column and name, and turn create-item on for new contacts. An existing item on an interval updates at the end of that period |
| The trigger does not start | Workflows are off for that number, or the trigger listens to another number or direction | Turn on **Start workflows for this number**. Set the trigger to that number, or **All**, and the direction you expect |
| The template is not in the list | Meta has not approved it, or it belongs to another number | Check **Templates** in WhatsAble, and pick the number the template was created for |
| The workflow run failed | The recipient is empty, a template variable has no value, or a mapped column was deleted | Open **Run History** in Workflow Builder and read the failed step |
| A relative time did not send | The value is empty, or it is not a whole number from 1 to 10000 | On **Relative Time - Minutes**, **Hours** or **Days**, enter a whole number. Example: 30, 2 or 3 |
## Disconnect
**Open the Monday.com page**
Open [**Integrations → Monday.com**](https://console.whatsable.app/integration/monday).
**Disconnect**
Click **Disconnect**, then confirm **Disconnect Monday.com?**. WhatsAble shows "Monday.com disconnected."
WhatsAble stops writing to your boards, and the WhatsAble steps in your Monday.com workflows stop until you connect again. To connect again, repeat [Connect](/integration/monday/connect).
## Related
- [Connect](/integration/monday/connect):
Install the app and map each number
- [Board sync](/integration/monday/sync):
How a contact is matched to an item
- [Workflows](/integration/monday/workflows):
The trigger, the send action and the schedule
Source: /integration/monday/reference
# Monday.com board sync
> How WhatsAble matches a WhatsApp contact to a Monday.com item, and what it writes into columns and item updates.
Once a number has **Sync this number** on, and a workspace, board, phone column and name column saved, WhatsAble writes that number's WhatsApp conversations onto the board.
Messages your team sends from the inbox, your AI agent, a broadcast or the API sync the same way as a reply you type in Monday.com. Sync does not have to be on for [workflows](/integration/monday/workflows) to run, and workflows do not turn sync on.
## Match a contact to an item
WhatsAble looks up the item in this order:
1. The contact's phone number in the **Phone column**. It tries the full international number with the + sign and without it.
2. When the contact has no phone number, and you mapped a **WhatsApp username column**, the username in that column.
A new item is titled with the contact's name, and the phone number is written into the phone column. Later messages update the columns you mapped, including **Name**.
When nothing matches and **Create new item if it does not exist on your board** is off, WhatsAble writes nothing for that contact.
## What gets written
| Place | What you see |
|---|---|
| Mapped columns | The latest name, messages, labels, notes and message times you chose on [Connect](/integration/monday/connect). Message times use the account timezone. |
| Item updates | One line per message when **Add message into item update section** is on. A contact's message looks like "Ada : Hello". A message from your business looks like "You", or "You (Sam)" with the teammate or the source. A voice note with a transcript shows the transcript. |
| Files | Images, documents, audio and video of up to 50 MB are attached to the update. |
With an interval other than **Instantly**, an item that already exists receives the messages of that period in one update, and each line includes the date and time. A new item is still created, and its first message written, immediately.
On an item update you can like, reply, and mention a teammate, the same as any other Monday.com update.
## Chat on the item
The chat is the WhatsAble inbox, inside Monday.com. You can read and reply, switch among your WhatsApp numbers, send an approved template, and pick up a conversation without opening the WhatsAble dashboard. Opening an item focuses the conversation whose phone number, or username when there is no phone, is on that item. An AI reply shows as the agent. A teammate's reply shows that person's name.
The chat does not use the sync switches. It can open when sync is off and when **Name** is not mapped.
**Add it to an item**
Open the item, click **Add view**, then **Explore more views** → **Installed apps**. Add **WhatsApp Live Chat by WhatsAble** and open that tab.
**Or open it from My Work**
In Monday.com, open **My Work**, expand the sidebar, and click **WhatsApp Live Chat Via WhatsAble**. That view is every conversation, not only the open item.
If the tab offers **Connect WhatsAble**, the account is not connected yet. Follow [Connect](/integration/monday/connect). If it says no WhatsApp number is connected, connect one in [Settings → Business Numbers](https://console.whatsable.app/settings/numbers).
Source: /integration/monday/sync
# What happens when you uninstall the WhatsAble app from monday.com?
> Uninstalling the WhatsAble app from your monday.com account disconnects monday.com from WhatsAble: board activity sync and WhatsApp workflow triggers stop. Your WhatsApp conversations, contacts and WhatsAble plan stay as they are.
When an admin uninstalls the **WhatsAble - WhatsApp with AI** app from your monday.com account, monday.com tells WhatsAble, and WhatsAble disconnects monday.com from your organization straight away. You do not need to click **Disconnect** in WhatsAble as well.
## What stops
- **Board activity sync.** WhatsAble stops writing WhatsApp messages to your monday.com boards.
- **WhatsApp workflow triggers.** The monday.com workflows that start "When a WhatsApp message is received or sent" no longer fire. WhatsAble forgets them.
- **The monday.com connection.** **Integrations → monday.com** in WhatsAble shows monday.com as not connected, and the number settings for monday.com are removed with it.
## What stays
- Your WhatsApp numbers, conversations, contacts and labels in WhatsAble.
- Your AI agents, your team inbox, and your other integrations (Zapier, Make, n8n, Pipedrive and the API).
- Time you already paid for. Uninstalling does not end a Monday.com plan early. The product stays open until that plan's end date, and connecting again before then restores it. A plan you pay for in WhatsAble is unchanged. Board sync and workflows stay off until you connect again.
- The updates WhatsAble already wrote on your monday.com items. WhatsAble does not delete anything in monday.com.
## Reconnect later
Install the app again from the monday.com marketplace, then connect it again from **Integrations → monday.com** in WhatsAble, as in the [monday.com guide](/integration/monday). Pick the board and columns for each number again, and turn your workflows back on in monday.com.
> [!NOTE]
>
> Uninstalling is different from **Disconnect** in WhatsAble. Disconnect removes the connection from the WhatsAble side and leaves the app installed in monday.com. Uninstalling removes the app from monday.com, and WhatsAble disconnects as a result.
Source: /integration/monday/uninstall
# Monday.com workflows
> Start a Monday.com workflow from a WhatsApp message, or send an approved WhatsApp template from a board workflow.
WhatsAble adds one trigger and one action to Monday.com workflows. On a board, click **+** and create a workflow. Search for **WhatsAble**, then choose **Send WhatsApp Message** or **When a WhatsApp message is received or sent**.
The trigger fires only for a number that has **Start workflows for this number** turned on in WhatsAble. That switch is separate from sync. See [Connect](/integration/monday/connect).
## Trigger: When a WhatsApp message is received or sent
The trigger starts a workflow when a WhatsApp message is received or sent on the number you pick. It fires for new and existing contacts, including messages your team, the AI agent, a broadcast or the API sent.
| Field | Options |
|---|---|
| WhatsApp number | **All**, or one WhatsAble number |
| Message direction | **Inbound messages**, **Outbound messages** or **Both messages** |
**All** matches any number that already has **Start workflows for this number** on. **Both messages** matches inbound and outbound.
### Fields the trigger passes on
Later steps can read these fields. The [send action](#action-send-whatsapp-message) returns the same fields for the template it sent. On the trigger, they describe the message that started the workflow. On the action, they describe the template that was just sent: direction is outbound, sent via is the API, and the message type is template.
A scheduled send has not gone out yet, so the action returns no fields for the next step to read. An immediate send returns them.
| Field | What it holds |
|---|---|
| Direction | Inbound or outbound |
| Message text | The message text. A voice note shows its transcript, prefixed with `[audio transcript]` |
| Last message sent by the business | The text of the last message from your business |
| Last message sent by the contact | The text of the last message from the contact |
| Message type | For example text, image or audio |
| Sent at | The time of the message, in ISO 8601 |
| Sent via | For a sent message, the source: the inbox, the AI agent, a broadcast or the API |
| Sender name | The contact's name, phone or username. A message from your business is "You", or "You (name)" |
| Author name | The teammate who sent the message |
| Contact name | The contact's name |
| Contact phone number | The contact's phone number, digits only |
| WhatsApp username | The contact's WhatsApp username |
| Contact labels | The contact's labels, separated by commas |
| Contact note | The contact's note |
| WhatsApp Business number | The WhatsAble number |
| WhatsApp Business name | That number's name |
| Conversation paragraph | The last 15 messages of the conversation, as JSON text |
| Attachment file name, type and URL | The attached file, when there is one |
> [!NOTE]
>
> The attachment URL works for one hour. Copy the file in the workflow if a later step still needs it.
## Action: Send WhatsApp Message
The action sends one approved template to one contact. In the workflow, it is **WhatsAble → Send WhatsApp Message**.
| Field | Required | What it does |
|---|---|---|
| WhatsApp number | Yes | The WhatsAble number that sends the template |
| Template | Yes | An approved template of that number. A template waiting for review is not in the list |
| Template variables | When the template has variables | The values, mapped from the item or from an earlier step. For example, body variable 1 mapped to the item's name |
| Recipient contact number | Yes | The contact's phone number. Map it to the board's phone column, or to the contact phone from the trigger |
| Labels | No | Labels to add to the contact in WhatsAble. Only labels that already exist |
| Create new labels and assign | No | Creates a label that does not exist yet, and assigns it |
| Note | No | Sets the contact's note in WhatsAble |
| Automation note | No | Sets the contact's automation note |
| Schedule time | No | When the template goes out. With no time, it goes out at once |
| Schedule condition: Send only if | No | Hold the send until one of the reply conditions below is still true. Empty means no reply check |
| Schedule condition: Only if labels match | No | **Has any of** or **Has none of** the labels you select. Those labels are not added to the contact |
### Schedule time
| Choice | When the template sends |
|---|---|
| **In an hour** | One hour after the workflow runs |
| **This evening** | 18:00 in the Monday.com account timezone. If that time has passed, the next day |
| **Tomorrow morning** | 09:00 the next day, in that timezone |
| **Monday morning** | 09:00 on Monday, in that timezone. If that morning has passed, the next Monday |
| **Relative Time - Minutes** | A whole number of minutes from the moment the workflow runs. Example: 30 |
| **Relative Time - Hours** | A whole number of hours from that moment. Example: 2 |
| **Relative Time - Days** | A whole number of days from that moment. Example: 3 |
| **Another time** | The date you pick |
A relative row accepts a whole number from 1 to 10000 and nothing else. The four clock times and **Another time** are worked out again when the workflow runs, in the Monday.com account timezone.
### Send only if
| Choice | The template sends only if |
|---|---|
| **No reply condition** | Always. This is the same as leaving the field empty |
| **No reply within 20 minutes** | The contact has not replied in the last 20 minutes |
| **No reply within 45 minutes** | The contact has not replied in the last 45 minutes |
| **No reply within 3 hours** | The contact has not replied in the last 3 hours |
| **No reply within 6 hours** | The contact has not replied in the last 6 hours |
| **No reply within 12 hours** | The contact has not replied in the last 12 hours |
| **No reply within 24 hours** | The contact has not replied in the last 24 hours |
| **No reply within 48 hours** | The contact has not replied in the last 48 hours |
| **No reply within 72 hours** | The contact has not replied in the last 72 hours |
| **No reply since last message** | The contact has not replied since your business last sent a message |
| **Never replied to any message** | The contact has never replied |
## Examples
### Tell the customer when a status changes
When an item's status changes, the contact gets an approved template.
**Add the trigger**
In Workflow Builder, create a workflow. Add Monday.com's trigger **When status changes to something**, on your status column and the status that should send, for example Done.
**Add the WhatsAble action**
Add **Send WhatsApp Message**. Choose the number and the template. Map the recipient to the phone column, and each template variable to a column.
**Publish**
Click **Publish**. Moving an item to that status sends the template.
> [!TIP]
>
> Use one workflow for each status, so each status can send a different template.
### Follow up the next morning
After your business sends a message, send a template the next morning only if the contact did not reply.
**Add the trigger**
Add **When a WhatsApp message is received or sent**. Choose the number and **Outbound messages**.
**Add the action**
Add **Send WhatsApp Message**. Map the recipient to the contact phone from the trigger. Set the schedule time to **Tomorrow morning**, and **Send only if** to a reply condition such as no reply since the last message.
**Publish**
Click **Publish**.
### Run a Monday.com step for every message
Add the trigger with **Both messages**, then add Monday.com steps that read **Message text** and **Contact phone number**.
> [!TIP]
>
> You do not need a workflow to copy messages onto the board. [Board sync](/integration/monday/sync) already writes each message.
### Create an item from an incoming message
**Add the trigger**
Add **When a WhatsApp message is received or sent**. Choose **All** or one number, and **Inbound messages**.
**Create the item**
Add Monday.com's **Create item**. Map **Contact name** to the item name, **Contact phone number** to the phone column, **Message text** to a text column, and **Message timestamp** to a date column.
**Publish**
Click **Publish**. A new WhatsApp message creates the item. **Outbound messages** or **Both messages** tracks the other side of the conversation the same way.
## Sidekick
Monday.com Sidekick can run this same **Send WhatsApp Message** action from a sentence. It fills the fields and sends or schedules. It cannot change sync settings, open the item chat, or fire **When a WhatsApp message is received or sent**.
It can send an approved template now, fill variables, add or create labels, set the note and the automation note, schedule, and hold the send until a reply or a label condition is true.
Template variables are filled in this order: each body variable, then the website URL, then the media URL. Give the values in that order. For example: send the `lead_castings` template to +34…, name Laia, date Monday, link booking-1.
Sidekick cannot send unless you name three things: the WhatsApp number, an approved template for that number, and the recipient's phone number with the country code. A template that is not approved is not available.
Source: /integration/monday/workflows
# What can the Whatsable n8n node send and receive?
> Every Whatsable n8n node field: On new Incoming message event outputs, Send template and non-template inputs, Schedule conditions, and Update Contact.
This page is the **field dictionary** for the Whatsable community node on n8n — every unlocked trigger and action input/output you can map in a workflow. Use it when you already know you want n8n and need exact labels, types, and requiredness.
For connect steps, coexistence walkthrough, examples, and troubleshooting, use [n8n overview](/integration/n8n).
## Prerequisites
- **Plan:** n8n requires **Pro** or **Agency** (Bulk Message does not include integrations).
- **WhatsApp number:** Connected in Whatsable. Coexistence is supported — keep the WhatsApp Business app; phone replies can fire the trigger when outgoing is enabled.
- **n8n node:** Verified community package [`n8n-nodes-whatsable`](https://www.npmjs.com/package/n8n-nodes-whatsable) (listing: [n8n.io/integrations/whatsable](https://n8n.io/integrations/whatsable/)). Search **Whatsable** in the n8n node library, or install with `npm install n8n-nodes-whatsable` on self-hosted.
- **API key:** From the Whatsable console API Keys page. Paste that key into the Whatsable credential (core product key — not a Meta Graph token).
> [!NOTE]
>
> Use the **Whatsable Incoming & Outgoing Message** credential type on the trigger when you need phone-app and inbox outgoing events, not only inbound.
---
## At a glance
| Kind | Exact name in n8n / console |
|------|-----------------------------|
| Trigger (instant) | **On new Incoming message event** (node: Incoming/outgoing WhatsApp message Trigger) |
| Action · Resource **Send Message** | **Send WhatsApp Message** → product ops **Send Message Template** / **Send Non Template Message** (console: Send template via Whatsable / Send non-template via Whatsable) |
| Action · Resource **Send Message** | **Schedule WhatsApp Message** → same product ops (template or non-template) |
| Action · Resource **Send Message** | **Manage Contact** → product op **Update Contact** (console: Update recipient) |
All Notifyer/core paths use a Whatsable API key credential. When outgoing is enabled, the same trigger also fires for outgoing messages — filter with `incoming_message`.
---
## Trigger: On new Incoming message event
**Type:** Instant · **Node display name:** Incoming/outgoing WhatsApp message Trigger · **App:** Whatsable
Fires when WhatsApp messages are received — and, with the incoming-and-outgoing credential, when they are sent. Outgoing events include replies typed in the WhatsApp Business app, the Whatsable inbox, and automations.
### Configure inputs
**Credential Type** `dropdown` (required)
For core Whatsable (Whatsable):
| Option | When to use |
|--------|-------------|
| **Whatsable Incoming Message** | Inbound only |
| **Whatsable Incoming & Outgoing Message** | Inbound **and** outgoing (phone app, inbox, automations) |
Legacy Bot / Notifier credential types exist on the node for other products — this fields page documents the Whatsable options only.
**HTTP Method** `dropdown` (required)
**POST** (only option).
**Respond** `dropdown` (required)
**Immediately** — respond as soon as the trigger fires. **When Last Node Finishes** — wait for the workflow to complete before responding.
> [!NOTE]
>
> Copy the trigger **Production URL** into the credential’s Production URL field when creating the Whatsable credential (see [n8n overview](/integration/n8n)).
### Output fields — contact identity
**phone_number** `text / number`
The contact’s phone number (for example `14155552671`). May arrive as a number rather than a string.
**user_id** `text`
Unique internal ID for this contact (UUID).
**recipient_name** `text`
Display name for this contact in Whatsable.
**labels** `text`
Comma-separated labels on the conversation (for example `n8n, webhook-test`).
### Output fields — message data
**message_type** `text`
Documented values on this page: `text`, `audio`, `image`, or `document`.
**incoming_message** `boolean`
`true` when the contact sent a message to your business; `false` when your business sent a message to the contact.
**send_by** `text`
On outgoing messages: `"WhatsApp App"` (phone app), a teammate’s name (inbox), or an automation/app name (n8n, Make, Zapier, API, bot). Empty or omitted on incoming messages.
**was_message_by_human** `boolean`
`true` when a person sent the message (phone app or inbox); `false` when a bot or automation sent it.
**attachment_url** `text`
Public URL of any attached file, or empty/`null` when there is none.
**referral** `object`
Present when the inbound message came from a Click-to-WhatsApp ad or post. Typically on the **first** inbound after the tap; later messages usually omit it. Nested keys:
| Key | Meaning |
|-----|---------|
| `source_type` | `"ad"` or `"post"` |
| `source_id` | Ad or post ID |
| `source_url` | Where they tapped |
| `headline` / `body` | Ad copy |
| `media_type` | `"image"` or `"video"` |
| `image_url` / `video_url` | Creative URLs |
| `ctwa_clid` | Click ID for Meta Conversions API |
Persist `ctwa_clid` and `source_id` as soon as you see them. See also [Incoming message — Click-to-WhatsApp ads](/api-reference/legacy/incoming-message#click-to-whatsapp-ads).
### Output fields — conversation history
**last_messages** `text`
JSON string of recent messages (about the last 20). Each item includes `type` (`user` / `bot`), `content`, `timestamp`, and `content_type`. Parse before iterating.
**last_message_of_user** `text`
The most recent message from the contact.
**last_message_of_bot** `text`
The most recent message your business sent (human or automation).
**user_last_message_time** `number`
Timestamp of the contact’s last message.
**bot_last_message_time** `number`
Timestamp of your business’s last message to this contact.
**conversation_paragraph** `text`
Flat, readable conversation history — useful for LLM prompts without parsing `last_messages`.
### Output fields — AI context and automation
**note** `text`
AI context note stored on this contact. Update it with **Update Contact**.
**note_automation** `text`
Automation instructions for the AI based on conversation events.
> [!TIP]
>
> Use an IF or Switch node on `incoming_message`, `send_by`, and `was_message_by_human` to split incoming vs outgoing and human phone-app replies vs automations. For rapid multi-message bursts before an AI step, add a short **Wait** node so n8n can coalesce messages from the same number into one coherent run.
---
## Action: Send WhatsApp Message (template or non-template)
**App:** Whatsable · **Resource:** Send Message · **Operation:** Send WhatsApp Message
Sends a WhatsApp message using the official WhatsApp API. After you pick the operation, choose **Product Operation**: **Send Message Template** (console / overview: **Send template via Whatsable**) or **Send Non Template Message** (console / overview: **Send non-template via Whatsable**).
### Mode A — Send Message Template (to start conversation)
Use this to initiate a new conversation or reach out proactively. Requires a Meta-approved template.
**Phone Number** `text` (required)
Recipient with country code (for example `+14155552671`) or map from a previous node. Prefer digits with country code as shown in the live editor.
**Template Name or ID** `dropdown` (required)
Select from your approved templates. If n8n switches the field to Expression mode on first open, click **Fixed** to return to the dropdown.
**Template Variables / Body N** `text` (required)
One field per template variable (`{{1}}`, `{{2}}`, … / Body 1, Body 2, …). Required when the template has variables. Media header URL and Visit Website URL appear when the selected template needs them.
**Note** `text`
AI / internal context about this contact. Stored on the contact — **not** sent to the recipient.
**Label Names or IDs** `multiselect`
Labels to apply to this conversation.
### Mode B — Send Non Template Message (person must write to you first)
Only inside Meta’s customer service window after the contact’s last inbound message. Outside that window, use an approved template.
**Recipient Phone Number** `text` (required)
Phone number with country code.
**Message Type** `dropdown` (required)
**Text Message**, **Image Message**, **Video Message**, **Document Message**, or **Audio Message**. Nested fields:
| Message Type | Nested fields |
|--------------|---------------|
| Text Message | **Message Content** (text, required); **Enable Link Preview** (boolean, optional) |
| Image Message | **Image URL** (url, required); **Caption** (text, optional) |
| Video Message | **Video URL** (url, required); **Caption** (text, optional) |
| Document Message | **Document URL** (url, required); **Caption** (text, optional); **Filename** (text, **required**) |
| Audio Message | **Audio URL** (url, required) |
**Label Names or IDs** `multiselect`
Labels to apply to this conversation.
**Note** `text`
AI context note for this contact.
> [!WARNING]
>
> Testing this action sends a **real** WhatsApp message. Use a personal test number during setup. Media URLs must be publicly accessible.
---
## Action: Schedule WhatsApp Message
**App:** Whatsable · **Resource:** Send Message · **Operation:** Schedule WhatsApp Message
Schedules a WhatsApp message for later (template or non-template product operation), with optional reply and label conditions so it can cancel or skip when the lead is already engaged.
Message fields are the same as **Send WhatsApp Message** (template or non-template, including phone, template/variables or message type, Note, and labels), **plus** the schedule and condition fields below.
### When to send — Relative (delay from now)
Set **Schedule Type : Relative or Specific** to relative (off / false).
**Number** `select` (required)
Choose only: **1, 2, 3, 4, 5, 10, 15, 20, 30, 60, 90, or 120**.
**Unit of Time** `select` (required)
**Minutes**, **Hours**, or **Days**.
### When to send — Specific date and time
Set **Schedule Type : Relative or Specific** to specific (on / true).
**Scheduled Date and Time** `datetime` (required)
Exact send time — map from a previous step or enter a fixed value.
**Timezone** `select` (required)
Timezone for the scheduled time (global list in the n8n node).
### Recipient Reply Status : Send Only If
Optional but recommended. Cancels or skips the scheduled send if the contact replies within the chosen rule.
| Condition label |
|-----------------|
| Recipient Did Not Reply After My Last Message *(recommended default)* |
| Recipient Never Replied to Any of My Messages |
| Recipient Did Not Reply Within 20 Minutes After My Last Message |
| Recipient Did Not Reply Within 45 Minutes After My Last Message |
| Recipient Did Not Reply Within 3 Hours After My Last Message |
| Recipient Did Not Reply Within 6 Hours After My Last Message |
| Recipient Did Not Reply Within 12 Hours After My Last Message |
| Recipient Did Not Reply Within 24 Hours After My Last Message |
| Recipient Did Not Reply Within 48 Hours After My Last Message |
| Recipient Did Not Reply Within 72 Hours After My Last Message |
### Label Status : Include or Exclude (optional)
**Label Status : Include or Exclude** `select`
**Include** — only send if the contact has this label at send time. **Does Not Include** — only send if they do not.
**Label Names or IDs** `multiselect`
Label(s) evaluated when the scheduled send time arrives.
> [!WARNING]
>
> This is **not** a native drip builder inside Whatsable. Day-0 / day-3 / day-6 sequences are multiple n8n steps that each schedule one message. Whatsable sends each scheduled message; the sequence logic lives in n8n.
> [!NOTE]
>
> The live overview also shows an optional **Schedule Message** control on immediate Send flows. Prefer the dedicated **Schedule WhatsApp Message** operation when you need relative delay, reply conditions, or label conditions.
---
## Action: Manage Contact → Update Contact
**App:** Whatsable · **Resource:** Send Message · **Operation:** Manage Contact · **Product Operation:** Update Contact
(Console module name: **Update recipient**)
Updates a contact in Whatsable — AI note and labels. Lookup is by phone.
### Documented fields
**Phone Number Name or ID** `dropdown` (required)
Lookup key — choose from the loaded phone list or map an ID/expression. Creates or updates the contact for that number.
**Add a Note** `text`
AI context note for this contact (name, email, preferences, language, and so on).
**Add Label Names or IDs** `multiselect`
Labels to add. Whatsable conversation labels are the source of truth inside Whatsable.
**Remove Label Names or IDs** `multiselect`
Labels to remove. **Remove All** (when present in the remove list) clears every label on this contact.
> [!NOTE]
>
> **Assign a teammate:** Chat assignment is a product capability via Zapier / Make / API / keywords / AI. The n8n **Update Contact** fields documented on this page today are Phone Number Name or ID, Add a Note, and Add/Remove Label Names or IDs — confirm any assignee control in your live editor; do not invent a field key. Operator how-to: [Chat assignment](/features/chat-assignment) and [Team inbox](/features/team-inbox).
---
## Limits and what this does NOT do
> [!WARNING]
>
> **No native drip builder.** Multi-day sequences use n8n (or Make / Zapier) schedule steps plus reply conditions — not a built-in drip product inside Whatsable.
> [!WARNING]
>
> **No CRM ↔ Whatsable bidirectional label mirror.** Add/Remove labels update Whatsable conversation labels. They do not sync Monday/Pipedrive (or other) CRM tags as one shared store.
> [!WARNING]
>
> **Coexistence:** Do **not** uninstall the WhatsApp Business app to “enable” API or n8n. Keep using the phone; those replies can still start workflows when outgoing is enabled.
- **Bulk Message** plan: no n8n / integrations — upgrade to Pro or Agency.
- **Non-template** sends only inside the customer service window after the contact’s last inbound; otherwise use a template.
- **Group messaging** via the Notifyer/core n8n path is **not** documented as LIVE on this fields page (group send on the node is a separate Whatsable Bot product path — omit as core LIVE).
- Do not invent trigger `message_type` values beyond `text`, `audio`, `image`, and `document`.
- Do not invent location or sticker send types on n8n Notifyer operations.
- Typing-indicator dots are not a documented Whatsable automation claim.
- No documented **Get delivery status** search/action on the n8n node (unlike Zapier/Make) — do not invent one.
- Do not invent Whatsable numeric RPM on this page.
---
## Related features and next steps
- [n8n overview](/integration/n8n):
Connect, coexistence, examples, troubleshooting
- [Zapier fields](/integration/zapier/fields):
Parallel Zapier trigger/action field dictionary
- [Make fields](/integration/make/fields):
Parallel Make module field dictionary
- [Incoming message / CTWA](/api-reference/legacy/incoming-message):
Webhook payload and Click-to-WhatsApp referral object
Also: [Team inbox](/features/team-inbox) · [Chat assignment](/features/chat-assignment) · [Plans](/features/plans-bulk-message-pro-agency).
---
## FAQ
### Does the n8n trigger fire when someone replies in the WhatsApp Business app?
Yes, when coexistence is enabled and you use **Whatsable Incoming & Outgoing Message**. The node may still be labelled **On new Incoming message event**. Filter on `incoming_message` (`false`), `send_by` (for example `"WhatsApp App"`), and `was_message_by_human`.
### Can I build day-0 / day-3 / day-6 WhatsApp drips with Whatsable and n8n?
Yes, by chaining **Schedule WhatsApp Message** steps (and reply conditions) in n8n. Whatsable is not a native drip builder — the sequence logic lives in n8n.
### Does Bulk Message include n8n?
No. n8n and other integrations require **Pro** or **Agency**.
### Which fields does Update Contact document today?
**Phone Number Name or ID**, **Add a Note**, **Add Label Names or IDs**, and **Remove Label Names or IDs**. Do not invent an Assign field label for n8n.
### Is there a Get delivery status action in n8n?
Not on the documented Whatsable n8n node surface for Notifyer/core. Use Zapier **Get Delivery Status** or Make **Get delivery status** if you need that lookup, or handle delivery via webhooks/API — do not invent an n8n delivery-status operation.
Source: /integration/n8n/fields
# n8n
> Connect WhatsAble with n8n. Run workflows on WhatsApp messages, send templates and media, schedule messages and update contacts with the verified Whatsable node. Coexistence is supported; you keep the WhatsApp Business app on your phone.
# WhatsAble integration with n8n
*Automate your WhatsApp messaging workflows with n8n and WhatsAble*
n8n is a workflow automation platform that you use in n8n Cloud or on your own server. The verified **Whatsable** node connects your n8n workflows to your WhatsApp number in WhatsAble.
Use it to:
- Start a workflow when a contact writes to your WhatsApp number.
- Send an approved template, with variables, a media header and a URL button.
- Send text, image, video or document messages inside the 24-hour window.
- Schedule a message for a later date and time.
- Add labels and an AI note to a contact, so that your team and your [AI agent](https://console.whatsable.app/ai-bots) see the same context.
- Read Click-to-WhatsApp ad data (`source_id`, `source_url`, `ctwa_clid`) on new leads.
> [!NOTE]
>
> **Meta WhatsApp Coexistence is supported on Whatsable.** You do **not** need to delete the WhatsApp Business app or stop using the number on your phone. After Embedded Signup, the same number works in the WhatsApp Business app, the Whatsable inbox, and automations (Make, Zapier, n8n, API, and webhooks) at the same time.
## Available operations at a glance
- **Trigger**:
- On new Incoming message event
- **Actions**:
- Send template via Whatsable
- Send non-template via Whatsable
- Update recipient (note and labels)
For every field of the node, see [What can the Whatsable n8n node send and receive?](/integration/n8n/fields).
## How the n8n node works with WhatsAble
The Whatsable node calls the WhatsAble integration API with your API key. The Make, Zapier and n8n apps all use this API. It is not [API v1](/api-reference/v1), which is for your own code. One API key works for both.
> [!NOTE]
>
> The **What this key can do** setting of an API key limits API v1 only. It does not limit the n8n node.
### API keys and WhatsApp numbers
An API key belongs to one default WhatsApp number in your organization. This decides how the node behaves:
- Every message that the node sends with the key goes out from the key's default number.
- A trigger that you register with the key receives the messages of that number only.
- The template list in the node shows the approved templates of the WhatsApp Business account that holds that number.
To work with two numbers, create one API key for each number. Then create one n8n credential for each key.
To move a key to another number, open [**API keys**](https://console.whatsable.app/settings/api-keys) and use **Change number** on the key. The triggers that the key registered move with it. Messages that are already scheduled keep their number.
## Prerequisites
Before you start, make sure that you have:
- **WhatsAble account**:
A WhatsAble plan that includes integrations (Pro or Agency) and a connected WhatsApp number. The Basic plan does not include integrations.
- **n8n account**:
Access to [n8n](https://app.n8n.cloud/login), in n8n Cloud or on your own server.
> [!TIP]
>
> New to WhatsAble? [Sign up here](https://console.whatsable.app/sign-up).
## Set up your WhatsAble account
**Connect your WhatsApp number**
Connect your WhatsApp Business number to WhatsAble with the [embedding process](/features/embedding). You do **not** need to delete the WhatsApp Business app. [Coexistence](/features/embedding#whatsapp-coexistence) is supported.
Your connected numbers are in **Settings** → [**Business Numbers**](https://console.whatsable.app/settings/numbers).
> [!NOTE]
>
> Meta requires this process to verify your business and to apply the WhatsApp Business Platform policies.
**Set up message templates**
WhatsAble sends two kinds of WhatsApp messages:
Option A: Template messages
A WhatsApp template is a message format that Meta approves. You need a template to start a new conversation. A template can contain variables for personalization.
**Open Templates**
In the WhatsAble sidebar, click [**Templates**](https://console.whatsable.app/templates).
**Start a new template**
Click **New template**.
**Fill out the form**
Complete the template form with these details:
**Name** `string` (required)
A name for internal reference. WhatsAble changes it to lowercase with underscores, as Meta requires.
**Language** `string` (required)
The language of the template.
**Category** `string` (required)
Marketing, Utility or Authentication.
**Header (optional)** `text | image | document | video`
A text, image, document or video header.
**Body** `string` (required)
The message text. Use `{{1}}`, `{{2}}` for variables, numbered in sequence from 1.
**Footer (optional)** `string`
A short line under the body.
**Buttons** `button`
Optional quick reply, website, phone or copy code buttons.
**Submit for review**
Click **Submit for review**.
> [!WARNING]
>
> Meta usually reviews a template within 24 hours. A template with no promotional language has a better chance of approval.
Create the template on the WhatsApp Business account of the number that your API key uses. For the full procedure, see [Message templates](/features/message-templates).
Option B: Non-template messages
Inside the 24-hour window, you can send messages with no template:
- **Text**:
Plain text messages
- **Images**:
Photos and graphics in supported formats
- **Documents**:
PDF, Word and other file types
- **Videos**:
MP4 and other supported video formats
> [!NOTE]
>
> You can send a non-template message only in the 24-hour customer service window. The window opens when the customer writes to your business.
**Create your WhatsAble API key**
Only owners and admins can create API keys.
1. In the WhatsAble sidebar, click [**API keys**](https://console.whatsable.app/settings/api-keys).
2. Click **Create API key**.
3. In **Key name**, type a name that tells you where the key is used, for example `n8n production`.
4. In **Number**, choose the WhatsApp number that the key sends from.
5. Click **Create key**.
6. Click **Copy key**, then click **I have saved it**.
You can reveal and copy the key again later from the same page. For more about keys, see [API keys](/features/api-keys).
> [!WARNING]
>
> Treat the key like a password. Anyone with the key can send messages to your contacts. Never share it publicly or commit it to version control.
**Open the n8n page in WhatsAble (optional)**
In the WhatsAble sidebar, under **Integrations**, click [**n8n**](https://console.whatsable.app/integrations/n8n). This page lists the operations, the fields a trigger sends, the npm install command and video walkthroughs. Click **View on n8n.io** to open the Whatsable node on n8n.io.
## Integrate with n8n
*Introducing the New Features of N8N Nodes Version 2.3.3*
> [!TIP]
>
> On self-hosted n8n, you can also install the node from npm: `npm install n8n-nodes-whatsable`.
**Set up your n8n workflow**
1. Log in to your n8n account.
2. Click **Create Workflow**.
3. Add a trigger node:
- Popular triggers are Google Forms, Jotform, ClickUp or a Schedule trigger.
- Connect and configure the trigger for your use case.
Whatsable trigger node (incoming and outgoing)
> [!NOTE]
>
> Use the Whatsable trigger to run n8n when WhatsApp messages are **received or sent**, including replies typed in the WhatsApp Business app on your phone. Select the **incoming and outgoing** credential type so that those events reach n8n, not only the WhatsAble inbox.
**Add the Whatsable trigger node**
Add the Whatsable trigger node to your workflow:
1. Click the **+** button on your workflow canvas to add a new node.
2. Search for "Whatsable" in the node library.
3. Select the node with the official Whatsable logo.
4. In the trigger options, choose **On new Incoming message event**. That is the label of the node. With the credential **Whatsable incoming and outgoing messages**, the same trigger also runs for outgoing messages, including replies typed in the WhatsApp Business app. Filter on `incoming_message`.
*Adding the Whatsable trigger labelled On new Incoming message event*
> [!TIP]
>
> The trigger listens for WhatsApp activity and starts your workflow. Outgoing events include messages typed in the WhatsApp Business app (`send_by`: `WhatsApp App`).
**Configure the credential**
Set up your Whatsable API credential:
**Copy the webhook URL:**
1. In the Whatsable Trigger node parameters, find the **Webhook URLs** section at the top.
2. Select **Production URL** and click the URL to copy it.
3. Keep this URL. You need it for the credential.
*Copying the Production URL for webhook configuration*
**Create the credential:**
1. In the **Credential to connect with** dropdown, click **+ Create new credential**.
2. Select **Whatsable API**. For phone-app and inbox replies, choose the credential for **Whatsable incoming and outgoing messages**.
3. Paste your WhatsAble API key in the **API Key** field.
4. Paste the Production URL in the **Production URL** field.
5. Give the credential a name, for example "WhatsAble Production".
6. Click **Save**.
When you click **Save**, n8n checks your API key and registers the Production URL with WhatsAble. The trigger then appears in **Settings** → [**Webhooks**](https://console.whatsable.app/settings/outgoing-webhooks) in WhatsAble.
*Credential configuration for Whatsable Trigger node*
> [!NOTE]
>
> n8n encrypts and stores your credentials. Never share your API key publicly or commit it to version control.
**Test and activate the workflow**
Finish the setup, then test and activate your trigger:
**Response configuration:**
1. In the **Respond** dropdown, select when n8n responds:
- **Immediately**: n8n responds as soon as the trigger runs.
- **When Last Node Finishes**: n8n waits until the whole workflow finishes.
**Testing:**
1. Click **Execute step** on the Whatsable node to run a test.
2. Make sure that n8n shows a success message.
3. If the test fails, read the error message and correct your configuration.
> [!TIP]
>
> When the workflow is active, it processes incoming **and** outgoing messages with your logic. Use `incoming_message`, `send_by` and `was_message_by_human` in later nodes to branch on the direction and the sender.
> [!WARNING]
>
> Test your workflow fully before you activate it in production.
**Add the Whatsable node**
1. Click the **+** button after your trigger node.
2. Search for "Whatsable" in the nodes panel.
3. Select the node with the official Whatsable logo.
4. Choose **Send template via Whatsable** or **Send non-template via Whatsable**.
*Whatsable Node: Send Message via Send template via Whatsable / Send non-template via Whatsable*
**Configure the WhatsAble credential**
1. In the Whatsable node **Parameters**, find the **Credential to connect with** dropdown.
2. Select **+ Create new credential**.
3. Paste your WhatsAble API key.
4. Give the credential a name, for example "WhatsAble Production".
5. Click **Save**.
*Configuring the WhatsAble credential*
**Configure your message**
1. In the **Resource** dropdown, select **Send Message**.
2. In the **Operation** dropdown, choose **Send template via Whatsable** for template messages. Choose **Send non-template via Whatsable** for other messages, which you can send only in the 24‑hour window.
3. Complete the required fields:
**Operation: Send template via Whatsable**
**Configure the message**
Complete the required fields:
**Recipient** `string` (required)
The recipient's number with the country code (for example +14155552671), or data from an earlier node
**Template Name or ID** `dropdown` (required)
Select one of your approved templates. The list shows the approved templates of the WhatsApp Business account that holds your key's number
**Template message details** `string` (required)
Fill in the fields that your template needs:
- For text: type your message content.
- For media: give a public URL of your file.
- A caption, if you want one (for media files).
> [!WARNING]
>
> For all media types, make sure that your file URLs are public and that the file format is supported.
**Note** `string`
(Optional) A note that WhatsAble saves on the contact, for internal tracking and for the AI agent
**Label Names or IDs** `dropdown`
(Optional) The labels from your WhatsAble [labels](https://console.whatsable.app/settings/labels) to add to the conversation
**Schedule Message** `selection`
(Optional) The date and time to send your message
**Operation: Send non-template via Whatsable**
**Recipient phone number**
Type the **Phone Number** with the country code.
**Select the message type**
Choose one of these message types:
- **Text Message**:
For plain text messages
- **Document Message**:
For documents (PDF, Word)
- **Image Message**:
For images (JPEG, PNG)
- **Video Message**:
For videos (MP4, 3GP)
**Complete the message details**
Fill in the fields for your message type:
- For text: type your message content.
- For media: give a public URL of your file.
- A caption, if you want one (for media files).
> [!WARNING]
>
> For all media types, make sure that your file URLs are public and that the file format is supported.
**Label Names or IDs**
(Optional) Select the labels from your WhatsAble [labels](https://console.whatsable.app/settings/labels) to add to the conversation.
**Schedule Message**
(Optional) Select the date and time to send your message.
**Test and activate your workflow**
1. Click **Test Step** on the Whatsable node.
2. If the test passes, n8n shows a success message.
3. Go back to your workflow.
4. Click **Save** to save the workflow.
5. Set the **Active** switch in the top-right corner to on.
> [!TIP]
>
> Your workflow now runs. Each time your trigger conditions occur, n8n sends WhatsApp messages through WhatsAble.
## Incoming and outgoing WhatsApp messages
Whatsable can deliver **both incoming and outgoing** messages to your webhook — including messages typed by hand in the **WhatsApp Business app** on your phone. Outgoing messages reach only an endpoint you add under **Settings → Webhooks**, with **Send to** set to **Make, Zapier or n8n** and **Outgoing messages** ticked. The Whatsable triggers in the n8n, Make and Zapier apps receive incoming messages only.
This is possible because Whatsable supports [Meta WhatsApp Coexistence](/features/embedding#whatsapp-coexistence). You keep using WhatsApp Business on your phone; those hand-typed replies still reach an external webhook and can start an automation. They are not limited to the Whatsable inbox.
*Trigger n8n (or any webhook) from WhatsApp messages — including replies typed in the WhatsApp Business app*
The payload is the same whether you use [n8n](/integration/n8n), [Make](/integration/make), [Zapier](/integration/zapier), or a [custom webhook](/api-reference/legacy/incoming-message). For outgoing messages, paste your workflow's webhook URL into such an endpoint rather than using the app trigger. [Watch the walkthrough on YouTube](https://www.youtube.com/watch?v=UfW-KwS4gBI).
### Direction, sending system, and team member
Use these three fields to tell *what happened* and *who sent it*:
**incoming_message** `boolean`
`true` when a contact sent a message **to** your business. `false` when your business sent a message **to** the contact (outgoing). Filter on this field to run logic only for one direction.
**send_by** `string`
Which system or person sent an **outgoing** message:
| `send_by` value | Meaning |
|---|---|
| `WhatsApp App` | Typed by hand in the WhatsApp Business app on a phone |
| `AI` | Sent by your AI agent, including its follow-ups, or by an automatic reply: the away message or the keep-the-window-open follow-up |
| `Notifyer` | Anything else: a teammate in the inbox, a broadcast, the API or an automation |
`Notifyer` is the old name of Whatsable. The value stays the same so existing automations keep working. Incoming messages carry no `send_by`.
**was_message_by_human** `boolean`
`false` when your AI agent or an automatic reply (the away message or the keep-the-window-open follow-up) sent the message, `true` for every other outgoing message. Combine it with `send_by` to tell a reply typed on the phone from one sent through Whatsable.
### Example payload: message typed on the phone
This is the JSON Whatsable POSTs when someone types a reply in the WhatsApp Business app. `incoming_message` is `false`, `send_by` is `"WhatsApp App"`, and `was_message_by_human` is `true`.
```json
{
"last_messages": "[{\"type\":\"bot\",\"content\":\"Hello n8n\",\"timestamp\":\"2026-08-15T12:24:47.000Z\",\"content_type\":\"text\"},{\"type\":\"user\",\"content\":\"hi\",\"timestamp\":\"2026-08-12T12:27:42.746Z\",\"content_type\":\"text\"}]",
"conversation_paragraph": "Bot (12:24:47 PM): Hello n8n ; User (12:27:42 PM): hi",
"phone_number": 14155552671,
"recipient_name": "Alex Martinez",
"user_id": "158c59e1-ea85-4d0b-b70c-65328ba67a8e",
"last_message_of_user": "hi",
"last_message_of_bot": "Hello n8n",
"message_type": "text",
"user_last_message_time": 1786722580,
"bot_last_message_time": 1786797014,
"attachment_url": "",
"note": "email: alex\nName: Alex",
"note_automation": "email: alex\nName: Alex",
"labels": "n8n, webhook-test",
"incoming_message": false,
"send_by": "WhatsApp App",
"was_message_by_human": true
}
```
> [!NOTE]
>
> `last_message_of_bot` is the last message **your business** sent — whether a human typed it in the WhatsApp Business app or the Whatsable inbox, or your AI agent or an automation sent it. `last_messages` is a JSON **string** of the last 15 messages (parse it before iterating). `phone_number` may arrive as a number rather than a string.
When a teammate sends the same reply from the Whatsable inbox instead of the phone app, the payload is identical except:
```json
{
"incoming_message": false,
"send_by": "Notifyer",
"was_message_by_human": true
}
```
### Click-to-WhatsApp ad attribution
When a contact messages you after tapping a **Click-to-WhatsApp** ad (Facebook, Instagram, or WhatsApp Status), Meta includes a `referral` object on that inbound event. Whatsable forwards it in [webhook](/api-reference/legacy/incoming-message#click-to-whatsapp-ads) and trigger data (n8n, Make, Zapier).
Use it to see **which ad, creative, and platform** produced the lead — then label the chat, route it, or send `ctwa_clid` back to Meta for campaign optimization.
> [!NOTE]
>
> `referral` is typically present on the **first inbound message** after the ad click. Later messages in the same conversation usually omit it. Persist `ctwa_clid` and `source_id` as soon as you see them.
| Field | What it tells you |
|---|---|
| `source_type` | `"ad"` for an ad, `"post"` for an organic post |
| `source_id` | Ad or post ID — use this to group leads by creative |
| `source_url` | Where they tapped (Instagram permalink, Facebook/ad URL) |
| `headline` / `body` | Ad copy the lead saw |
| `media_type` | `"image"` or `"video"` |
| `image_url` / `video_url` | Creative asset URL |
| `ctwa_clid` | Click ID for Meta Conversions API attribution |
```json
{
"incoming_message": true,
"last_message_of_user": "Quiero información",
"referral": {
"source_type": "ad",
"source_id": "52540693396957",
"source_url": "https://www.instagram.com/p/DZiVBz7gAF9/",
"headline": "Expo Nissan",
"body": "Aprovechá la EXPONISSAN y llevate tu nuevo Nissan Kicks Play Sense MT.",
"media_type": "image",
"image_url": "https://scontent.xx.fbcdn.net/v/t45.1600-4/example.jpg",
"ctwa_clid": "AfhN-JKvx8HeFTmfB-Tu11zktQRJ-MNdMV1mwvDNxHnpYrGl-jVf3OEFhLva_MP41zYRe5ErUteWFn3v4gkkjzfIEVr9J_u8GAo3-o6DqShykM4Zsl14FcU5MyThsCoQ"
}
}
```
Whatsable never sends Meta's Cloud API envelope. On an endpoint that uses the **Native payload** format, the same object is at `message.referral`. Full field reference and a complete example: [Message webhooks — Click-to-WhatsApp ads](/api-reference/legacy/incoming-message#click-to-whatsapp-ads).
## Example use cases
- **Order confirmations**:
Send an order confirmation each time a customer places an order
- **Appointment reminders**:
Schedule a reminder before each appointment
- **Click-to-WhatsApp ads**:
Read `referral.source_id`, `source_url` and `headline` to label leads by ad and by platform
- **Customer support**:
Send each support request to the correct team member
- **Delivery updates**:
Tell customers the status of their delivery
- **Payment reminders**:
Send payment reminders for overdue accounts
## Best practices
Test thoroughly
Test your workflows with your own phone numbers before you activate them for production.
Use templates
When possible, use approved templates. They give better delivery and keep you inside the WhatsApp rules.
Add personalization
Put customer names and specific details in your messages. This gets more replies.
Follow WhatsApp policies
Make sure that all message content follows the WhatsApp Business policies, so that Meta does not restrict your account.
Monitor performance
Check your message delivery regularly on the WhatsAble [**Analytics**](https://console.whatsable.app/analytics) page.
## Troubleshooting
Messages do not send
**Check the API key**
Make sure that the n8n credential has the correct WhatsAble API key, and that the key is active on the [**API keys**](https://console.whatsable.app/settings/api-keys) page.
**Check the number of the key**
If WhatsAble answers that the number of the API key is not connected, use **Change number** on the key to move it to a connected number.
**Check the phone numbers**
Make sure that phone numbers are in international format with the country code (for example +14155552671).
**Check your plan**
Make sure that your subscription is active and that your plan includes integrations (Pro or Agency). See **Settings** → [**Billing**](https://console.whatsable.app/settings/billing).
**Outgoing events from the WhatsApp Business app**
Use the trigger **On new Incoming message event** with the credential **Whatsable incoming and outgoing messages**. With that credential, the same trigger also runs for outgoing messages. Type a test reply on your phone, and make sure that `incoming_message` is `false` and `send_by` is `WhatsApp App`. You do not need to delete the WhatsApp Business app.
Template errors
**Check the variables**
Make sure that you fill in all the variables of your template.
**Check the formats**
Make sure that each variable has the expected format (text, number, date).
**Check the template**
Make sure that the template has the **Approved** status on the [**Templates**](https://console.whatsable.app/templates) page. The list in the node shows only the templates of the WhatsApp Business account that holds your key's number.
Media does not show
**Check URL access**
Make sure that your media URLs are public. Open them in a private browser window to test them.
**Check the file format**
Make sure that WhatsApp supports the file format.
**Check the file size**
Make sure that the files are within the WhatsApp limits:
- Images: up to 5 MB
- Videos: up to 16 MB
- Documents: up to 100 MB
## Need help?
Our support team can help you:
- [Email support](mailto:team@whatsable.app):
Contact team@whatsable.app
- [Schedule a demo](https://tidycal.com/axelmeta/whatsapp-notifications-by-whatsable):
Book a personal walkthrough
- **Live chat**:
Click the chat button in the bottom right corner of the WhatsAble app. The inbox hides it, so open another page first
> [!NOTE]
>
> WhatsAble also works with [Make](/integration/make) and [Zapier](/integration/zapier).
Source: /integration/n8n
# Pipedrive
> Connect WhatsAble to Pipedrive to log WhatsApp conversations as activities, create persons, deals and leads, and send WhatsApp messages from deals and persons.
# WhatsAble integration with Pipedrive
*WhatsApp messaging inside your Pipedrive sales process*
> [!TIP]
>
> This guide shows how to connect WhatsAble to Pipedrive. After you connect, WhatsAble writes your WhatsApp conversations into Pipedrive, and your team sends WhatsApp messages from deals and persons.
## What the integration does
- **Conversations become activities**:
Each WhatsApp message, sent or received, becomes a done activity on the matching person, deal, lead or organization.
- **New chats create records**:
A message from an unknown number can create a new person. A new chat can also create a deal, a lead, or both.
- **Send from a deal or person**:
Open the WhatsAble chat window in Pipedrive. Reply, send an approved template, or schedule a message.
- **WhatsAble inbox in Pipedrive**:
Read your WhatsApp conversations in a Pipedrive window, mark them read or unread, and start new conversations.
The integration works with the other WhatsAble features. Messages that your AI agent, your broadcasts, the API or the WhatsApp Business app send also become Pipedrive activities. The activity names the source, for example "You (via AI)".
## Prerequisites
- **WhatsAble account**:
A WhatsAble organization on the Pro or Agency plan, with at least one connected WhatsApp number. The Basic plan does not include Pipedrive.
- **Pipedrive account**:
Access to a [Pipedrive](https://www.pipedrive.com/) company.
> [!NOTE]
>
> Only organization owners and admins can connect Pipedrive or change its settings in WhatsAble.
> [!TIP]
>
> New to WhatsAble? [Sign up here](https://console.whatsable.app/sign-up).
## Set up your WhatsAble account
**Connect your WhatsApp number**
Before you send WhatsApp messages, complete the [embedding process](/features/embedding). It connects your WhatsApp Business account to WhatsAble.
> [!NOTE]
>
> Meta requires the embedding process for business verification and for compliance with the WhatsApp Business Platform policies.
**Set up message templates**
WhatsApp lets you send two types of messages:
Option A: Template messages
A template is a message format that Meta approves before you send it. A template can have variables for personalization. You need a template to start a conversation, or to write after the 24-hour customer service window closes.
**Open Templates**
In WhatsAble, click **Templates** in the menu.
**Start a new template**
Click **New template**.
**Choose the number**
If you have more than one WhatsApp number, choose the number the template is for.
**Fill out the form**
Complete the template form:
**Name** `string` (required)
A name for internal reference
**Language** `string` (required)
The language of the template
**Category** `string` (required)
The message category
**Header** `text | image | document | video`
Optional. A header for the message
**Body** `string` (required)
The message text. Use **Insert variable** to add a placeholder for personalization
**Footer** `string`
Optional. A short line below the body
**Buttons** `button`
Optional. Quick replies or call-to-action buttons
**Submit for review**
Click **Submit for review**.
> [!WARNING]
>
> Meta decides most templates within 15 minutes. Some take up to 24 hours. Templates without promotional language get approval more often.
> [!NOTE]
>
> For the full template guide, see [Message templates](/features/message-templates).
Option B: Non-template messages
Inside the 24-hour customer service window, you can send these messages without a template:
- **Text**:
Plain text messages
- **Images**:
Photos and graphics in supported formats
- **Documents**:
PDFs, Word documents, and other file types
- **Videos**:
MP4 and other supported video formats
> [!NOTE]
>
> The 24-hour customer service window opens when the customer writes to your business. You can send non-template messages only while it is open.
## Connect WhatsAble to Pipedrive
**Open the Pipedrive page**
In WhatsAble, open [**Integrations → Pipedrive**](https://console.whatsable.app/integrations/pipedrive).
**Start the connection**
Click **Connect Pipedrive organization**.
**Allow access in Pipedrive**
Pipedrive opens and asks you to allow access. Review the permissions and allow access for your Pipedrive company.
**Confirm the connection**
Pipedrive sends you back to WhatsAble, and the message "Pipedrive connected." shows. The page shows a **Connected** badge and a card with your Pipedrive company, the **Connected date**, the **Company ID** and the **Pipedrive user**.
> [!TIP]
>
> Your Pipedrive company is connected. Continue with the settings below.
If WhatsAble is already installed in Pipedrive, click **Connect Pipedrive organization**. The first time, click **Install the Pipedrive app**, or open [https://api.whatsable.app/integrations/pipedrive/auth](https://api.whatsable.app/integrations/pipedrive/auth). If you are not signed in, WhatsAble asks you to sign in or create an account, then connects the Pipedrive company.
> [!NOTE]
>
> Each Pipedrive company links to one WhatsAble organization. A new connection syncs only the messages that arrive after it.
> [!NOTE]
>
> A teammate who does not see the WhatsAble panel in Pipedrive may need to authorize the app once in their own Pipedrive account.
## Choose your sync settings
The Pipedrive page shows these settings before you connect, with the controls disabled. After you connect, choose the values and click **Save changes**. The message "Pipedrive settings saved." confirms the save.
### When activities sync
| Setting | Options | What it does |
|---|---|---|
| **Interval** | **Instantly**, **Every 10 min**, **Every 30 min**, **Every 60 min / 1 hour** | How often WhatsAble writes WhatsApp activities to Pipedrive. With an interval, the messages of that period go into one activity. |
| **Timezone** | Any timezone | The timezone of the message times in an activity. WhatsAble sets it from your browser when you connect. You can change it. |
| **Activity type** | **Automatic**, or **Choose a type** | The Pipedrive activity type. **Automatic** uses Email when that type is on in Pipedrive. Otherwise it uses Task, Call, or Meeting. |
> [!NOTE]
>
> The interval applies to a person that already exists in Pipedrive. When WhatsAble creates a new person, it writes the first activity at once.
### WhatsApp numbers
Each connected WhatsApp number has its own card. Set these options for each number:
**Write activities** `switch`
When it is off, messages on this number never create Pipedrive activities.
**Activity sync in** `switches`
The record types that get the activity: **Deal**, **Lead**, **Person** and **Organization**. Turn on one or more.
**Auto-add chat as new person** `switch`
When it is on, a message from an unknown contact creates a new person in Pipedrive.
**Action on new chat** `settings`
What a new chat creates. See the next section.
### Action on new chat
Two situations have their own action. Each action that creates a deal also needs a **Pipeline**.
| Situation | When it applies | Actions |
|---|---|---|
| **No open deals or leads** | A new message arrives, and the matched person has no open deal or lead. | **Create new deal**, **Create new lead**, **Create deal and lead**, **Do nothing** |
| **Closed deals** | A message is sent or received, and the matched person has only a closed (won or lost) deal. | **Create new Deal**, **Continue syncing to a closed deal**, **Reopen last closed deal, then sync messages** |
> [!NOTE]
>
> A deal or lead that WhatsAble creates has the contact's name followed by "(Via WhatsApp)" as its title. A new deal and a reopened deal apply only to a message that arrives after the deal closed.
## What WhatsAble writes into Pipedrive
Activities
Each activity has a subject like "Whatsapp chat (2026-10-29) via Whatsable (+15551234567) on +15557654321 (Your business)". The first number is the contact. The second number is the WhatsApp number that sent or received the message.
The activity note holds the message text and the speaker. A received message shows the contact's name or number. A sent message shows "You", or the source, for example "You (via AI)", "You (via broadcast)", "You (via API)" or "You (via WhatsApp Business App)". A voice note with a transcript shows the transcript.
WhatsAble marks each activity as done. Images, documents, audio and video files of up to 50 MB are attached to the activity.
Persons
WhatsAble finds the person by phone number. When **Auto-add chat as new person** is on and no person matches, WhatsAble creates one with the contact's name and phone number.
If your Pipedrive has a person field named "WhatsApp Username", WhatsAble writes the contact's WhatsApp username into it.
Deals and leads
WhatsAble adds the activity to the person's open deals and open leads. When the person has none, the **Action on new chat** settings decide what WhatsAble creates or reopens.
## Send WhatsApp messages from Pipedrive
### Check the WhatsAble panel
**Open a deal or a person**
In Pipedrive, open a deal from your pipeline, or a person from **Contacts**.
**Find the panel**
In the right-hand panel, scroll down past the **Summary** section. Find the **WhatsAble Integration** section.
The panel shows these facts:
- **WhatsApp**:
The name and number of the WhatsApp number that syncs to Pipedrive. Other connected numbers show under a "more numbers" link.
- **Organization**:
Your WhatsAble organization
- **Subscription**:
Your WhatsAble subscription status. It must be **Active** or **Trialing**.
- **WhatsApp connection**:
**Active** when your WhatsApp number is connected
- **Last WhatsApp communication with contact**:
The date and time of the most recent message with this contact
### Open the WhatsAble chat window
**Open the chat**
In the **WhatsAble Integration** section, click **Live Chat**. The WhatsAble chat window opens with the conversation for this deal or person.
**Choose the numbers**
If the person has more than one phone number, choose one in **Contact number**. If you have more than one WhatsApp number, choose the sender in **WhatsApp number**.
The window shows the recent messages with this contact. From the window, you can do the actions below.
### Send a message now
**Type the message**
Type your message in the **Type a message** box. To add a file, click the paperclip.
**Send it**
Click **Send**.
> [!NOTE]
>
> You can send a free message only while the 24-hour customer service window is open. When it is closed, the window shows "Session closed. Only approved templates can be sent".
### Send a template
**Pick a template**
Click **Template**. Choose an approved template from the list.
**Fill in the values**
Under **Fill in the values**, fill in each template variable, for example the customer name or an order number. Check the **Preview**.
**Send the template**
Click **Send template**.
> [!TIP]
>
> The template goes out at once and shows in the conversation.
### Schedule a message
**Open the schedule panel**
Type a message and click **Schedule**. To schedule a template instead, pick the template, fill in the values, and choose to schedule it.
**Choose the time**
Pick a suggested time, for example **Tomorrow morning**, or pick **Another time**. WhatsAble uses your browser's timezone.
**Set the conditions (optional)**
In **Send only if**, choose a reply condition, for example **No reply within 24 hours**. With **Only if labels match**, the message goes out only when the contact has, or does not have, the labels you choose.
**Confirm**
Click **Schedule**. WhatsAble sends the message at that time, if the conditions are true.
> [!NOTE]
>
> A scheduled message cannot include files.
### The WhatsAble inbox in Pipedrive
The WhatsAble inbox shows your WhatsApp conversations in a Pipedrive window. You can read and reply to conversations, mark them read or unread, and start a new conversation with a template.
## Payment failures
When a payment for your WhatsAble plan fails, Pipedrive keeps working for 15 days. Activities keep syncing in that period. The Pipedrive page in WhatsAble and the WhatsAble panel in Pipedrive show how many days are left. An owner can update the card in [**Settings → Billing**](https://console.whatsable.app/settings/billing).
After 15 days, or when the subscription is canceled, Pipedrive stops until the organization has an active Pro or Agency subscription again.
## Disconnect
**Open the Pipedrive page**
Open [**Integrations → Pipedrive**](https://console.whatsable.app/integrations/pipedrive).
**Disconnect**
Click **Disconnect**, then confirm.
> [!WARNING]
>
> WhatsApp activities stop syncing to Pipedrive. The WhatsAble panel and inbox in Pipedrive show "Whatsable is not connected" until an admin connects again. Messages that arrive while Pipedrive is disconnected do not sync later.
## Best practices
Store phone numbers with the country code
WhatsAble matches persons by phone number. Save numbers with the country code (for example +1 for the US) for a reliable match.
Choose the records that need the activity
Turn on only the record types your team reads. Activities on deals help sales. Activities on persons keep the full contact history.
Pick a pipeline for new deals
Use a pipeline for WhatsApp leads, so that new chats do not mix with your other deals.
Keep templates ready
Create templates for the messages you send often. Test each template with your own number before you use it with customers.
Read the conversation before you send
The chat window shows the recent messages. Read them first, so that you do not send the same information twice.
Use reply conditions on scheduled follow-ups
Use **Send only if** so that a follow-up does not go out after the customer already replied.
## Troubleshooting
The panel shows 'Whatsable is not connected'
An admin must connect Pipedrive in WhatsAble. Open [**Integrations → Pipedrive**](https://console.whatsable.app/integrations/pipedrive) and click **Connect Pipedrive organization**.
The panel shows 'Subscription required' or 'Not on your plan'
Pipedrive needs an active Pro or Agency subscription. An owner can subscribe or upgrade in [**Settings → Billing**](https://console.whatsable.app/settings/billing).
WhatsApp connection shows Inactive
Connect a WhatsApp number in [**Settings → Business Numbers**](https://console.whatsable.app/settings/numbers). If the problem continues, contact WhatsAble support.
No activities appear in Pipedrive
**Check the number settings**
On the Pipedrive page in WhatsAble, make sure **Write activities** is on for the number. Turn on at least one record type.
**Check the interval**
With an interval, the activity arrives at the end of that period.
**Check the activity type**
If the chosen activity type is off in Pipedrive, WhatsAble uses an active type. Choose another type, or turn the type on in Pipedrive.
**Check your Pipedrive subscription**
When your Pipedrive subscription is unpaid, Pipedrive refuses the requests from WhatsAble. Connecting again does not fix this.
No templates in the list
The list shows only templates that Meta approved for the chosen WhatsApp number. Create a template under **Templates** and wait for the approval.
No phone number on this person
Add a phone number to the person in Pipedrive. Include the country code, for example +1234567890.
A scheduled message was not sent
Check the conditions you set. A message with **Send only if** or **Only if labels match** does not go out when the condition is false. Also check that your WhatsApp number was connected at the scheduled time.
A message failed
**Check the recipient**
Make sure that the recipient has an active WhatsApp account on that number.
**Check the content**
Make sure that your message follows the WhatsApp Business messaging policies.
**Contact support**
If the problem continues, contact WhatsAble support with the message details.
## Need help?
Our support team is ready to help you:
- [Email support](mailto:team@whatsable.app):
Contact team@whatsable.app
- [Schedule a demo](https://tidycal.com/axelmeta/whatsapp-notifications-by-whatsable):
Book a personal walkthrough
- **Live chat**:
Click the chat button in the bottom right corner of the WhatsAble app
Source: /integration/pipedrive
# What Zapier triggers and actions does Whatsable expose?
> Every Whatsable Zapier trigger and action field: New Incoming or Outgoing WhatsApp Message, Send, Schedule Follow-Up, Update a Contact, and Get Delivery Status.
This page is the **field dictionary** for the Whatsable app on Zapier — every unlocked trigger and action input/output you can map in a Zap. Use it when you already know you want Zapier and need exact labels, types, and requiredness.
For connect steps, coexistence walkthrough, examples, and troubleshooting, use [Zapier overview](/integration/zapier).
## Prerequisites
- **Plan:** Zapier requires **Pro** or **Agency** (Bulk Message does not include integrations).
- **WhatsApp number:** Connected in Whatsable. Coexistence is supported — keep the WhatsApp Business app; phone replies can fire the trigger.
- **Zapier app:** Public listing **Whatsable**, slug [`whatsable-ca185063`](https://zapier.com/apps/whatsable-ca185063/integrations). Search **Whatsable** in the Zap editor.
- **API key:** From the Whatsable console API Keys page. In the Zap editor, set **Credential Type** to **Notifyer** and paste that key (core product key — not a Meta Graph token).
> [!NOTE]
>
> The marketplace app is **public**. A console “Connect to Zapier” deep link is onboarding only — it does not mean the app is invite-only.
---
## At a glance
| Kind | Exact name in Zapier |
|------|----------------------|
| Trigger (instant) | **New Incoming or Outgoing WhatsApp Message** |
| Action | **Send WhatsApp Message** |
| Action | **Schedule a Follow-Up Message** |
| Action | **Update a Contact** |
| Action | **Get Delivery Status of a Message** |
---
## Trigger: New Incoming or Outgoing WhatsApp Message
**Type:** Instant · **App:** Whatsable · Internal key: `whatsable_message_trigger`
Fires when you receive or send a WhatsApp message. You can act on incoming only, outgoing only, or both by filtering after the trigger. Outgoing events include replies typed in the WhatsApp Business app, the Whatsable inbox, and automations.
### Configure inputs
**Credential Type** `dropdown` (required)
Select **Notifyer**.
**How to Map Trigger Data** `dropdown`
Leave as default unless you have a specific mapping need.
### Output fields — contact identity
**phone_number** `text / number`
The contact’s phone number (for example `14155550187`). May arrive as a number rather than a string.
**user_id** `text`
Unique internal ID for this contact (UUID).
**recipient_name** `text`
Display name for this contact in Whatsable.
**labels** `text`
Comma-separated labels on the conversation (for example `Hot Lead, Buyer Qualified`).
### Output fields — message data
**message_type** `text`
Documented values: `text`, `audio`, `image`, or `document`.
**incoming_message** `boolean`
`true` when the contact sent a message to your business; `false` when your business sent a message to the contact.
**send_by** `text`
On outgoing messages: `"WhatsApp App"` (phone app), a teammate’s name (inbox), or an automation/app name. Empty on incoming messages.
**was_message_by_human** `boolean`
`true` when a person sent the message (phone app or inbox); `false` when a bot or automation sent it.
**attachment_url** `text`
Public URL of any attached file, or empty when there is none.
**is_scheduled** `boolean`
`true` when this event is a scheduled delivery; `false` for real-time messages.
**referral** `object`
Present when the inbound message came from a Click-to-WhatsApp ad or post. Typically on the **first** inbound after the tap; later messages usually omit it. Nested keys:
| Key | Meaning |
|-----|---------|
| `source_type` | `"ad"` or `"post"` |
| `source_id` | Ad or post ID |
| `source_url` | Where they tapped |
| `headline` / `body` | Ad copy |
| `media_type` | `"image"` or `"video"` |
| `image_url` / `video_url` | Creative URLs |
| `ctwa_clid` | Click ID for Meta Conversions API |
Persist `ctwa_clid` and `source_id` as soon as you see them. See also [Incoming message — Click-to-WhatsApp ads](/api-reference/legacy/incoming-message#click-to-whatsapp-ads).
### Output fields — conversation history
**last_messages** `text`
JSON string of recent messages (about the last 20). Each item includes `type` (`user` / `bot`), `content`, `timestamp`, and `content_type`. Parse before iterating.
**last_message_of_user** `text`
The most recent message from the contact.
**last_message_of_bot** `text`
The most recent message your business sent (human or automation).
**user_last_message_time** `number`
Unix timestamp (milliseconds) of the contact’s last message.
**bot_last_message_time** `number`
Unix timestamp (milliseconds) of your business’s last message to this contact.
**conversation_paragraph** `text`
Flat, readable conversation history — useful for LLM prompts without parsing `last_messages`.
### Output fields — AI context and automation
**note** `text`
AI context note stored on this contact. Update it with **Update a Contact**.
**note_automation** `text`
Automation instructions for the AI based on conversation events.
**scheduled_messages** `text`
Description of messages currently scheduled to this contact.
> [!TIP]
>
> Use a Zapier Filter on `incoming_message`, `send_by`, and `was_message_by_human` to split incoming vs outgoing and human phone-app replies vs automations.
---
## Action: Send WhatsApp Message
**App:** Whatsable · Internal key: `send_whatsapp_message`
Sends a WhatsApp message using the official WhatsApp API. You can add labels and write notes that appear in Whatsable’s chat interface. Choose **Configuration**: template (start a conversation / proactive) or non-template (inside the customer service window).
### Mode A — Send WhatsApp Template (to start conversation)
**Phone Number** `text` (required)
Recipient in international format — digits only, no `+` or spaces (for example `14155550187`).
**Template Name or ID** `dropdown` (required)
Select from your approved templates. The dropdown shows a live preview of body, language, and category.
**Body 1, Body 2, … (variables)** `text` (required)
One field per template variable (`{{1}}`, `{{2}}`, …). Required when the template has variables.
**Media** `text`
Public URL for a media header (image, video, or document). Only when the selected template has a media header.
**Visit Website URL** `text`
Full URL including the dynamic portion, when the template has a dynamic URL button.
**Note** `text`
AI context about this contact. Stored on the contact — **not** sent to the recipient.
**Label Names or IDs** `multiselect`
Labels to apply to this conversation.
### Mode B — Non-template message (person must write to you first)
Only inside Meta’s customer service window after the contact’s last inbound message. Outside that window, use an approved template.
**Recipient Phone Number** `text` (required)
Same digit format as Phone Number above.
**Message Type** `dropdown` (required)
**Text Message**, **Image Message**, **Video Message**, **Document Message**, or **Audio Message**. Nested fields:
| Message Type | Nested fields |
|--------------|---------------|
| Text Message | **Message Content** (text, required); **Enable Link Preview** (boolean, optional, default false) |
| Image Message | **Image URL** (url, required); **Caption** (text, optional) |
| Video Message | **Video URL** (url, required); **Caption** (text, optional) |
| Document Message | **Document URL** (url, required); **Caption** (text, optional); **Filename** (text, required) |
| Audio Message | **Audio URL** (url, required) |
**Label Names or IDs** `multiselect`
Labels to apply to this conversation.
**Note** `text`
AI context note for this contact.
> [!WARNING]
>
> Testing this action sends a **real** WhatsApp message. Use a personal test number during setup.
---
## Action: Schedule a Follow-Up Message
**App:** Whatsable · Internal key: `schedule_follow_up_message`
Schedules a WhatsApp message for later, with optional reply and label conditions so it can cancel or skip when the lead is already engaged.
Message fields are the same as **Send WhatsApp Message** (template or non-template, including phone, template/variables or message type, Note, and labels), **plus** the schedule and condition fields below.
### When to send — Relative (delay from now)
**Delay Value** `select` (required)
Choose only: **1, 2, 3, 4, 5, 10, 15, 20, 30, 60, 90, or 120**.
**Delay Unit** `select` (required)
**Minutes**, **Hours**, or **Days**.
### When to send — Specific date and time
**Date & Time** `datetime` (required)
Exact send time — map from a previous step or enter a fixed value.
**Timezone** `select` (required)
Timezone for the scheduled time (global list in the Zap editor).
### Reply Condition
Optional but recommended. Cancels the scheduled send if the contact replies within the chosen rule.
| Condition label |
|-----------------|
| Recipient did not reply after my last message *(recommended default)* |
| Recipient never replied to any of my messages |
| Recipient did not reply within 20 minutes |
| Recipient did not reply within 45 minutes |
| Recipient did not reply within 3 hours |
| Recipient did not reply within 6 hours |
| Recipient did not reply within 12 hours |
| Recipient did not reply within 24 hours |
| Recipient did not reply within 48 hours |
| Recipient did not reply within 72 hours |
### Label condition (optional)
**Label Condition** `select`
**Include** — only send if the contact has this label at send time. **Does Not Include** — only send if they do not.
**Label** `select`
Label evaluated when the scheduled send time arrives.
> [!WARNING]
>
> This is **not** a native drip builder inside Whatsable. Day-0 / day-3 / day-6 sequences are multiple Zap steps (or Paths) that each schedule one message. Whatsable sends each scheduled message; the sequence logic lives in Zapier.
---
## Action: Update a Contact
**App:** Whatsable · Internal key: `update_contact`
Updates a contact in Whatsable — display name, AI note, and labels. The Zapier action description also states you can **assign the conversation to a teammate**.
### Documented fields
**Phone Number** `text` (required)
Lookup key in international digit format. Creates a contact if none exists yet.
**Display Name** `text`
Display name in the Whatsable chat interface.
**Add a Note** `text`
AI context note for this contact (name, email, preferences, language, and so on).
**Add Label Names or IDs** `multiselect`
Labels to add. Whatsable conversation labels are the source of truth inside Whatsable.
**Remove Label Names or IDs** `multiselect`
Labels to remove. **Remove All** clears every label on this contact.
> [!NOTE]
>
> **Assign a teammate:** Update a Contact can assign the conversation to a teammate (Zapier action description + Zapier / Make / API). Documented fields on this page today are Phone Number, Display Name, Add a Note, and Add/Remove Label Names or IDs. Confirm any assignee control in your live Zap editor sample — do not rely on an undocumented field name. Operator how-to: [Chat assignment](/features/chat-assignment) and [Team inbox](/features/team-inbox).
---
## Action: Get Delivery Status of a Message
**App:** Whatsable · Internal key: `get_message_delivery_status`
Checks whether a previously sent WhatsApp message was delivered — useful for fallback paths (for example email) when a number may be wrong or inactive.
**Message ID** `text` (required)
Map from the output of a prior **Send WhatsApp Message** or **Schedule a Follow-Up Message** step (`message_id` in Zapier’s data mapper).
Use the returned **status** in a Zapier Filter or Paths step to branch delivered vs not-delivered flows (for example send a fallback email).
> [!NOTE]
>
> If a lookup fails in Zap History, re-check the mapped Message ID and contact support if needed. Do not assume every Message ID always resolves in every environment.
---
## Limits and what this does NOT do
> [!WARNING]
>
> **No native drip builder.** Multi-day sequences use Zapier (or Make / n8n) schedule steps plus reply conditions — not a built-in drip product inside Whatsable.
> [!WARNING]
>
> **No CRM ↔ Whatsable bidirectional label mirror.** Add/Remove labels update Whatsable conversation labels. They do not sync Monday/Pipedrive (or other) CRM tags as one shared store.
> [!WARNING]
>
> **Coexistence:** Do **not** uninstall the WhatsApp Business app to “enable” API or Zapier. Keep using the phone; those replies can still start Zaps.
- **Bulk Message** plan: no Zapier / integrations — upgrade to Pro or Agency.
- **Non-template** sends only inside the customer service window after the contact’s last inbound; otherwise use a template.
- **Phone format:** digits only, full international, no `+`, spaces, or dashes.
- **Group messaging** via Zapier is **not** documented on this fields page (not an unlocked Official API docs surface here).
- Do not invent trigger `message_type` values beyond `text`, `audio`, `image`, and `document`.
- Typing-indicator dots are not a documented Whatsable automation claim.
---
## Related features and next steps
- [Zapier overview](/integration/zapier):
Connect, coexistence, examples, troubleshooting
- [Team inbox](/features/team-inbox):
Shared inbox and human replies alongside automations
- [Chat assignment](/features/chat-assignment):
Assign chats via Zapier, Make, API, keywords, or AI
- [Incoming message / CTWA](/api-reference/legacy/incoming-message):
Webhook payload and Click-to-WhatsApp referral object
Also: [Make overview](/integration/make) · [n8n overview](/integration/n8n) · [Plans](/features/plans-bulk-message-pro-agency).
---
## FAQ
### Does the Zapier trigger fire when someone replies in the WhatsApp Business app?
Yes, when coexistence is enabled and outgoing events are included. Filter on `incoming_message`, `send_by` (for example `"WhatsApp App"`), and `was_message_by_human`.
### Can I build day-0 / day-3 / day-6 WhatsApp drips with Whatsable and Zapier?
Yes, by chaining **Schedule a Follow-Up Message** steps (and reply conditions) in Zapier. Whatsable is not a native drip builder — the sequence logic lives in Zapier.
### Does Bulk Message include Zapier?
No. Zapier and other integrations require **Pro** or **Agency**.
### Which fields does Update a Contact document today?
**Phone Number**, **Display Name**, **Add a Note**, **Add Label Names or IDs**, and **Remove Label Names or IDs**. Assigning a teammate is supported as a product capability via Zapier; confirm the live editor for any assignee control rather than inventing a field name.
Source: /integration/zapier/fields
# Zapier
> WhatsAble triggers and actions in Zapier: run Zaps on WhatsApp messages, send templates and media, schedule follow-ups, update contacts and check delivery status. Coexistence is supported; you keep the WhatsApp Business app on your phone.
# WhatsAble integration with Zapier
Zapier is a platform that runs automated workflows, called Zaps. The **Whatsable** app in Zapier connects your Zaps to your WhatsApp number in WhatsAble.
Use it to:
- Start a Zap when a contact writes to your WhatsApp number.
- Send a WhatsApp template or a free-form message from any other app in Zapier.
- Schedule a follow-up that WhatsAble cancels when the contact replies.
- Keep the AI note and the labels of a contact in sync with your CRM or your forms.
- Check whether a message was delivered, and send a fallback email when it was not.
Labels, notes and scheduled messages that a Zap sets appear in the WhatsAble [inbox](https://console.whatsable.app/inbox). Your team and your [AI agent](https://console.whatsable.app/ai-bots) use the same data.
> [!NOTE]
>
> **Meta WhatsApp Coexistence is supported on Whatsable.** You do **not** need to delete the WhatsApp Business app or stop using the number on your phone. After Embedded Signup, the same number works in the WhatsApp Business app, the Whatsable inbox, and automations (Make, Zapier, n8n, API, and webhooks) at the same time.
## Available triggers and actions at a glance
The app is called **Whatsable** in Zapier. Each step signs in with your WhatsAble API key.
- **Trigger (Instant)**:
- New Incoming or Outgoing WhatsApp Message
- **Actions**:
- Send WhatsApp Message
- Schedule a Follow-Up Message
- Update a Contact
- Get Delivery Status of a Message
---
## How the Zapier app works with WhatsAble
The Zapier app calls the WhatsAble integration API with your API key. The Make, Zapier and n8n apps all use this API. It is not [API v1](/api-reference/v1), which is for your own code. One API key works for both.
> [!NOTE]
>
> The **What this key can do** setting of an API key limits API v1 only. It does not limit the Zapier app.
### API keys and WhatsApp numbers
An API key belongs to one default WhatsApp number in your organization. This decides how the Zapier app behaves:
- Every message that the Zapier app sends with the key goes out from the key's default number.
- A trigger that the Zapier app registers with the key receives the messages of that number only.
- The template list in the **Send WhatsApp Message** action shows the approved templates of the WhatsApp Business account that holds that number.
To work with two numbers, create one API key for each number. Then connect one Whatsable account in Zapier for each key.
To move a key to another number, open [**API keys**](https://console.whatsable.app/settings/api-keys) and use **Change number** on the key. The triggers that the key registered move with it. Messages that are already scheduled keep their number.
---
## Prerequisites
Before you start, make sure that you have:
- **WhatsAble account**:
A WhatsAble plan that includes integrations (Pro or Agency) and a connected WhatsApp number. The Basic plan does not include integrations.
- **Zapier account**:
Access to [Zapier](https://zapier.com/sign-up/), where you build and turn on Zaps.
> [!TIP]
>
> New to WhatsAble? [Sign up here](https://console.whatsable.app/sign-up).
---
## Set up your WhatsAble account
**Connect your WhatsApp number**
Connect your WhatsApp Business number to WhatsAble with the [embedding process](/features/embedding). You do **not** need to delete the WhatsApp Business app. [Coexistence](/features/embedding#whatsapp-coexistence) is supported.
Your connected numbers are in **Settings** → [**Business Numbers**](https://console.whatsable.app/settings/numbers).
> [!NOTE]
>
> Meta requires this process to verify your business and to apply the WhatsApp Business Platform policies.
**Set up message templates (if you send template messages)**
A WhatsApp template is a message format that Meta approves. You need a template to start a new conversation with a contact. Create the template in WhatsAble, and get it approved, before you use it in Zapier.
How to create a template
**Open Templates**
In the WhatsAble sidebar, click [**Templates**](https://console.whatsable.app/templates).
**Start a new template**
Click **New template**.
**Fill out the form**
**Name** `string` (required)
A name for internal reference. WhatsAble changes it to lowercase with underscores, as Meta requires.
**Language** `string` (required)
The language of the template.
**Category** `string` (required)
Marketing, Utility or Authentication.
**Header (optional)** `text | image | document | video`
A text, image, document or video header.
**Body** `string` (required)
The message text. Use `{{1}}`, `{{2}}` for variables, numbered in sequence from 1.
**Footer (optional)** `string`
A short line under the body.
**Buttons** `button`
Optional quick reply, website, phone or copy code buttons.
**Submit for review**
Click **Submit for review**.
> [!WARNING]
>
> Meta usually reviews a template within 24 hours. Utility and Authentication templates have the highest approval rates.
Create the template on the WhatsApp Business account of the number that your API key uses. For the full procedure, see [Message templates](/features/message-templates).
**Create your WhatsAble API key**
Only owners and admins can create API keys.
1. In the WhatsAble sidebar, click [**API keys**](https://console.whatsable.app/settings/api-keys).
2. Click **Create API key**.
3. In **Key name**, type a name that tells you where the key is used, for example `Zapier production`.
4. In **Number**, choose the WhatsApp number that the key sends from.
5. Click **Create key**.
6. Click **Copy key**, then click **I have saved it**.
You can reveal and copy the key again later from the same page. For more about keys, see [API keys](/features/api-keys).
> [!WARNING]
>
> Treat the key like a password. Anyone with the key can send messages to your contacts. Never share it publicly or commit it to version control.
---
## Connect WhatsAble to Zapier
**Open the Zapier page in WhatsAble (optional)**
In the WhatsAble sidebar, under **Integrations**, click [**Zapier**](https://console.whatsable.app/integrations/zapier). This page lists the triggers and actions, the fields a trigger sends, and video walkthroughs. Click **Open in Zapier** to open the Whatsable app on zapier.com.
**Create a new Zap**
1. Log in to your Zapier account at [zapier.com](https://zapier.com).
2. Click **+ Create** and select **Zaps**.
3. In the Zap editor, add your first step. Follow the trigger or action guides in the [step reference](#step-reference) below.
---
## Step reference
### Trigger
---
### New Incoming or Outgoing WhatsApp Message
> [!NOTE]
>
> **Type:** Instant trigger | **App:** Whatsable | **Connection:** your WhatsAble API key
**Description in Zapier:** *"When you receive or send a WhatsApp message. You can choose to only trigger this when you send or receive a message, or both."*
Runs as soon as a WhatsApp message event occurs on the number of your API key. You can set it to run on **incoming messages only**, **outgoing messages only**, or **both directions**. Outgoing events include messages **typed by hand in the WhatsApp Business app**, messages from the WhatsAble inbox, and messages from automations. Use it for AI chatbots, lead qualification, CRM sync, and automations that must react when a teammate replies on the phone.
When you turn on the Zap, the Zapier app registers its trigger URL with WhatsAble. The trigger then appears in **Settings** → [**Webhooks**](https://console.whatsable.app/settings/outgoing-webhooks), where you can see and change what it receives.
> [!NOTE]
>
> After a team member replies in a chat, this trigger stops sending that chat for 24 hours. This prevents your Zap and your team from both answering. To change or remove the pause, edit the webhook in **Settings** → [**Webhooks**](https://console.whatsable.app/settings/outgoing-webhooks) and change **Pause when your team replies**.
---
#### Set up the trigger
**Add the trigger step**
1. In your Zap editor, click the **Trigger** step.
2. Search for **Whatsable** in the app search bar.
3. Select **Whatsable** in the results.
4. Under **Trigger Event**, select **New Incoming or Outgoing WhatsApp Message**.
5. Click **Continue**.
**Connect your WhatsAble account**
1. In the **Account** section, click **Sign in to Whatsable**.
2. A dialog asks for your API key. Paste your WhatsAble API key.
3. Click **Yes, Continue to Whatsable**.
> [!NOTE]
>
> You do this once. You can use the connected account again in every Whatsable step of every Zap.
> [!WARNING]
>
> Paste the WhatsAble API key, not a WhatsApp or Meta API key. Copy the key from the [**API keys**](https://console.whatsable.app/settings/api-keys) page.
**Configure the trigger**
The **Configure** section shows these fields:
**Credential Type** `dropdown` (required)
Select **Notifyer**. This is the option for a WhatsAble API key
**How to Map Trigger Data** `dropdown`
How Zapier maps the trigger data to your Zap fields. Keep the default unless you need a specific mapping
Click **Continue**.
**Test the trigger**
1. Click **Test trigger**. Zapier gets a recent message event from WhatsAble.
2. If Zapier finds a record, it shows a sample with all the output fields.
3. Check that the fields look correct.
> [!TIP]
>
> If no test data appears, send a WhatsApp message to your connected number first. Then click **Test trigger** again. Zapier needs at least one recent event for a sample.
> [!TIP]
>
> When the test passes, your trigger is ready. Click **Continue** to add your first action.
---
#### Trigger output fields
When this trigger runs, your Zap receives these fields from WhatsAble. You can map any of them into your action steps.
Contact identity
**phone_number** `text`
The contact's number in international format, digits only (for example `14155550187`). It is the contact who sent or received the message. On an outgoing message, it arrives as a number, not as text
**user_id** `text`
The contact's ID in WhatsAble
**recipient_name** `text`
The contact's display name in WhatsAble
**labels** `text`
The labels of the conversation, separated by commas (for example `Hot Lead, Buyer Qualified, Urgent`)
Message data
**message_type** `text`
The type of the message, for example `text`, `image`, `audio` or `document`. The value is `referral` for a text message that came from a Click-to-WhatsApp ad. The value is `button` or `interactive` when the contact tapped a button or a list row
**incoming_message** `boolean`
`false` when your business sent the message. On an incoming message, the field is `true` or is not sent. Use a **Filter** step after the trigger to act on one direction only
**send_by** `text`
Outgoing messages only. `WhatsApp App` for a reply typed in the WhatsApp Business app. `AI` for a message from the AI agent, follow-ups included. `Notifyer` for every other sender: the WhatsAble inbox, a broadcast, the API, Make, Zapier or n8n
**was_message_by_human** `boolean`
Outgoing messages only. `false` when the AI agent sent the message. `true` for every other sender
**attachment_url** `text`
The public link to an attached file (image, document, audio). Empty when there is no attachment
**is_scheduled** `boolean`
`true` when the delivery combines several quick messages into one request. You turn this on with **Combine quick messages** in **Settings** → **Webhooks**. `false` for a delivery of one message
**referral** `object`
Only on the first message of a chat that started from a Facebook or Instagram ad or post. The object exactly as Meta sends it, with keys such as `source_type`, `source_id`, `source_url`, `headline`, `body`, `media_type`, the creative URLs and `ctwa_clid`. See [Click-to-WhatsApp ads](/api-reference/legacy/incoming-message#click-to-whatsapp-ads)
**button_reply** `object`
Only when the contact tapped a button or a list row. It contains `id` (the ID that you gave the option), `title` (its label), `message_id` and `whatsapp_message_id` (the message that offered the option). Each ID is `null` when it is not known
Conversation history
**last_messages** `text`
A JSON string with the recent messages of the conversation. Each item has `type` (`user` or `bot`), `content`, `timestamp` and `content_type`. Parse it before you loop over it
**last_message_of_user** `text`
The latest message from the contact
**last_message_of_bot** `text`
The latest message that your business sent to this contact, from a person or from a bot. It helps an AI not to repeat the same answer
**user_last_message_time** `number`
The Unix time, in seconds, of the contact's latest message. `null` when the recent history has no message from the contact
**bot_last_message_time** `number`
The Unix time, in seconds, of the latest message from your business. `null` when the recent history has no message from your business
**conversation_paragraph** `text`
The conversation as one block of readable text. Give it to an AI prompt directly, without parsing `last_messages`
AI context and automation fields
**note** `text`
The AI note saved on the contact. It holds lead details such as name, email, preferences and language. Set or change it with the **Update a Contact** action
**note_automation** `text`
Automation instructions that the AI follows for this contact
**scheduled_messages** `text`
Only on a delivery that combines several quick messages. The messages of the contact from the wait time, in one text: `Message 1: "…" — Message 2: "…"`. The text is `not text` when the batch is empty
> [!NOTE]
>
> To act on one direction only, add a Zapier **Filter** step on `incoming_message`. An outgoing message has `false`. An incoming message has `true`, or does not have the field. So to keep only incoming messages, continue when `incoming_message` is not `false`. Use `send_by` and `was_message_by_human` to see whether the WhatsApp Business app, the AI agent or another sender sent it.
## Incoming and outgoing WhatsApp messages
Whatsable can deliver **both incoming and outgoing** messages to your webhook — including messages typed by hand in the **WhatsApp Business app** on your phone. Outgoing messages reach only an endpoint you add under **Settings → Webhooks**, with **Send to** set to **Make, Zapier or n8n** and **Outgoing messages** ticked. The Whatsable triggers in the n8n, Make and Zapier apps receive incoming messages only.
This is possible because Whatsable supports [Meta WhatsApp Coexistence](/features/embedding#whatsapp-coexistence). You keep using WhatsApp Business on your phone; those hand-typed replies still reach an external webhook and can start an automation. They are not limited to the Whatsable inbox.
*Trigger n8n (or any webhook) from WhatsApp messages — including replies typed in the WhatsApp Business app*
The payload is the same whether you use [n8n](/integration/n8n), [Make](/integration/make), [Zapier](/integration/zapier), or a [custom webhook](/api-reference/legacy/incoming-message). For outgoing messages, paste your workflow's webhook URL into such an endpoint rather than using the app trigger. [Watch the walkthrough on YouTube](https://www.youtube.com/watch?v=UfW-KwS4gBI).
### Direction, sending system, and team member
Use these three fields to tell *what happened* and *who sent it*:
**incoming_message** `boolean`
`true` when a contact sent a message **to** your business. `false` when your business sent a message **to** the contact (outgoing). Filter on this field to run logic only for one direction.
**send_by** `string`
Which system or person sent an **outgoing** message:
| `send_by` value | Meaning |
|---|---|
| `WhatsApp App` | Typed by hand in the WhatsApp Business app on a phone |
| `AI` | Sent by your AI agent, including its follow-ups, or by an automatic reply: the away message or the keep-the-window-open follow-up |
| `Notifyer` | Anything else: a teammate in the inbox, a broadcast, the API or an automation |
`Notifyer` is the old name of Whatsable. The value stays the same so existing automations keep working. Incoming messages carry no `send_by`.
**was_message_by_human** `boolean`
`false` when your AI agent or an automatic reply (the away message or the keep-the-window-open follow-up) sent the message, `true` for every other outgoing message. Combine it with `send_by` to tell a reply typed on the phone from one sent through Whatsable.
### Example payload: message typed on the phone
This is the JSON Whatsable POSTs when someone types a reply in the WhatsApp Business app. `incoming_message` is `false`, `send_by` is `"WhatsApp App"`, and `was_message_by_human` is `true`.
```json
{
"last_messages": "[{\"type\":\"bot\",\"content\":\"Hello n8n\",\"timestamp\":\"2026-08-15T12:24:47.000Z\",\"content_type\":\"text\"},{\"type\":\"user\",\"content\":\"hi\",\"timestamp\":\"2026-08-12T12:27:42.746Z\",\"content_type\":\"text\"}]",
"conversation_paragraph": "Bot (12:24:47 PM): Hello n8n ; User (12:27:42 PM): hi",
"phone_number": 14155552671,
"recipient_name": "Alex Martinez",
"user_id": "158c59e1-ea85-4d0b-b70c-65328ba67a8e",
"last_message_of_user": "hi",
"last_message_of_bot": "Hello n8n",
"message_type": "text",
"user_last_message_time": 1786722580,
"bot_last_message_time": 1786797014,
"attachment_url": "",
"note": "email: alex\nName: Alex",
"note_automation": "email: alex\nName: Alex",
"labels": "n8n, webhook-test",
"incoming_message": false,
"send_by": "WhatsApp App",
"was_message_by_human": true
}
```
> [!NOTE]
>
> `last_message_of_bot` is the last message **your business** sent — whether a human typed it in the WhatsApp Business app or the Whatsable inbox, or your AI agent or an automation sent it. `last_messages` is a JSON **string** of the last 15 messages (parse it before iterating). `phone_number` may arrive as a number rather than a string.
When a teammate sends the same reply from the Whatsable inbox instead of the phone app, the payload is identical except:
```json
{
"incoming_message": false,
"send_by": "Notifyer",
"was_message_by_human": true
}
```
### Click-to-WhatsApp ad attribution
When a contact messages you after tapping a **Click-to-WhatsApp** ad (Facebook, Instagram, or WhatsApp Status), Meta includes a `referral` object on that inbound event. Whatsable forwards it in [webhook](/api-reference/legacy/incoming-message#click-to-whatsapp-ads) and trigger data (n8n, Make, Zapier).
Use it to see **which ad, creative, and platform** produced the lead — then label the chat, route it, or send `ctwa_clid` back to Meta for campaign optimization.
> [!NOTE]
>
> `referral` is typically present on the **first inbound message** after the ad click. Later messages in the same conversation usually omit it. Persist `ctwa_clid` and `source_id` as soon as you see them.
| Field | What it tells you |
|---|---|
| `source_type` | `"ad"` for an ad, `"post"` for an organic post |
| `source_id` | Ad or post ID — use this to group leads by creative |
| `source_url` | Where they tapped (Instagram permalink, Facebook/ad URL) |
| `headline` / `body` | Ad copy the lead saw |
| `media_type` | `"image"` or `"video"` |
| `image_url` / `video_url` | Creative asset URL |
| `ctwa_clid` | Click ID for Meta Conversions API attribution |
```json
{
"incoming_message": true,
"last_message_of_user": "Quiero información",
"referral": {
"source_type": "ad",
"source_id": "52540693396957",
"source_url": "https://www.instagram.com/p/DZiVBz7gAF9/",
"headline": "Expo Nissan",
"body": "Aprovechá la EXPONISSAN y llevate tu nuevo Nissan Kicks Play Sense MT.",
"media_type": "image",
"image_url": "https://scontent.xx.fbcdn.net/v/t45.1600-4/example.jpg",
"ctwa_clid": "AfhN-JKvx8HeFTmfB-Tu11zktQRJ-MNdMV1mwvDNxHnpYrGl-jVf3OEFhLva_MP41zYRe5ErUteWFn3v4gkkjzfIEVr9J_u8GAo3-o6DqShykM4Zsl14FcU5MyThsCoQ"
}
}
```
Whatsable never sends Meta's Cloud API envelope. On an endpoint that uses the **Native payload** format, the same object is at `message.referral`. Full field reference and a complete example: [Message webhooks — Click-to-WhatsApp ads](/api-reference/legacy/incoming-message#click-to-whatsapp-ads).
---
### Actions
Actions work in WhatsAble: they send messages, schedule follow-ups, update contacts and check delivery status.
---
### Send WhatsApp Message
> [!NOTE]
>
> **Type:** Action | **App:** Whatsable | **Connection:** your WhatsAble API key
**Description in Zapier:** *"Send WhatsApp Messages using the official WhatsApp API. You can add labels to a WhatsApp conversation and also write notes about the lead that will appear in Whatsable's chat interface."*
Sends a WhatsApp message at once to a phone number, from the default number of your API key. It sends **template messages**, which start a new conversation or reach out first, and **non-template messages**, which you can send inside the 24-hour window. Labels and notes that you set here appear in the WhatsAble inbox.
---
#### Set up the action
**Add an action step**
1. In your Zap editor, click **+** to add a new step, or click an existing action step.
2. Search for **Whatsable** in the app search bar and select it.
3. Under **Action Event**, select **Send WhatsApp Message**.
4. Click **Continue**.
**Connect your WhatsAble account**
Select your connected Whatsable account in the dropdown. Or click **Sign in to Whatsable** to add an account with your WhatsAble API key.
**Configure the message**
In the **Configure** section, choose your message type in the **Configuration** dropdown:
**Send WhatsApp Template (to start conversation)**
Use this to **start a new conversation** with a contact, or to reach out first. It needs a template that Meta approved.
**Phone Number** `text` (required)
The recipient's number in international format, digits only, with no `+` or spaces (for example `14155550187`). Map it from an earlier step or type it
**Template Name or ID** `dropdown` (required)
Select one of your approved templates. The list shows the approved templates of the WhatsApp Business account that holds your key's number, with a preview of the body, the language and the category
**Body 1, Body 2, ... (variables)** `text` (required)
A field appears for each variable of the template (`{{1}}`, `{{2}}`...). Map each one to data from earlier steps (for example the contact name from a form)
**Media** `text`
If the template has a media header (image, video or document), the public URL of the file. This field shows only for a template with a media header
**Visit Website URL** `text`
If the template has a dynamic URL button, the full URL value, including the dynamic part
**Note** `text`
AI context about this contact (name, email, preferences, language, budget). WhatsAble saves it on the contact, and the AI reads it to personalize later replies. The recipient does not see it
**Label Names or IDs** `multiselect`
Labels to add to this conversation, for internal tracking and routing. Labels appear in the WhatsAble inbox, and the label condition of a follow-up can use them
**Send a non-template message (person must write to you first)**
Use this to send a message **inside an active conversation**. You can send it only within 24 hours of the contact's last incoming message. It supports several message types.
**Recipient Phone Number** `text` (required)
The recipient's number in international format, digits only, with no `+` or spaces (for example `14155550187`)
**Message Type** `dropdown` (required)
Choose the type of message to send:
Text Message
**Message Content** `text` (required)
The text to send to the contact
**Enable Link Preview** `boolean`
Set to `true` to show a preview card when the message contains a link. Default: `false`
Image Message
**Image URL** `url` (required)
The public URL of the image file (JPEG, PNG)
**Caption** `text`
Text under the image
Video Message
**Video URL** `url` (required)
The public URL of the video file (MP4)
**Caption** `text`
Text under the video
Document Message
**Document URL** `url` (required)
The public URL of the document file (PDF, DOCX)
**Caption** `text`
Text with the document
**Filename** `text` (required)
The file name that the recipient sees (for example `invoice-2026.pdf`)
Audio Message
**Audio URL** `url` (required)
The public URL of the audio file (MP3, OGG)
**Label Names or IDs** `multiselect`
Labels to add to this conversation. Labels appear in the WhatsAble inbox
**Note** `text`
The AI note for this contact. The AI reads it to personalize later replies
**Test the action**
1. Click **Continue** to go to the **Test** section.
2. Click **Test step**. Zapier sends a real message with your configuration.
3. Check WhatsApp to make sure that the message arrived.
4. If the test passes, click **Publish** to turn on your Zap, or add more steps first.
> [!WARNING]
>
> A test of this action sends a real WhatsApp message. Use your own number during setup, so that no real contact gets a test message.
---
### Schedule a Follow-Up Message
> [!NOTE]
>
> **Type:** Action | **App:** Whatsable | **Connection:** your WhatsAble API key
**Description in Zapier:** *"Schedule a follow-up to get sent later and add conditions so it only gets sent if the lead did not reply to you."*
Schedules a WhatsApp message for a **later time**. An optional **reply condition** cancels the message when the recipient replies before it is sent. Use it for no-reply follow-up sequences, re-engagement and nurture workflows that stop when a lead replies.
---
#### Set up the action
**Add an action step**
1. In your Zap editor, click **+** to add a new step.
2. Search for **Whatsable** and select it.
3. Under **Action Event**, select **Schedule a Follow-Up Message**.
4. Click **Continue**.
**Connect your WhatsAble account**
Select your connected Whatsable account, or add one with your WhatsAble API key.
**Choose your message type**
In the **Configure** section, select **Send WhatsApp Template** or **Send a non-template message** in the **Configuration** dropdown.
The message fields are the same as in the **Send WhatsApp Message** action above. Fill in the phone number, select your template or message type, map the variables, and set labels and a note if you want.
**Set when to send the message**
**Relative (Delay from now)**
Sends the message after a delay from the time this Zap step runs:
**Delay Value** `select` (required)
Choose 1, 2, 3, 4, 5, 10, 15, 20, 30, 60, 90 or 120
**Delay Unit** `select` (required)
Choose **Minutes**, **Hours** or **Days**
**Specific Date & Time**
Sends the message at an exact date and time:
**Date & Time** `datetime` (required)
The date and time to send the message. Map it from an earlier step (for example an appointment time from a calendar trigger), or type a fixed value
**Timezone** `select` (required)
The time zone of the scheduled time, from the full list (GMT-11 to GMT+12)
**Set a reply condition (recommended)**
The reply condition tells WhatsAble to **cancel the scheduled message** when the recipient replies in the time that you choose. This keeps follow-ups away from contacts who already talk to you.
**Reply Condition** `select`
| Condition | WhatsAble cancels the message when... |
|-----------|-------------------------------|
| Recipient did not reply after my last message | The contact replies at any time before the scheduled send |
| Recipient never replied to any of my messages | The contact has replied to you at some time |
| Recipient did not reply within 20 minutes | The contact replies within 20 minutes |
| Recipient did not reply within 45 minutes | The contact replies within 45 minutes |
| Recipient did not reply within 3 hours | The contact replies within 3 hours |
| Recipient did not reply within 6 hours | The contact replies within 6 hours |
| Recipient did not reply within 12 hours | The contact replies within 12 hours |
| Recipient did not reply within 24 hours | The contact replies within 24 hours |
| Recipient did not reply within 48 hours | The contact replies within 48 hours |
| Recipient did not reply within 72 hours | The contact replies within 72 hours |
> [!TIP]
>
> For most follow-up sequences, use **"Recipient did not reply after my last message"**. Then no follow-up goes to a contact who already talks to you. This protects the reputation of your WhatsApp number and keeps the conversation natural.
**Set a label condition (optional)**
Send the scheduled message only when the contact has, or does not have, a specific label at the send time:
**Label Condition** `select`
**Include**: send only when the contact has this label.
**Does Not Include**: send only when the contact does not have this label.
**Label** `select`
The label that WhatsAble checks at the scheduled send time
**Test and activate**
Click **Continue**, then **Test step**, to make sure that WhatsAble queues the follow-up. You can see the scheduled messages in the contact's conversation in the WhatsAble inbox.
> [!NOTE]
>
> Scheduled messages appear in each contact's conversation in the WhatsAble [inbox](https://console.whatsable.app/inbox). You can cancel a scheduled message there at any time.
---
### Update a Contact
> [!NOTE]
>
> **Type:** Action | **App:** Whatsable | **Connection:** your WhatsAble API key
**Description in Zapier:** *"Assign conversation to someone in your team, Add information in the notes, add/remove labels. Simply put the phone number and what information you want to change. This appears in the chat interface of our system."*
Updates a contact in WhatsAble: the display name, the labels, and the AI note. Use it to keep WhatsAble contacts in sync with your CRM, your forms or other external data.
---
#### Set up the action
**Add an action step**
1. In your Zap editor, click **+** to add a new step.
2. Search for **Whatsable** and select it.
3. Under **Action Event**, select **Update a Contact**.
4. Click **Continue**.
**Connect your WhatsAble account**
Select your connected Whatsable account, or add one with your WhatsAble API key.
**Fill in the contact fields**
**Phone Number** `text` (required)
The contact's number in international format, digits only, with no `+` or spaces (for example `14155550187`). WhatsAble finds the contact by this number. If no contact has this number, WhatsAble creates one
**Display Name** `text`
The name of the contact in the WhatsAble inbox
**Add a Note** `text`
Sets the AI note for this contact. The AI reads this field to personalize its replies and to qualify leads. A clear, structured note gives better AI conversations.
**Recommended note format:**
```
email: john@example.com | Name: John Smith
Looking for: 3BR house, $500k budget, north suburbs
Pre-approved: Yes | Language: English
Best time to contact: evenings after 6pm
```
**Add Label Names or IDs** `multiselect`
One or more labels to **add** to this contact. WhatsAble creates a label that does not exist yet. You can use labels in the label condition of a follow-up and for routing
**Remove Label Names or IDs** `multiselect`
One or more labels to **remove** from this contact. Select **Remove All** to remove every label at once
**Test the action**
Click **Continue**, then **Test step**. Open the contact in the WhatsAble inbox to make sure that the name, the labels and the note are correct.
> [!TIP]
>
> Put **Update a Contact** as the **first action** in your Zap, before **Send WhatsApp Message**. Fill the AI note from your form or CRM data. Then the AI has the full context before the first message.
---
### Get Delivery Status of a Message
> [!NOTE]
>
> **Type:** Action | **App:** Whatsable | **Connection:** your WhatsAble API key
**Description in Zapier:** *"Check if the message was delivered or not. Use this if you're not sure the number is correct and want to check if it was delivered and want to send a fallback email."*
Checks the delivery status of a message that you sent before. Use it for a fallback: when a message was not delivered (for example, because the number is wrong or not on WhatsApp), send an email instead.
---
#### Set up the action
**Add an action step**
1. In your Zap editor, click **+** to add a new step **after** a Send WhatsApp Message or Schedule a Follow-Up Message action.
2. Search for **Whatsable** and select it.
3. Under **Action Event**, select **Get Delivery Status of a Message**.
4. Click **Continue**.
**Connect your WhatsAble account**
Select the same Whatsable account that sent the message.
**Enter the Message ID**
**Message ID** `text` (required)
The ID of the message to check. The **Send WhatsApp Message** or **Schedule a Follow-Up Message** step earlier in the same Zap returns it. Map it from that step with the Zapier data mapper
Click **Continue**.
**Test and use the result**
Click **Test step**. Zapier asks WhatsAble for the delivery status of that message.
The `status` is `pending`, `sent`, `delivered`, `read` or `failed`. Use it in a **Filter** step after this action to make two paths:
- **Delivered or read**: continue your main workflow.
- **Failed**: send a fallback email with Gmail, Outlook or another email app.
> [!NOTE]
>
> This action finds only messages that were sent from the number of your API key. For any other ID, it answers that no message with this ID was sent from this number.
> [!TIP]
>
> Add a Zapier **Filter** or **Paths** step after **Get Delivery Status**. Send delivered messages down one path, and failed messages down another path with a fallback email or an alert.
---
## Build a complete Zap: step-by-step example
This example goes from a new lead in a form to a template message and a follow-up: **New lead from a form → AI context set → Template message sent → Conditional follow-up scheduled**
**Trigger: New form submission**
Start with a **Google Forms**, **Typeform** or **Jotform** trigger that runs when someone fills in your lead form.
**Action: Update a Contact**
Add **Whatsable: Update a Contact**. Map the form fields into the note:
```
email: {{email}} | Name: {{name}} | Budget: {{budget}} | Language: {{language}}
```
Add labels such as `New Lead` and `Form Submission`.
The AI now has the full context before any conversation starts.
**Action: Send WhatsApp Message (Template)**
Add **Whatsable: Send WhatsApp Message** with the template configuration. Select your approved welcome template. Map the phone number and the template variables from the form data.
**Action: Schedule a Follow-Up Message**
Add **Whatsable: Schedule a Follow-Up Message** and configure it:
- Message: a follow-up template (for example `Hi {{1}}, just checking in...`)
- Schedule: **24 Hours** (Relative delay)
- Reply condition: **Recipient did not reply after my last message**
WhatsAble cancels this follow-up when the lead replies to your first message.
**Test and activate**
1. Click **Test** on each step and make sure that each step shows a success result.
2. Click **Publish** to save your Zap.
3. Set the **On/Off** switch to **On**.
---
## Example use cases
- **AI chatbot lead qualification**:
Start on incoming messages, give `conversation_paragraph` and `note` to OpenAI, then send its reply with Send WhatsApp Message
- **Smart follow-up sequences**:
Schedule follow-ups with reply conditions. WhatsAble cancels them when the lead replies, so you never send too many messages
- **CRM-to-WhatsApp sync**:
When a deal stage changes in HubSpot or Pipedrive, update the AI note with Update a Contact, then send a matching template
- **Form-to-WhatsApp onboarding**:
When someone submits a form, set the AI context with Update a Contact, then send a personal onboarding template
- **Delivery fallback**:
After a send, use Get Delivery Status. If the message failed, send a fallback email with Gmail or Outlook
- **Real-time CRM logging**:
Log the conversation data of each WhatsApp message to a Google Sheet, Airtable or your CRM
---
## Best practices
Set the AI note before you send
In new-lead Zaps, use **Update a Contact** as the first action, before **Send WhatsApp Message**. A `note` with structured lead data (name, email, preferences, language, budget) gives better AI conversations and better lead qualification.
Use a reply condition on every follow-up
Set a reply condition on every **Schedule a Follow-Up Message** action. "Recipient did not reply after my last message" is the safest choice. No follow-up then goes to a contact who already talks to you, which also protects the reputation of your WhatsApp number.
Add labels on every send and update
**Send WhatsApp Message** and **Update a Contact** can both add labels to conversations. Use labels to tag contacts (for example `Hot Lead`, `Form Submission` or `Appointment Set`). They appear in the WhatsAble inbox, and the label condition of a follow-up can use them.
Use conversation_paragraph in AI prompts
In AI chatbot Zaps, map the `conversation_paragraph` trigger field into your OpenAI or Claude prompt. It is the conversation as plain text, which is simpler to put in a prompt than the `last_messages` JSON string.
Filter on incoming_message for one-direction flows
Add a Zapier **Filter** step right after the trigger. To react only when a contact writes to you, continue when `incoming_message` is not `false`. To react only when your business sends a message, continue when `incoming_message` is `false`. Use `send_by` to tell `WhatsApp App`, `AI` and other senders apart.
Capture the Click-to-WhatsApp referral on the first message
When `referral` is present, save `source_id`, `source_url`, `headline` and `ctwa_clid` on the contact at once. Later messages in the same chat usually do not have `referral`. Use `source_url` to tell Instagram from Facebook, and `source_id` to compare ads.
Phone number format
Always give phone numbers in full international format, digits only, with no `+`, spaces or dashes (for example `14155550187` for the US, `447911123456` for the UK, `966501234567` for Saudi Arabia).
---
## Troubleshooting
The trigger does not run
**Check that your Zap is on**
The trigger runs only when the Zap is on. Open the overview page of your Zap and make sure that the On/Off switch is set to **On**.
**Check your connected account**
Open the trigger step in the Zap editor and go to the **Account** section. Make sure that your Whatsable account shows no errors. If it shows an error, connect it again with an active WhatsAble API key.
**Send a test message**
**Test trigger** needs at least one recent event. Send a WhatsApp message to the number of your API key, then test again.
**Check the number and the pause**
The trigger receives only the messages of your API key's number. It also pauses a chat for 24 hours after a team member replies. Check both in **Settings** → [**Webhooks**](https://console.whatsable.app/settings/outgoing-webhooks).
**Contact support**
If the messages appear in the WhatsAble inbox but the trigger still does not run, contact support.
Messages do not send
**Check the connected account**
Make sure that your WhatsAble API key is active and that the correct account is selected in the action step.
**Check the number of the key**
If WhatsAble answers that the number of the API key is not connected, open [**API keys**](https://console.whatsable.app/settings/api-keys). Use **Change number** to move the key to a connected number.
**Check the phone number format**
The phone number must be digits only, in full international format, with no `+` or spaces (for example `14155550187`).
**Check the template status**
Make sure that the template has the **Approved** status on the [**Templates**](https://console.whatsable.app/templates) page. A pending or rejected template causes an error.
**Check the 24-hour window**
You can send a non-template message only within 24 hours of the contact's last incoming message. Outside this window, use an approved template.
**Check your plan**
Make sure that your subscription is active and that your plan includes integrations (Pro or Agency). See **Settings** → [**Billing**](https://console.whatsable.app/settings/billing).
The template list is empty or out of date
**Check the WhatsApp account of the key**
The list shows only the approved templates of the WhatsApp Business account that holds your API key's number. Create the template on that account, or move the key with **Change number**.
Template variables do not fill
**Fill all variable fields**
All body variable fields (Body 1, Body 2 and so on) are required. Make sure that none is empty or mapped to a field that returns an empty value.
**Check the template preview**
The template dropdown shows a preview of the body text and example values. Use it to see what each variable expects.
**Use a public media URL**
If your template has a media header, the URL must be public. Open it in a private browser window to test it.
A scheduled message was not sent
**Check the reply condition**
If the contact replied before the scheduled time, the reply condition cancelled the message. Check the contact's conversation in the WhatsAble inbox.
**Check the delay settings**
Make sure that the delay value and unit are correct (for example `24` + `Hours`, not `24` + `Minutes`).
**Check your Zap history**
In Zapier, open **Zap History** and find the run of the Schedule a Follow-Up Message step. Make sure that the step shows a success status.
Update a Contact changes do not appear in WhatsAble
**Check the phone number**
The phone number must match the contact's number in WhatsAble, in the same international format. If no contact has this number, WhatsAble creates a new contact.
**Check the connected account**
Make sure that the action step uses the Whatsable account with your WhatsAble API key.
Get Delivery Status returns no result
**Map the correct Message ID**
Map the Message ID from the output of a **Send WhatsApp Message** or **Schedule a Follow-Up Message** step in the same Zap.
**Use the same API key**
The action finds only messages that were sent from the number of your API key. Use the same Whatsable account that sent the message.
**Allow time for delivery**
The status can take a few seconds to change after a send. If you check right after the send, add a Zapier **Delay** step before Get Delivery Status.
---
## Need help?
- [Email support](mailto:team@whatsable.app):
Contact team@whatsable.app
- [Schedule a demo](https://tidycal.com/axelmeta/whatsapp-notifications-by-whatsable):
Book a personal walkthrough
- **Live chat**:
Click the chat button in the bottom right corner of the WhatsAble app. The inbox hides it, so open another page first
Source: /integration/zapier
# Introduction
> Whatsable runs your business on WhatsApp from your own number: a shared team inbox, AI agents that reply and follow up, broadcasts, and connections to Zapier, Make, n8n, CRMs, the API and AI apps. This page links every guide.
Whatsable runs your business on WhatsApp, from your own WhatsApp Business number and under your own brand. Your team answers customers in a shared inbox, AI agents reply and follow up for you, broadcasts reach many people at once, and your other tools connect through Zapier, Make, n8n, CRMs, webhooks, the API or AI apps.
You sign in at [console.whatsable.app](https://console.whatsable.app/sign-in). A new account starts free, with no card. You can keep using the WhatsApp Business app on your phone with the same number.
## Start here
- [Get started](/features/get-started):
Create your account, answer the setup questions and follow the checklist.
- [Business numbers](/features/business-numbers):
Connect WhatsApp numbers, see what your plan includes and what Meta reports.
- [Connect WhatsApp Business](/features/connect-whatsapp):
Connect your number and keep the WhatsApp Business app (Coexistence).
- [Embedding process](/features/embedding):
Meta's signup popup, step by step.
## Talk to customers
- [Team inbox](/features/team-inbox):
Every chat from your numbers, shared with your team.
- [Conversations](/features/inbox-conversations):
Reply, attach files, schedule messages, write notes and export chats.
- [Labels](/features/labels):
Sort conversations, label them automatically and limit who sees them.
- [Automatic replies](/features/automatic-replies):
Away messages, office hours, saved replies and keeping the 24-hour window open.
- [Notifications](/features/notifications):
The bell, device notifications and what each category covers.
## Message many people
- [Broadcasts](/features/broadcasts):
Send an approved template to many people at once, now or later.
- [Message templates](/features/message-templates):
Create templates and send them to Meta for approval.
## AI agents
- [AI agents overview](/features/ai-chatbot):
What an agent does, and when it hands a chat to a person.
- [Create an AI agent](/features/ai-chatbot/create-an-agent):
Four ways to build your first agent.
- [Configure an agent](/features/ai-chatbot/configuration):
Knowledge, tone, testing and follow-ups.
## Team, plan and results
- [Plans](/features/plans-bulk-message-pro-agency):
Bulk Message, Pro and Agency: what each includes and costs.
- [Billing](/features/billing):
Change plan, manage seats and extra numbers, and open the billing portal.
- [Team roles](/features/team-roles):
Invite teammates as Owner, Admin or Member, and limit their access.
- [Team seats](/features/team-seats):
What a seat costs and when it is charged.
- [Analytics](/features/analytics):
Messages, conversations, AI and broadcast results.
## Connect your tools
- [Zapier](/integration/zapier):
Send and receive WhatsApp messages from your Zaps.
- [Make](/integration/make):
WhatsApp in your Make scenarios.
- [n8n](/integration/n8n):
WhatsApp in your n8n workflows.
- [Pipedrive](/integration/pipedrive):
WhatsApp messaging inside Pipedrive.
- [monday.com](/integration/monday):
WhatsApp on your monday.com boards.
- [Attio](/integration/attio):
Sync WhatsApp conversations with Attio.
- [Outgoing webhooks](/features/webhooks):
Send WhatsApp events to your own server or automation tool.
- [API keys](/features/api-keys):
Create keys for developers and automation tools.
- [API v1](/api-reference/v1):
Send messages and manage your account from your own code.
- [AI apps (MCP)](/mcp):
Let Claude, ChatGPT and other AI apps work in your Whatsable account.
Source: /introduction
# WhatsAble agent skill
> One SKILL.md that teaches Claude Code, Cursor and other coding agents how to connect the WhatsAble MCP server and what to know about WhatsApp. It replaces the old Notifyer script skills.
The WhatsAble agent skill is one short `SKILL.md` file in the open [Agent Skills format](https://agentskills.io/specification). An agent that loads it knows how to connect the [WhatsAble MCP server](/mcp), and what to know about WhatsApp before it sends anything.
- [SKILL.md](/agent-skill/whatsable/SKILL.md):
The skill itself, served from this site. Read it, or point your agent at it.
## What the skill tells your agent
- **How to connect.** The server URL, `https://api.whatsable.app/mcp`, and the two ways to sign in: an OAuth connection that a person approves, or an [API key](/mcp/manage-access#connect-with-an-api-key-instead) in a header.
- **To ask the server first.** The skill holds no tool list. It tells the agent to call `get_guide`, which answers from what this connection may do: its tools, the [suggested workflows](/mcp/workflows) and the [WhatsApp rules](/mcp/concepts). New tools reach the agent without a new skill.
- **How WhatsApp works.** The 24-hour window and when a template is required, Meta's approval of templates, the AI agent and a person taking over, and why a connection can use only the numbers it was given.
- **What the MCP server does not do, and why.** It does not create an account or sign in for a person, show an API key, connect or refresh a number's Meta connection, buy a plan, or change the team. Webhooks are planned. The skill sends the person to the right page in WhatsAble for each.
You can connect the MCP server without the skill: [Connect your AI app](/mcp/connect/claude-code) is enough. The skill helps coding agents, which load skills by themselves, use the server well.
## Install it
**Any agent**
The `skills` command installs it for Claude Code, Cursor, Codex, GitHub Copilot and the other agents that read Agent Skills:
```bash
npx skills add whatsable/whatsapp-business-agent-skills
```
Add `-g` to install it for every project instead of the current one.
**Claude Code**
Save the file as `~/.claude/skills/whatsable/SKILL.md` for every project, or as `.claude/skills/whatsable/SKILL.md` in one project:
```bash
mkdir -p ~/.claude/skills/whatsable
curl -fsSL https://docs.whatsable.app/agent-skill/whatsable/SKILL.md -o ~/.claude/skills/whatsable/SKILL.md
```
Then [connect the MCP server](/mcp/connect/claude-code). Claude Code loads the skill when you ask about WhatsAble or WhatsApp, or when you type `/whatsable`.
**Cursor**
Cursor's agent reads skills from these folders:
| Folder | Scope |
| --- | --- |
| `.cursor/skills/whatsable/` or `.agents/skills/whatsable/` | This project |
| `~/.cursor/skills/whatsable/` or `~/.agents/skills/whatsable/` | Every project |
```bash
mkdir -p ~/.cursor/skills/whatsable
curl -fsSL https://docs.whatsable.app/agent-skill/whatsable/SKILL.md -o ~/.cursor/skills/whatsable/SKILL.md
```
Then [connect the MCP server](/mcp/connect/cursor). The agent decides when to apply the skill, and you can call it with `/whatsable` in the chat.
**Base44 and app builders**
Install the skill globally for the coding assistant you use with Base44, with `npx skills add whatsable/whatsapp-business-agent-skills -g`, and connect the MCP server in that assistant.
Code that your app runs by itself, such as a Base44 backend function, does not use the MCP server or the skill. It calls the [WhatsAble API v1](/api-reference/v1) with an API key. Store the key as a secret of the app, for example with `base44 secrets set`, never in its source.
> [!WARNING]
>
> **The skill is not the connection.** The agent still needs the MCP server connected, by an owner or an admin on a plan that includes the API. See [What you need](/mcp#what-you-need).
## Moving from the old Notifyer skills
Until version 0.4.0, the same repository shipped three skills, `setup-notifyer`, `automate-notifyer` and `chat-notifyer`, made of about 60 Node scripts. They signed in with an email and a password and called the legacy Notifyer system. Accounts that moved to the new WhatsAble app are no longer served by that system, so those scripts act on the wrong system or fail.
Version 1.0.0 replaces them with this one skill:
**Remove the old skills**
Delete the `setup-notifyer`, `automate-notifyer` and `chat-notifyer` folders from your agent's skills folder.
**Remove the old variables**
Delete `NOTIFYER_API_BASE_URL`, `NOTIFYER_API_TOKEN` and `NOTIFYER_CHAT_ORIGIN` from your shell profile, your `.env` files and your app's secrets.
**Install the new skill and connect**
Install the skill as above, connect the MCP server, and ask your agent "What can you do with WhatsAble?".
| The old scripts did | Now |
| --- | --- |
| Read and send messages, labels, notes, handoff, scheduled sends | The MCP server's tools. Ask the agent, which calls `get_guide`. |
| Templates, broadcasts, AI bots | The MCP server's tools. Creating a template or a broadcast, or changing an AI agent, needs **Full access**. |
| Sign up, log in, fetch the API key, team, plans | In the WhatsAble app. An agent never holds your password or reads a key. |
| Webhooks for Make, Zapier and n8n | In the WhatsAble app, under **Settings > Webhooks**, or by the [Zapier](/integration/zapier), [Make](/integration/make) and [n8n](/integration/n8n) integrations themselves. |
## Next steps
- [Connect your AI app](/mcp/connect/claude-code): each app, step by step.
- [Access and connections](/mcp/manage-access): what an agent may do, and how to revoke it.
- [Suggested workflows](/mcp/workflows): what to ask.
Source: /mcp/agent-skill
# WhatsApp rules your assistant follows
> The WhatsApp rules your AI assistant follows when it works in WhatsAble: the 24-hour window, templates, Not sent results, the AI agent and its follow-ups, and several numbers.
Your assistant reads these rules from the server before it acts, and it explains them when a send cannot go out. They are WhatsApp's rules and WhatsAble's, not the assistant's, so they are the same in every AI app.
## The 24-hour window
WhatsApp lets a business send a free-form message (a text, buttons or media) to a person only within 24 hours of that person's last message to the same number. Each new message from them opens the window again.
Outside the window, or to someone who has not written before, only an approved template can be sent. `get_conversation` says whether the window is open and when it closes.
A scheduled text reaches the person only if the window is still open when it is sent. A template is not limited by the window.
## How templates work
A template is a message Meta reviewed in advance. It is the only kind that reaches a person outside the 24-hour window.
Each template belongs to a WhatsApp Business Account, has a language and a category (marketing, utility or authentication, which Meta may change during review), and numbered variables that a send fills. `get_template` lists the variables. A template with named variables is listed but cannot be sent yet.
`create_template` submits a new one, which starts as pending. Meta approves or rejects it later, and only an approved template can be sent. Meta can also pause or disable a template it approved before.
## "Not sent"
When WhatsApp refuses a message, the answer starts with "Not sent", gives the reason and how to fix it, and says whether a retry later is worth it. A request WhatsAble refuses before sending, such as a text to someone whose 24-hour window has closed, comes back as an error instead: nothing went out either way.
An answer that starts with "Not sent, or not confirmed" means the outcome is unknown and the message may still arrive. Sending it again is a second message.
A success means WhatsApp accepted the message, not that it was delivered. `get_message` shows whether it was delivered, read or failed.
## AI and follow-ups
An AI bot answers a conversation, and can follow up on its own when the customer goes quiet. A bot answers only while its own status is active; a draft answers no one. Each conversation also has an AI status: active, off, paused_by_human or handed_off.
paused_by_human means a person replied, in the WhatsAble inbox, an inbox embedded in another app or the WhatsApp app, or through these tools, so the bot stops answering that chat. A send tool pauses it by default, and its result says so. Pass pause_ai false to leave the AI on. Depending on the bot's settings it answers again after a set time, when the customer writes after the window closed, or not until someone switches it back on. handed_off means the bot passed the chat to a person.
Why did the bot do that? `read_conversation` with types ai_decision lists each of its decisions in a conversation, the reason code and the bot's reasoning: its own account, not a verified fact. Without types it shows the whole history in order, with the messages, the team's notes, the labels and each change of AI status. The bot's entries need the ai:read scope and the label entries contacts:read; without them they are left out.
`set_conversation_ai` with off stops the bot's replies and its follow-ups in that one conversation, and only a person switching it back on undoes it. active turns the AI back on, also after a person took over or the bot handed off.
`set_conversation_ai` with bot_id makes another of the business's AI agents that is not archived answer that one conversation; bot_id null hands it back to the number's default. When a reply failed and the agent is waiting to retry it, `cancel_ai_retry` stops that reply.
There is no switch for follow-ups alone in one conversation: off stops both. `set_contact_follow_ups` with off stops the bot's follow-ups to one contact on every number while the bot keeps answering them; it is the inbox's Follow up switch, and on allows them again, from a connection that can use every number the contact talks to. Follow-ups as a whole are a bot setting, changed with `update_ai_bot`. `assign_ai_bot_to_number` with no bot leaves a number with no default bot, so its conversations without a bot of their own get no AI.
## Several numbers
A connection can use one or several of the business's WhatsApp numbers; `list_numbers` shows them, and only an active number sends.
With several, a send names its number in from, or replies in a conversation, which fixes the number. `create_template` names the number whose WhatsApp Business Account gets the template, and `create_broadcast` always names the number it sends from. The id comes from `list_numbers`.
One person writing to two numbers has two conversations.
## Access and scopes
A connection holds the access it was given when it was connected, and a tool it has no scope for is hidden: the assistant does not see it.
Full access holds every scope, including those added later. Send and read holds every scope except templates:write, labels:write, broadcasts:write, ai:configure and webhooks:manage: it reads, sends, updates contacts and switches the AI on or off, but cannot create templates, labels or broadcasts, or change AI bots. Read only holds numbers:read, templates:read, messages:read, contacts:read, broadcasts:read, ai:read and members:read: it sends and changes nothing.
To change the access, revoke the connection in WhatsAble under Settings > API keys > Connected AI apps, then connect again and choose the access you need. A connection made with an API key holds that key's scopes.
No connection can change the team. `list_members` reads it, but inviting someone, changing a role and removing someone need the person signed in to WhatsAble, under Settings > Team, because a seat is billed and a role grants privileges.
## What the inbox has that you cannot do here
A conversation cannot be assigned to a teammate or closed: not in the inbox, and not here. When the person asks for either, say so.
Do not fake it with a label or by switching the AI off. A label changes who a broadcast or a scheduled message reaches and, where members are limited to labels, which teammates can see the chat at all. Switching the AI off stops the bot answering that customer. To tell the team who handles a chat, offer a note with `add_conversation_note`.
Source: /mcp/concepts
# Connect ChatGPT
> Add WhatsAble to ChatGPT as a custom app in developer mode, then ask ChatGPT to read and send your WhatsApp messages.
ChatGPT connects to WhatsAble as a custom app, which needs **developer mode**. Developer mode is a beta feature of ChatGPT on the web. On a Business, Enterprise or Edu workspace, an admin must allow it first.
**You need:** ChatGPT Business, Enterprise or Edu to use every tool. On Plus and Pro, OpenAI may limit custom apps to tools that only read, so the assistant can look things up but not send. You add the app on the web, at chatgpt.com. On WhatsAble, you need to be an owner or an admin, on a plan that includes the API. See [What you need](/mcp#what-you-need).
> [!NOTE]
>
> **OpenAI moves these settings often.** In some versions the section is named **Connectors** or **Plugins** instead of **Apps**, and the developer mode switch is under **Settings > Security**.
## Add the app
**Turn on developer mode**
In ChatGPT, open **Settings**, then **Apps**, then **Advanced settings**, and turn on **Developer mode**.
On a Business, Enterprise or Edu workspace, an admin turns it on for the workspace first, in the workspace settings under **Permissions & roles**.
**Create the app**
In **Settings > Apps**, choose **Create app**. Fill in:
- **Name:** `WhatsAble`
- **MCP server URL:** `https://api.whatsable.app/mcp`
- **Authentication:** **OAuth**
Tick **I understand and want to continue**, then choose **Create**.
**Sign in to WhatsAble and approve**
ChatGPT opens WhatsAble. Sign in, choose the organization, choose what ChatGPT can do and which numbers it can use, then **Approve**. [Access and connections](/mcp/manage-access#what-you-approve) shows each page.
ChatGPT then lists the WhatsAble tools. Check that you see the tools you expect: with **Read only**, for example, there is no send tool.
## Use it in a chat
Start a new chat, choose **+** in the message box, then **Developer mode**, and select **WhatsAble**. Then ask, for example, "What can you do with WhatsAble?" or "Who wrote to us today?".
ChatGPT asks you to confirm every tool that sends or changes something. Read the details before you confirm: each send is a real WhatsApp message.
## After WhatsAble adds tools
ChatGPT keeps the list of tools it read when you created the app. When WhatsAble adds tools, or you connect a new number, open **Settings > Apps**, choose WhatsAble, and choose **Refresh**.
## Remove it
In **Settings > Apps**, choose WhatsAble, then delete or disconnect it. This removes it from ChatGPT only. To revoke the connection, also go to **Settings > API keys > Connected AI apps** in WhatsAble and choose **Revoke**. See [Revoke a connection](/mcp/manage-access#revoke-a-connection).
## Problems
- **No Create app button:** developer mode is off, or your plan or workspace does not allow it.
- **ChatGPT says the app has no tools:** the sign-in did not finish. Delete the app and create it again.
- **The tools changed and ChatGPT does not see it:** use **Refresh**, as above.
More in [Troubleshooting](/mcp/troubleshooting).
Source: /mcp/connect/chatgpt
# Connect Claude Code
> Add WhatsAble to Claude Code with one command, sign in from the terminal, and let Claude Code read and send your WhatsApp messages.
On WhatsAble, you need to be an owner or an admin, on a plan that includes the API. See [What you need](/mcp#what-you-need).
## Add the server
**Add it**
In your terminal, run:
```bash
claude mcp add --transport http whatsable https://api.whatsable.app/mcp
```
This adds WhatsAble to the current project only. Add `--scope user` to use it in every project.
**Sign in**
Start `claude`, run `/mcp`, choose **whatsable** and then authenticate. Or run this from your shell:
```bash
claude mcp login whatsable
```
Your browser opens WhatsAble. Sign in, choose the organization, choose what Claude Code can do and which numbers it can use, then **Approve**. [Access and connections](/mcp/manage-access#what-you-approve) shows each page.
**Check it**
```bash
claude mcp list
```
WhatsAble shows as connected. Then ask Claude Code "What can you do with WhatsAble?".
## Use an API key instead
On a machine without a browser, send an API key instead of signing in. Create a key in WhatsAble under **Settings > API keys**, then run:
```bash
claude mcp add --transport http whatsable https://api.whatsable.app/mcp \
--header "Authorization: Bearer nfy_live_..."
```
The key's own access and numbers apply. Never use `--scope project` with a key: that scope writes the server into `.mcp.json`, which you share with your repository.
## Share it with your team
`--scope project` writes the server to `.mcp.json` in your project, so everyone who opens the project gets WhatsAble. Each person then signs in with their own WhatsAble account.
```bash
claude mcp add --transport http --scope project whatsable https://api.whatsable.app/mcp
```
## Remove it
```bash
claude mcp remove whatsable
```
This deletes the sign-in from Claude Code. To revoke the connection, also go to **Settings > API keys > Connected AI apps** in WhatsAble and choose **Revoke**. See [Revoke a connection](/mcp/manage-access#revoke-a-connection).
More in [Troubleshooting](/mcp/troubleshooting).
Source: /mcp/connect/claude-code
# Connect Claude
> Add WhatsAble to Claude as a custom connector, on claude.ai, the desktop app or the mobile apps, then ask Claude to read and send your WhatsApp messages.
You add WhatsAble once, on claude.ai or in the Claude desktop app. It then works in every Claude app you sign in to, mobile included.
**You need:** a Claude account. On the Free plan, Claude allows one custom connector. On WhatsAble, you need to be an owner or an admin, on a plan that includes the API. See [What you need](/mcp#what-you-need).
## Add the connector
**Free, Pro and Max**
**Open Connectors**
In Claude, go to **Customize > Connectors**.
**Add a custom connector**
Choose **Add custom connector**. On some screens you choose **+ Add** first.
**Enter the name and the URL**
Name it `WhatsAble`. As the remote MCP server URL, enter:
```text
https://api.whatsable.app/mcp
```
Choose **Continue**.
**Choose Register automatically**
Claude shows the authentication settings it detected. Under **Authentication**, keep **Sign in now**. Under **OAuth client**, choose **Register automatically**, then **Add**.
**Sign in to WhatsAble and approve**
Claude opens WhatsAble. Sign in, choose the organization, choose what Claude can do and which numbers it can use, then **Approve**. [Access and connections](/mcp/manage-access#what-you-approve) shows each page.
**Team and Enterprise**
An owner adds the connector once, for the whole Claude organization. Each member then connects with their own WhatsAble account.
**Add it for the organization (owner)**
Go to **Organization settings > Connectors**. Choose **Add**, then **Custom**, then **Web**. Name it `WhatsAble`, enter `https://api.whatsable.app/mcp`, and under **OAuth client** choose **Register automatically**. Choose **Add**.
**Connect (each member)**
Go to **Customize > Connectors**, find **WhatsAble** with the **Custom** label, and choose **Connect**.
**Sign in to WhatsAble and approve**
Sign in, choose the organization, the access and the numbers, then **Approve**. Only a WhatsAble owner or admin can approve.
> [!WARNING]
>
> **Choose Register automatically, not Use Claude's published identity.** Claude offers its published identity first, and WhatsAble does not support it yet. With that option, Claude cannot connect to WhatsAble. If you already added the connector that way, remove it and add it again: Claude cannot change the authentication settings of a connector.
## Use it in a chat
Ask a question about your WhatsApp, such as "What can you do with WhatsAble?" or "Who wrote to us today?". Claude calls the WhatsAble tools when it needs them.
- **Turn it on or off for a chat:** choose **+** in the message box, then **Connectors**, and use the WhatsAble toggle.
- **Approve tool calls:** Claude asks before it calls a tool. Choose **Allow once** for anything that sends. Keep **Always allow** for tools that only read, if you want fewer prompts.
- **Block a tool:** in **Customize > Connectors**, select WhatsAble and set a tool to **Blocked**. Claude then never calls it.
- **Use a workflow as a prompt:** WhatsAble's [suggested workflows](/mcp/workflows) are also prompts. Choose **+** in the message box and look for WhatsAble.
## Remove it
In **Customize > Connectors**, choose WhatsAble, then **Remove**. This removes the connector from Claude only. To revoke the connection, also go to **Settings > API keys > Connected AI apps** in WhatsAble and choose **Revoke**. See [Revoke a connection](/mcp/manage-access#revoke-a-connection).
## Problems
- **The WhatsAble page never opens, or Claude says it could not connect:** check that you chose **Register automatically**. Remove the connector and add it again.
- **"Only owners and admins of an organization can connect an AI app":** ask an owner of your WhatsAble organization to connect it, or to make you an admin.
- **A number you just connected is missing from a send:** the tools learn your numbers when Claude connects to the server. Start a new chat. If it is still missing, the connection may not include that number: see [Change what an app can do](/mcp/manage-access#change-what-an-app-can-do).
More in [Troubleshooting](/mcp/troubleshooting).
Source: /mcp/connect/claude
# Connect Cursor
> Add WhatsAble to Cursor's mcp.json, sign in, and let Cursor's agent read and send your WhatsApp messages.
On WhatsAble, you need to be an owner or an admin, on a plan that includes the API. See [What you need](/mcp#what-you-need).
## Add the server
**Open the MCP settings**
Open **Customize**, then **MCP**, and add a new MCP server. In older versions it is **Cursor Settings > Tools & MCP > New MCP Server**. Cursor opens `mcp.json`. The file in your home folder, `~/.cursor/mcp.json`, applies to every project. A `.cursor/mcp.json` in a project applies to that project only.
**Add WhatsAble**
Add `whatsable` under `mcpServers` and save:
```json mcp.json
{
"mcpServers": {
"whatsable": {
"url": "https://api.whatsable.app/mcp"
}
}
}
```
**Sign in**
Back in the MCP settings, WhatsAble shows that it needs a login. Choose **Connect**. Your browser opens WhatsAble. Sign in, choose the organization, choose what Cursor can do and which numbers it can use, then **Approve**. [Access and connections](/mcp/manage-access#what-you-approve) shows each page.
Your browser then asks to open Cursor. Allow it, so Cursor receives the sign-in.
Once WhatsAble shows its tools in the MCP settings, ask Cursor's agent, for example, "What can you do with WhatsAble?". The agent asks you to approve each tool call, unless you allowed it to run tools by itself.
## Use an API key instead
Create a key in WhatsAble under **Settings > API keys**. Put it in an environment variable, such as `WHATSABLE_API_KEY`, and read it from `mcp.json`:
```json mcp.json
{
"mcpServers": {
"whatsable": {
"url": "https://api.whatsable.app/mcp",
"headers": {
"Authorization": "Bearer ${env:WHATSABLE_API_KEY}"
}
}
}
}
```
The key's own access and numbers apply. Never write the key itself into a `.cursor/mcp.json` that you commit.
## Remove it
Delete the `whatsable` entry from `mcp.json`, or turn it off in the MCP settings. To revoke the connection, also go to **Settings > API keys > Connected AI apps** in WhatsAble and choose **Revoke**. See [Revoke a connection](/mcp/manage-access#revoke-a-connection).
## Problems
- **Connect does nothing:** choose the **Needs login** text under the server name instead. If the browser still does not open, the sign-in link is in Cursor's **Output** panel, under **MCP**.
- **The browser signed in but Cursor still needs a login:** your browser blocked the link back to Cursor. Allow it and connect again.
More in [Troubleshooting](/mcp/troubleshooting).
Source: /mcp/connect/cursor
# Connect Gemini
> Add WhatsAble to the Gemini app as a custom app, to Gemini Enterprise as an MCP server, or to the Gemini CLI, then ask Gemini to read and send your WhatsApp messages.
Google offers WhatsAble in three places: the Gemini app, Gemini Enterprise for work accounts, and the Gemini CLI for developers. Each has its own setup.
On WhatsAble, you need to be an owner or an admin, on a plan that includes the API. See [What you need](/mcp#what-you-need).
**Gemini app**
The Gemini app connects WhatsAble as a **custom app**. Google is rolling custom apps out with Gemini Spark, first to Google AI Pro and Ultra subscribers, and limits them for now:
- You are 18 or over and in the US.
- Your account has Gemini Spark.
- You sign in with a personal Google account, not a work or school account.
- **Keep Activity** is on.
- Custom apps work in English, and you add them on the web.
**Open Connected Apps**
On your computer, go to gemini.google.com. Open **Settings**, then **Connected Apps**. If you don't see it, look under **Personal Intelligence**.
**Add a custom app**
Under **Custom apps** (named **Custom apps for Spark** in some versions), choose **Add a custom app**. Enter the MCP server URL and choose **Next**:
```text
https://api.whatsable.app/mcp
```
**Sign in to WhatsAble and approve**
Gemini opens WhatsAble. Sign in, choose the organization, choose what Gemini can do and which numbers it can use, then **Approve**. [Access and connections](/mcp/manage-access#what-you-approve) shows each page.
Once added, WhatsAble works in Gemini on the web and in the mobile apps. Ask Gemini to use WhatsAble, for example "Use WhatsAble: who wrote to us today?".
**Gemini Enterprise**
In Gemini Enterprise, an administrator adds WhatsAble for the team, and each person then signs in with their own WhatsAble account.
**Add the MCP server (admin)**
Select your team, then **Manage team > Connected apps**. Choose **Add MCP Server** and enter `https://api.whatsable.app/mcp`.
**Sign in to WhatsAble and approve (each person)**
The first time someone uses WhatsAble, Gemini opens WhatsAble. They sign in, choose the organization, the access and the numbers, then **Approve**. Only a WhatsAble owner or admin can approve.
> [!WARNING]
>
> **If Gemini Enterprise asks for a client ID and a client secret, WhatsAble cannot connect there yet.** WhatsAble lets each app register itself, and does not hand out client IDs. [Message us](/mcp/troubleshooting#something-else) and tell us which screen you see.
**Gemini CLI**
Add the server from your terminal. The CLI finds the sign-in by itself:
```bash
gemini mcp add --transport http whatsable https://api.whatsable.app/mcp
```
Add `--scope user` to use it in every folder, not only the current project. Or add it yourself to `settings.json`: `~/.gemini/settings.json` for every folder, or `.gemini/settings.json` in a project. Use `httpUrl`, not `url`, which the CLI reads as an older transport:
```json settings.json
{
"mcpServers": {
"whatsable": {
"httpUrl": "https://api.whatsable.app/mcp"
}
}
}
```
Then start `gemini` and sign in:
```text
/mcp auth whatsable
```
Your browser opens WhatsAble. Sign in, choose the organization, the access and the numbers, then **Approve**. The sign-in needs a browser on the same computer, so it does not work over a plain SSH session. In that case, [use an API key](#gemini-cli-with-an-api-key).
#### Gemini CLI with an API key
Create a key in WhatsAble, under **Settings > API keys**, then send it as a header:
```bash
gemini mcp add --transport http --header "Authorization: Bearer nfy_live_..." whatsable https://api.whatsable.app/mcp
```
The key's own access and numbers apply. Keep it out of shared files and repositories.
## Remove it
Remove WhatsAble from **Connected Apps** in the Gemini app, from **Connected apps** in Gemini Enterprise, or with `gemini mcp remove whatsable` in the CLI (add `--scope user` if you added it that way). This removes it from Gemini only. To revoke the connection, also go to **Settings > API keys > Connected AI apps** in WhatsAble and choose **Revoke**. See [Revoke a connection](/mcp/manage-access#revoke-a-connection).
More in [Troubleshooting](/mcp/troubleshooting).
Source: /mcp/connect/gemini
# Connect other AI apps
> Connect WhatsAble to any app that speaks MCP: the settings it needs, how sign-in works, how to send an API key instead, and how to bridge an app that only runs local servers.
Any app that can add a **remote MCP server** can use WhatsAble. Its settings may call it a connector, an integration, a custom app or a tool server. On WhatsAble, you need to be an owner or an admin, on a plan that includes the API. See [What you need](/mcp#what-you-need).
## The settings
| Setting | Value |
| --- | --- |
| Server URL | `https://api.whatsable.app/mcp` |
| Transport | Streamable HTTP. Some apps call it **HTTP**. Not SSE. |
| Authentication | OAuth. The app registers itself, so there is no client ID or secret to enter. |
| Or: a header | `Authorization: Bearer nfy_live_...`, with an [API key](#use-an-api-key) |
## How sign-in works
When the app first connects, WhatsAble answers that it needs a sign-in, and tells the app where to find it. A standard MCP app takes it from there: it opens WhatsAble in your browser, you sign in, choose the organization, the access and the numbers, and **Approve**. [Access and connections](/mcp/manage-access#what-you-approve) shows each page.
The app then holds a token that lasts one hour and renews itself. If you don't use the app for 30 days, it asks you to sign in again.
For developers, the details:
- Protected resource metadata: `https://api.whatsable.app/.well-known/oauth-protected-resource/mcp`
- Authorization server metadata: `https://api.whatsable.app/.well-known/oauth-authorization-server`
- Dynamic Client Registration (RFC 7591) is open. Client ID Metadata Documents are not supported yet.
- The authorization code flow with PKCE (`S256`), and refresh tokens. There is no client credentials grant: every connection belongs to a person who approved it.
## Use an API key
When an app cannot sign in with OAuth, or runs where no browser can open, send an API key instead. Create one in WhatsAble under **Settings > API keys**, and set the header:
```text
Authorization: Bearer nfy_live_...
```
The key's own access and numbers apply, and it works until you revoke it. Keep it in the app's secret storage, never in a file you share.
## Apps that only run local servers
Some apps can only start a local MCP server, a command on your computer. The open-source `mcp-remote` package bridges them to WhatsAble. It needs Node.js. Add a server whose command is:
```json
{
"mcpServers": {
"whatsable": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.whatsable.app/mcp"]
}
}
}
```
`mcp-remote` opens the WhatsAble sign-in in your browser the first time it runs. It is not made by WhatsAble. Prefer the app's own remote server setting when it has one.
## Remove it
Remove WhatsAble in the app. Then revoke the connection in WhatsAble, under **Settings > API keys > Connected AI apps**: removing it in the app does not. See [Revoke a connection](/mcp/manage-access#revoke-a-connection).
More in [Troubleshooting](/mcp/troubleshooting).
Source: /mcp/connect/other-clients
# Connect VS Code
> Add WhatsAble to VS Code as an MCP server, sign in, and use its tools from GitHub Copilot's agent mode.
VS Code runs MCP tools from GitHub Copilot Chat, in agent mode. You need the GitHub Copilot extension. On WhatsAble, you need to be an owner or an admin, on a plan that includes the API. See [What you need](/mcp#what-you-need).
## Add the server
**Add it**
Open the Command Palette and run **MCP: Add Server**. Choose **HTTP**, enter the URL, and name it `whatsable`:
```text
https://api.whatsable.app/mcp
```
Choose **Global** to use it in every workspace, or **Workspace** to save it in this folder's `.vscode/mcp.json`.
Or write the entry yourself. VS Code's `mcp.json` uses `servers`, not `mcpServers`:
```json .vscode/mcp.json
{
"servers": {
"whatsable": {
"type": "http",
"url": "https://api.whatsable.app/mcp"
}
}
}
```
**Sign in**
VS Code starts the server and asks to sign in to WhatsAble. Allow it. Your browser opens WhatsAble. Sign in, choose the organization, choose what VS Code can do and which numbers it can use, then **Approve**. [Access and connections](/mcp/manage-access#what-you-approve) shows each page.
**Use it**
Open Copilot Chat and switch to **Agent** mode. In the tools picker, check that the WhatsAble tools are on. Then ask, for example, "What can you do with WhatsAble?". Copilot asks you to approve each tool call.
## Use an API key instead
Create a key in WhatsAble under **Settings > API keys**. Let VS Code ask for it once and store it, so it never sits in `mcp.json`:
```json .vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "whatsable-api-key",
"description": "WhatsAble API key",
"password": true
}
],
"servers": {
"whatsable": {
"type": "http",
"url": "https://api.whatsable.app/mcp",
"headers": {
"Authorization": "Bearer ${input:whatsable-api-key}"
}
}
}
}
```
The key's own access and numbers apply.
## Remove it
Run **MCP: List Servers**, choose WhatsAble, and remove it, or delete its entry from `mcp.json`. To revoke the connection, also go to **Settings > API keys > Connected AI apps** in WhatsAble and choose **Revoke**. See [Revoke a connection](/mcp/manage-access#revoke-a-connection).
More in [Troubleshooting](/mcp/troubleshooting).
Source: /mcp/connect/vs-code
# WhatsAble MCP server
> Connect Claude, ChatGPT, Gemini, Cursor or any MCP client to your WhatsApp numbers. Ask your assistant to read conversations, send messages and templates, label contacts, run broadcasts and manage AI agents.
The WhatsAble MCP server puts your WhatsApp Business numbers inside the AI assistant you already use. You ask in plain words, and the assistant does the work in WhatsAble for you:
- "Who wrote to us today and has not had an answer?"
- "Send José Núñez a message: his order is ready." The assistant finds him by name, and asks which one when two people match.
- "Remind Maria on Friday at 10:00 with the payment_reminder template, but only if she has not replied."
- "Show my unread chats, and add a note to Diego's: he wants a call on Monday."
- "Send the order_ready template to Maria with order number 1042."
- "Turn off the AI agent for this customer, I will answer myself."
- "Label everyone who asked about prices as Lead."
- "Send spring_sale to everyone labeled VIP on Monday at 9:00." And later: "Pause it."
- "Show me the broadcasts we sent this week and how many were read."
- "How fast did we answer new customers last month, and how often did the AI agent hand off?"
MCP, the Model Context Protocol, is the open standard that AI apps use to call tools in other services. Claude, ChatGPT, Gemini, Cursor, VS Code and many other apps support it.
## The server URL
```text
https://api.whatsable.app/mcp
```
Add this URL as an MCP server, connector or custom app in your AI app. The app then opens a WhatsAble page where you sign in and choose what the app may do. You never copy a key.
## Connect your AI app
- [Claude](/mcp/connect/claude):
claude.ai, the desktop app and the mobile apps.
- [ChatGPT](/mcp/connect/chatgpt):
ChatGPT on the web, in developer mode.
- [Gemini](/mcp/connect/gemini):
The Gemini app, Gemini Enterprise and the Gemini CLI.
- [Claude Code](/mcp/connect/claude-code):
One command in your terminal.
- [Cursor](/mcp/connect/cursor):
Cursor's agent, with a few lines of JSON.
- [VS Code](/mcp/connect/vs-code):
GitHub Copilot's agent mode in VS Code.
- [Other apps](/mcp/connect/other-clients):
Any app that speaks MCP over HTTP.
## What you need
- An active Pro or Agency plan. The Bulk Message plan does not include the API, so it cannot connect an AI app.
- At least one connected WhatsApp number.
- To be an owner or an admin of the organization. A member cannot connect an AI app.
## What the assistant can do
Each group below is a set of tools the server offers. The assistant sees only the tools that the access you approved allows. With **Read only**, for example, it sees no tool that sends or changes anything. [Access and connections](/mcp/manage-access) explains the choices.
### Account and numbers
Who this connection belongs to, what it may do, its WhatsApp numbers, and the team, read only.
Tools: `get_account`, `list_numbers`, `list_members`
### Messages
Read the messages on this connection's numbers, send texts, templates and media, upload a small file to send, check whether each one was delivered or read, and use the team's saved replies.
Tools: `list_messages`, `get_message`, `send_text_message`, `send_template_message`, `send_media_message`, `list_saved_replies`, `upload_media`
### Conversations and AI
See each conversation and whether its 24-hour window is open, read what happened and why the AI acted, mark one read or unread, add or delete an internal note only the team sees, switch the AI off or on in one conversation or choose which AI agent answers it, cancel a reply the AI is about to retry, mark an AI message's unverified figures as checked, and stop or allow follow-ups to one contact.
Tools: `list_conversations`, `get_conversation`, `read_conversation`, `set_conversation_unread`, `add_conversation_note`, `delete_conversation_note`, `set_conversation_ai`, `set_contact_follow_ups`, `cancel_ai_retry`, `mark_figures_checked`
### Templates
Find the approved templates a send can use, read their variables, submit new ones to Meta, and delete old ones.
Tools: `list_templates`, `get_template`, `create_template`, `delete_template`
### Contacts and labels
Find, add and update contacts, and organize them with labels.
Tools: `find_contacts`, `get_contact`, `list_labels`, `create_contact`, `update_contact`, `add_contact_label`, `remove_contact_label`, `create_label`, `update_label`, `delete_label`
### Scheduled messages
Schedule a text or a template, see what is scheduled, and cancel what has not been sent.
Tools: `schedule_message`, `list_scheduled_messages`, `get_scheduled_message`, `cancel_scheduled_message`
### Broadcasts
Send an approved template to many phones, now or later; follow each send.
Tools: `list_broadcasts`, `get_broadcast`, `list_broadcast_recipients`, `create_broadcast`, `cancel_broadcast`, `set_broadcast_status`
### AI bots
Read and change the AI bots, create or copy one, and choose which answers on each number.
Tools: `list_ai_bots`, `get_ai_bot`, `list_knowledge_files`, `list_ai_bot_files`, `create_ai_bot`, `update_ai_bot`, `duplicate_ai_bot`, `delete_ai_bot`, `assign_ai_bot_to_number`, `read_ai_bot_text`
### Analytics
Count messages, template sends, conversations, AI bots' work and broadcasts over up to 90 days, as the Analytics page does.
Tools: `get_message_analytics`, `get_template_analytics`, `get_conversation_analytics`, `get_ai_analytics`, `get_broadcast_analytics`
### Help
This guide: what this connection can do, workflows, and notes on how WhatsApp works.
Tools: `get_guide`
## Ask it what it can do
You don't need to learn the tool names. Ask "What can you do with WhatsAble?" and the assistant reads the server's guide: what this connection can do, the [suggested workflows](/mcp/workflows), and the [WhatsApp rules](/mcp/concepts) it must follow. Apps that show MCP prompts, such as Claude, also list the workflows as ready-made prompts.
## How it keeps you in control
- **You choose the access.** When you connect, you pick what the app can do and which numbers it can use. You can [revoke it](/mcp/manage-access#revoke-a-connection) at any time.
- **Your AI app asks before it acts.** Most apps ask you to approve each tool that sends or changes something. Read the request before you approve it: each send sends one real WhatsApp message.
- **A refused message is never reported as sent.** When WhatsApp refuses a message, the tool result starts with "Not sent" and says why. [Not sent results](/mcp/concepts#not-sent) explains them.
- **The server follows the same rules as the API.** Every tool calls the [WhatsAble API v1](/api-reference/v1), with the same scopes, number limits and rate limits as an API key.
## How it fits with the rest of WhatsAble
- **Team Inbox.** A message your assistant sends is a normal message of the conversation. Your team sees it in the inbox right away, and can reply from there. The assistant works the inbox the way your team does: it finds a person or a chat by name (accents and case do not matter), lists who is waiting for an answer and the unread chats, quotes a message in its reply, searches one chat's messages, marks a chat read or unread, adds and deletes internal notes, marks an AI message's figures as checked, uses your saved replies, and sends a small file (up to 1 MB) that it uploads itself. Notes and checks it makes carry the connection's name in the inbox. The inbox has no assignee and no closed state, so the assistant says so rather than faking one with a label.
- **The AI agent.** When your assistant replies to a customer, the AI agent pauses in that conversation, as it does when a teammate replies by hand, and the assistant tells you. The agent resumes by its own **Once you reply by hand** setting, or when you ask the assistant to turn it back on. The assistant can also turn the agent off in one conversation, choose which agent answers it, and cancel a reply the agent is about to retry. With **Full access** it can also read and change an AI agent's prompt and settings.
- **Labels.** The assistant finds contacts and chats by label, adds and removes labels, sends broadcasts to a label, and schedules a message that goes out only if the contact carries, or lacks, a label.
- **Scheduled messages and broadcasts.** A scheduled message can wait for a condition: it goes out only if the customer has not replied, or only if a label matches, and otherwise it is not sent. A text still needs the 24-hour window when it fires, so the assistant uses a template for a later follow-up. A broadcast starts now or at a time you give, and the assistant can pause, resume or cancel it.
- **Templates.** The assistant creates templates and submits them to Meta, and deletes the ones you no longer need. A template belongs to a WhatsApp Business Account, so deleting it removes it for every number of that account, and a connection limited to some numbers can delete it only when it holds all of them.
- **Team roles.** Only owners and admins can connect an AI app. The connection works for the whole organization, within the numbers you approved, so treat it like an API key. The assistant can list your team, with each person's role and numbers and the invitations not yet accepted, but it cannot invite anyone, change a role or remove someone: a seat is billed and a role grants privileges, so those changes stay in **Settings > Team**, signed in.
- **Analytics.** The assistant reads the numbers of the Analytics page for up to 90 days: messages, template sends, conversations and response times, what the AI agent did, and broadcasts. It needs a plan that includes Analytics. A connection limited to some numbers counts one number at a time.
- **The API.** Every tool calls the [WhatsAble API v1](/api-reference/v1). What your assistant can do, your own code can do too.
- **Zapier, Make and n8n.** Use them for automations that run on their own, such as a template when a deal closes. Use the MCP server when you want to ask for something in a conversation. A message the assistant sends fires the same outgoing webhooks as one sent from the inbox, so your automations see it.
## Next steps
- [Suggested workflows](/mcp/workflows): what to ask, step by step.
- [Concepts](/mcp/concepts): the WhatsApp rules your assistant follows.
- [Troubleshooting](/mcp/troubleshooting): what to do when a connection or a send fails.
Source: /mcp
# Access and connections
> Choose what an AI app can do in WhatsAble and which numbers it can use, see every connected AI app, and revoke one. Removing the app on the AI side does not revoke it.
When you connect an AI app, WhatsAble asks you to sign in and approve what the app may do. The approval creates a **connection**. A connection works like an API key that only that AI app holds: it has the access and the numbers you chose, and you can revoke it.
## What you approve
The AI app sends you to WhatsAble in your browser. There are three steps.
**Sign in**
Sign in with your WhatsAble account. If you are already signed in, choose **Continue as** your name.
*The sign-in page an AI app opens*
**Choose the organization**
Pick the organization the app will work with. An organization is greyed out when you cannot connect it, and the page says why: its plan is not active, or its plan does not include the API. Only owners and admins can connect an AI app.
*Choose an organization*
**Approve the access**
The page names the AI app and the organization. Choose:
- **What it can do**: one of the three access levels below.
- **Default number**: the number the app sends from unless it is told otherwise.
- **Numbers it can use**: only the default number, all numbers, or specific numbers.
Under the title, the page shows where you go back to after you answer. Check that it is the AI app you started from. Then choose **Approve**, or **Deny** to cancel.
*The approval page*
## The access levels
| Access | What the assistant can do |
| --- | --- |
| **Full access** | Everything the API can do, including anything added later: send, create and delete templates, create labels, create, pause and resume broadcasts, turn the AI on or off in a conversation, and change AI agents. |
| **Send and read** | Send messages, read everything, add, update and label contacts, mark chats read or unread, add and delete internal notes, mark an AI message's figures as checked, turn the AI off or on in a conversation or choose its agent, cancel a reply the AI is about to retry, read saved replies, turn a contact's AI follow-ups off or on, and choose which AI agent answers on a number. It cannot create, rename or delete labels, create templates or broadcasts, or edit an AI agent. |
| **Read only** | Read numbers, templates, messages, contacts, broadcasts, AI agents, team members and saved replies. It cannot send or change anything. |
A connection or API key made with **Send and read** before it could turn the AI off and on shows as **Custom** and lacks that. The same goes for a **Send and read** or **Read only** connection made before it could read the team: it shows as **Custom** and cannot list team members. To get either, revoke it and connect again.
No access level can change the team. Inviting someone, changing a role and removing someone stay in **Settings > Team**, for a person signed in to WhatsAble.
The assistant sees only the tools its access allows. Choose **Read only** to let it answer questions about your conversations with no risk of a send. Choose **Full access** only when you want it to set things up for you, such as templates, broadcasts or AI agents.
## See your connected AI apps
Go to **Settings > API keys** in WhatsAble. The **Connected AI apps** list shows every app connected to the organization: its access, its numbers, who connected it, when, and when it was last used.
*Settings > API keys > Connected AI apps*
## Revoke a connection
In **Connected AI apps**, choose **Revoke** on the app's row, then **Revoke now**. The app stops working with this organization at its next request.
*Revoking a connection*
> [!WARNING]
>
> **Removing WhatsAble from your AI app does not revoke the connection.** Claude, ChatGPT and the others delete their copy of the connection, but WhatsAble still lists it until you revoke it here. Revoke it in WhatsAble whenever you stop using an app.
A connection is also revoked by itself when the person who approved it stops being an owner or an admin of the organization, or leaves it.
## Change what an app can do
You cannot edit a connection. To change its access or its numbers, revoke it in WhatsAble, then connect the app again. The approval page opens again, and you choose anew.
## Connect with an API key instead
Apps that you configure with a file, such as Claude Code, Cursor, VS Code and the Gemini CLI, can also send an API key instead of signing in. Create one in **Settings > API keys**, then send it in the `Authorization` header:
```text
Authorization: Bearer nfy_live_...
```
The key's own access and numbers then apply. Each connection guide shows where the header goes. Prefer signing in when your app supports it: the key is a secret that sits in a file, and anyone who reads the file can use it.
Source: /mcp/manage-access
# Troubleshooting the MCP server
> What to do when your AI app cannot connect to WhatsAble, a tool is missing, a message comes back Not sent, or the app suddenly asks you to sign in again.
## The app cannot connect
- **Claude:** you must choose **Register automatically** as the OAuth client. Remove the connector and add it again. See [Connect Claude](/mcp/connect/claude).
- **Check the URL:** it is `https://api.whatsable.app/mcp`, with `/mcp` at the end and nothing after it.
- **Check the transport:** choose HTTP or Streamable HTTP, not SSE. In the Gemini CLI, use `httpUrl`, not `url`.
- **The app has no browser:** sign-in opens a browser on the same computer. On a server or over SSH, [use an API key](/mcp/manage-access#connect-with-an-api-key-instead).
## The sign-in page refuses
- **"Only owners and admins of an organization can connect an AI app to it."** or **"Only owners and admins can connect an AI app."**: ask an owner of the organization to connect the app, or to make you an admin.
- **An organization is greyed out, "Plan not active":** renew the plan in **Billing**, or choose another organization.
- **"Plan does not include the API":** the organization's plan does not include the API. Change the plan in **Billing**.
- **"This organization has no connected WhatsApp number":** connect a number in **Business Numbers**, then connect the app again.
- **"This link has expired":** you took more than ten minutes. Go back to the AI app and start connecting again.
## A tool is missing
The assistant sees only the tools that its access allows. With **Send and read**, for example, it cannot create templates or broadcasts, and with **Read only** it cannot send. To give it more, revoke the connection and connect again with more access. See [Change what an app can do](/mcp/manage-access#change-what-an-app-can-do).
If the access is right, your AI app may hold an old list of tools. Start a new chat, or refresh the app in its settings (ChatGPT needs **Refresh**).
## A send is refused before it goes out
WhatsAble checks a send before it reaches WhatsApp. When a check fails, the tool answers with an error that names the problem and how to fix it, and nothing is sent. The most common ones:
- **The 24-hour window is closed.** A text or media message reaches a person only within 24 hours of their last message. Send an approved template instead. See [The 24-hour window](/mcp/concepts#24-hour-window).
- **A template variable is missing.** Ask the assistant to read the template first, then send again.
- **The number cannot send right now.** Check the number in **Business Numbers**.
## A message comes back "Not sent"
WhatsAble sent the message, and WhatsApp refused it. The result says why and whether a retry can work. Nothing reached the person.
**"Not sent, or not confirmed"** is different: WhatsApp did not answer in time, so the message may still arrive. Don't send it again until you know it did not arrive. Ask the assistant to check the message a little later.
A send that succeeds means WhatsApp accepted the message, not that it was delivered. Ask the assistant to check the message later: it shows delivered, read or failed. [Not sent results](/mcp/concepts#not-sent) explains more.
## A tool answers with an error
| The error starts with | What it means |
| --- | --- |
| **No active plan** or **Feature not in your plan** | Your WhatsAble plan changed. Renew or change it in **Billing**. The connection works again once the plan includes the API. |
| **Number not allowed for this key** | The connection does not include that number. Revoke it in **Connected AI apps**, then connect again and choose the number. |
| **Too many requests** | The connection hit a rate limit. The error says how many seconds to wait. Each connection has the same limits as an API key. |
## The app asks you to sign in again
- **Someone revoked the connection** in **Settings > API keys > Connected AI apps**.
- **The person who approved it** is no longer an owner or an admin, or left the organization. Their connections stop at once. Someone else who is an owner or an admin connects the app again.
- **You did not use the app for 30 days.** The sign-in expired. Sign in again.
## Something else
Message us on WhatsApp from the help link in WhatsAble, and tell us which AI app you use and what the assistant answered.
Source: /mcp/troubleshooting
# Suggested workflows
> What to ask your AI assistant once WhatsAble is connected: reply to customers, send templates, take over from the AI agent, label contacts, schedule messages, run broadcasts and edit AI agents.
Each workflow is a job you can hand to your assistant once [WhatsAble is connected](/mcp). Ask in your own words: the example prompts are only a start. The assistant knows these workflows too, so "What can you do with WhatsAble?" lists them.
The steps show what the assistant does and which tools it calls. You see the same tool names in your AI app when it asks you to approve a call.
> [!TIP]
>
> Name the person and the number when it matters: "Send it to Maria from the support line". When your connection can use more than one number, the assistant asks which one to send from if you don't say.
> [!WARNING]
>
> **Each send is a real WhatsApp message.** Read what your AI app asks you to approve before a send, a broadcast or a change to an AI agent. A tool call that you approve twice sends twice.
## Reply to a customer
Answer a conversation while its 24-hour window is open, or offer a template once it has closed.
Ask, for example:
- “Who wrote to us today and hasn't had an answer?”
- “Answer Carlos and tell him his order ships on Monday.”
What the assistant does:
1. Find the person with `find_contacts` by name, or by phone: a contact lists its conversations. Several matches come back with name and phone; none still matches the first letters of the name. Without a name, `list_conversations` shows the latest chats with their 24-hour window.
2. Read what was said with `list_messages` for that conversation.
3. While the window is open, `send_text_message` sends a reply in that conversation; for a standard answer, use a body from `list_saved_replies`. Sending pauses the AI agent in that chat by default, and the result says so: tell the person.
4. If the window has closed, a text cannot reach them: say so, and offer an approved template instead. Pick one with `list_templates`, read its variables with `get_template`, and send it with `send_template_message`.
Tools: `list_conversations`, `find_contacts`, `list_messages`, `send_text_message`, `list_saved_replies`, `list_templates`, `get_template`, `send_template_message`
## Send a template
Message someone who has not written in 24 hours, or ever, with an approved template.
Ask, for example:
- “Send order_shipped to +1 555 010 0100 for order 1042.”
- “Let Ana know her appointment is tomorrow at 10.”
What the assistant does:
1. Find the person with `find_contacts` by name, or by phone. Several matches come back with name and phone; none still matches the first letters of the name. Add them with `create_contact` if they are new.
2. Pick an approved template with `list_templates`, and read the variables it needs with `get_template`.
3. `send_template_message` sends the template with those values.
4. Later, check with `get_message` whether it was delivered or read.
Tools: `find_contacts`, `create_contact`, `list_templates`, `get_template`, `send_template_message`, `get_message`
## Check delivery
Find out whether a message was delivered or read, and why one failed.
Ask, for example:
- “Did my message to Ana arrive?”
- “Why did the last message to +1 555 010 0100 fail?”
What the assistant does:
1. When the person names someone, find them with `find_contacts` by name. Several matches come back with name and phone; none still matches the first letters of the name.
2. Find the message with `list_messages`, filtered by conversation, contact or status; the failed status shows only the failures.
3. Read it with `get_message`: sent means WhatsApp accepted it, then delivered and read follow; failed comes with the reason and whether a retry is worth it.
Tools: `find_contacts`, `list_messages`, `get_message`
## Fix failed messages
Explain why messages failed, and resend the ones a retry can fix.
Ask, for example:
- “Which messages failed this week, and why?”
- “Resend the messages that failed yesterday.”
What the assistant does:
1. List the failures with `list_messages` and the failed status, from the moment the person names.
2. Read each one with `get_message`: its error says why it failed and whether a retry later is worth it. Group the failures by reason.
3. Explain each group and its fix, such as a closed 24-hour window, a number that is not on WhatsApp, or a template that Meta paused.
4. A retry uses `send_text_message` while the 24-hour window is open, or `send_template_message` with an approved template after it has closed.
5. A message whose outcome is unknown may still arrive. Sending it again is a second message.
Tools: `list_messages`, `get_message`, `send_text_message`, `send_template_message`
## Summarize conversations
Catch the person up on recent chats without sending anything.
Ask, for example:
- “Catch me up on today's chats.”
- “Which customers are still waiting for a reply?”
What the assistant does:
1. List the recent conversations with `list_conversations`, from a moment such as this morning.
2. Read each one's latest messages with `list_messages` for that conversation.
3. Summarize who wrote, what they want and which ones still wait for an answer. Nothing is sent.
Tools: `list_conversations`, `list_messages`
## Show my unread chats
List the chats nobody has read yet, and mark one read or unread when asked.
Ask, for example:
- “Which chats haven't we read yet?”
- “Mark Ana's chat as read.”
- “Mark that chat unread so I remember to answer it.”
What the assistant does:
1. List them with `list_conversations` and unread true: each has messages nobody read in the inbox, or someone marked it unread. Reading a chat here does not mark it read.
2. Summarize who wrote and what they want. For a chat the person names, find it in one call with `list_conversations` and query set to the name. Several matches come back with name and phone; none still matches the first letters of the name. `read_conversation` shows what was said in it.
3. Only when the person asks, mark a chat read with `set_conversation_unread` and unread false, which clears its unread count in the inbox, or unread with unread true, so it stands out.
Tools: `list_conversations`, `read_conversation`, `set_conversation_unread`
## Who is waiting for an answer
List the chats still waiting for an answer, and reply to them.
Ask, for example:
- “Who is waiting for an answer?”
- “Which customers have we not answered yet today?”
What the assistant does:
1. List them with `list_conversations` and awaiting_reply true, newest first: each chat's last message came from the customer, and each shows its 24-hour window.
2. Summarize who waits, since when and what about, and read the chats the person picks with `read_conversation`.
3. While the window is open, `send_text_message` sends the reply in that conversation; this pauses the AI agent there by default, and the result says so: tell the person.
4. If the window has closed, only an approved template reaches them: pick one with `list_templates`, read its variables with `get_template`, and send it with `send_template_message`.
Tools: `list_conversations`, `read_conversation`, `send_text_message`, `list_templates`, `get_template`, `send_template_message`
## Add a note
Leave the team an internal note on a chat, which the customer never sees.
Ask, for example:
- “Add a note to Ana's chat: she wants the invoice re-issued.”
- “Note on the Acme chat that we call them back on Monday.”
What the assistant does:
1. Find the chat with `list_conversations` and query set to the person's name. Several matches come back with name and phone; none still matches the first letters of the name.
2. Add the note with `add_conversation_note`. The team sees it in the inbox under this connection's name; the customer never sees it, and nothing is sent.
3. To remove a note, `read_conversation` gives its id and `delete_conversation_note` deletes it. A note about the contact rather than one chat is `update_contact`'s note, which replaces the contact's single note.
Tools: `list_conversations`, `add_conversation_note`, `read_conversation`, `delete_conversation_note`, `update_contact`
## Daily report
A one-day report: the chats, who waits, failures, AI handoffs and what is planned.
Ask, for example:
- “Give me my daily WhatsApp report.”
- “What happened on WhatsApp yesterday?”
- “Who is still waiting for an answer this morning?”
What the assistant does:
1. Agree the period and the time zone with the person, such as since midnight today or all of yesterday.
2. List the chats of the period with `list_conversations` from its start. A chat whose last message came from the customer still waits for an answer; each chat shows its 24-hour window and its AI status.
3. Count the messages that came in and went out with `get_message_analytics` for the day, in the same time zone, naming number_id when this connection holds only some numbers. It also gives the failure codes; `list_messages` with the failed status lists the failed messages, and `get_message` gives the reason of one.
4. For each chat where the bot handed off or a person paused the AI, read why with `read_conversation`.
5. What is planned: `list_scheduled_messages` with the pending status, the running and paused broadcasts with `list_broadcasts`, and the broadcasts still to start with `list_broadcasts` with the scheduled status.
6. The report has short parts: the numbers, the people waiting with the time left in their window, the failures with their fix, the handoffs, and what is planned. Nothing is sent.
Tools: `list_conversations`, `get_message_analytics`, `list_messages`, `get_message`, `read_conversation`, `list_scheduled_messages`, `list_broadcasts`
## Weekly report
A seven-day report: volume, failures, broadcasts, templates to fix and top customer topics.
Ask, for example:
- “Give me a weekly WhatsApp report.”
- “How did this week on WhatsApp compare with last week?”
What the assistant does:
1. Agree the week and the time zone with the person. To compare two weeks, read both the same way.
2. Count the messages of the week with `get_message_analytics` from its first day to its last, naming number_id when this connection holds only some numbers: sent, delivered, read, failed and received, by day. Its failure codes name the most common reasons.
3. Count the chats of the week with `list_conversations`, and the contacts added or changed with `find_contacts`, from the same day.
4. List the broadcasts of the week with `list_broadcasts`, with their sent, delivered, read and failed counts.
5. Check the templates with `list_templates`, and name each one that Meta rejected, paused or disabled: a broadcast or a reminder that uses it cannot be sent.
6. Read the inbound messages of the week with `list_messages` and the inbound direction, and name the three or four topics customers asked about most, with one short example each.
7. Write the report: the numbers first, then what changed since the week before, then what needs attention. Nothing is sent.
Tools: `get_message_analytics`, `list_messages`, `list_conversations`, `find_contacts`, `list_broadcasts`, `list_templates`
## Take over from the AI
Stop the bot and its follow-ups in one chat, reply by hand, and hand it back later.
Ask, for example:
- “Pause the bot for Maria and tell her I'll call her at 5.”
- “Turn the AI back on for Maria's chat.”
- “Stop following up with Maria, but let the bot answer her.”
What the assistant does:
1. `find_contacts` by name, or by phone, lists that person's conversations. Several matches come back with name and phone; none still matches the first letters of the name. `list_conversations` shows the latest chats.
2. Check it with `get_conversation`: its AI status, and whether the 24-hour window is open.
3. Before taking over, read what happened with `read_conversation`: the messages, the team's notes, and why the bot did what it did, such as the reason it handed off.
4. `send_text_message` sends the reply in that conversation. A reply sent through these tools pauses the AI agent in that chat by default, as a reply in the inbox does, and the result says so: tell the person the AI is now paused there. Pass pause_ai false to leave it on.
5. To stop the bot without replying, use `set_conversation_ai` and status off. That stops its replies and its follow-ups in this one chat until someone turns it back on; every other chat keeps the bot.
6. If the person only wants the bot to stop chasing someone, use `set_contact_follow_ups` with status off instead: it stops the follow-ups to that contact on every number, and the bot still answers when they write. Status on allows them again.
7. When the person is done, turn the AI back on with `set_conversation_ai` and status active.
Tools: `find_contacts`, `list_conversations`, `get_conversation`, `read_conversation`, `set_conversation_ai`, `set_contact_follow_ups`, `send_text_message`
## Review the AI bot's handoffs
Find why the AI bot hands chats off, and what in its prompt covers those reasons.
Ask, for example:
- “Why did the bot hand chats over to us this week?”
- “Which questions can the bot not answer yet?”
What the assistant does:
1. List the chats of the period with `list_conversations`, and keep those where the bot handed off or a person paused the AI.
2. Read each one with `read_conversation`: the messages and the bot's own reasoning for the handoff. The reasoning is the bot's account, not a verified fact.
3. Group the reasons, such as a question the prompt does not cover, a price the bot does not know, or a customer who asked for a person.
4. Read the bot with `list_ai_bots` and `get_ai_bot`, and suggest the changes to its prompt that cover the common reasons.
5. `update_ai_bot` changes the bot. The same fields are described under Edit an AI bot.
6. For the figures the bot flagged, `list_conversations` with figures_to_check true finds the chats, and `read_conversation` shows the flagged messages. `mark_figures_checked` records that a person checked them.
Tools: `list_conversations`, `read_conversation`, `list_ai_bots`, `get_ai_bot`, `update_ai_bot`, `mark_figures_checked`
## Organize contacts with labels
Add and remove labels, so contacts can be found and messaged as a group.
Ask, for example:
- “Create a label called Wholesale and put Ana and Pedro on it.”
- “Remove the VIP label from Pedro.”
What the assistant does:
1. See the labels that exist with `list_labels`, and create a missing one with `create_label`.
2. Find each contact with `find_contacts` by name, or by phone. Several matches come back with name and phone; none still matches the first letters of the name. A label_id lists who has the label already.
3. Add a label with `add_contact_label` and take one off with `remove_contact_label`. Taking it off one contact keeps the label for everyone else.
Tools: `list_labels`, `create_label`, `find_contacts`, `add_contact_label`, `remove_contact_label`
## Add or update contacts
Add contacts from a list the person pastes, or change a contact's name or notes.
Ask, for example:
- “Add these five customers to my contacts.”
- “Change Ana's note to: prefers a call in the morning.”
What the assistant does:
1. `create_contact` adds one contact per call.
2. `create_contact` takes the phone and the name: it finds the contact when it exists and creates it when it does not. One call per contact.
3. To change the name or a note of an existing contact, find it with `find_contacts` by name. Several matches come back with name and phone; none still matches the first letters of the name. Then change it with `update_contact`.
Tools: `create_contact`, `find_contacts`, `update_contact`
## Schedule a message
Send a message later, see what is scheduled, and cancel one that has not been sent.
Ask, for example:
- “Remind Ana tomorrow at 9am about her appointment.”
- “What messages are scheduled for this week?”
- “Remind Maria on Friday at 10:00 with the payment_reminder template, but only if she has not replied.”
What the assistant does:
1. `find_contacts` by name, or by phone, finds the person. Several matches come back with name and phone; none still matches the first letters of the name.
2. `schedule_message` stores a text or an approved template for a later time and time zone. Nothing is sent in that call.
3. A template is not limited by the window. A text reaches the person only if their 24-hour window is still open when it is sent.
4. For "only if she has not replied", `schedule_message` a no_reply condition; for "only if they carry a label" or "unless they do", a labels condition with include or exclude. If the condition fails when it is due, nothing is sent, and `get_scheduled_message` says why.
5. See what is waiting with `list_scheduled_messages`; a pending one has not been sent yet.
6. Cancel one with `cancel_scheduled_message`, as long as it is still pending.
Tools: `find_contacts`, `schedule_message`, `get_scheduled_message`, `list_scheduled_messages`, `cancel_scheduled_message`
## Send a broadcast
Send an approved template to a label's contacts and follow its progress.
Ask, for example:
- “Send the spring_sale template to everyone labeled VIP.”
- “Send spring_sale to everyone labeled VIP on Monday at 9:00.”
- “How is yesterday's broadcast doing?”
What the assistant does:
1. Find the recipients: `list_labels` for the label, then `find_contacts` with that label for their phones. A broadcast takes phones only, so a contact known only by a WhatsApp user id cannot be a recipient.
2. Pick an approved template with `list_templates` and read its variables with `get_template`.
3. One broadcast takes 1 to 10,000 phones, at most 2 MB.
4. `create_broadcast` launches it now, or at scheduled_at with the person's time zone as its offset and the zone's name as time_zone. The result's recipient_count counts a phone listed twice once.
5. Follow it with `get_broadcast` and `list_broadcast_recipients`. `set_broadcast_status` pauses a running broadcast and resumes a paused one; `cancel_broadcast` stops the sends that have not gone out yet, and a scheduled one before it starts.
Tools: `list_labels`, `find_contacts`, `list_templates`, `get_template`, `create_broadcast`, `get_broadcast`, `list_broadcast_recipients`, `set_broadcast_status`, `cancel_broadcast`
## Win back quiet customers
Send an approved template to the customers who have not written for a while.
Ask, for example:
- “Which customers have not written to us in 30 days?”
- “Send our we_miss_you template to the customers who went quiet this month.”
What the assistant does:
1. Agree the period with the person, such as 30 days.
2. List the chats with `list_conversations`, latest first: the quiet customers are those whose last message is older than the period. Their 24-hour window has closed, so only a template reaches them.
3. Leave out anyone the person names. Offer to tag the rest with a label, with `create_label` and `add_contact_label`, so the group can be found again.
4. Pick an approved template with `list_templates` and read its variables with `get_template`. Meta can limit marketing templates to people who did not opt in.
5. `send_template_message` sends the template to one person. `create_broadcast` sends it to the label's phones.
Tools: `list_conversations`, `create_label`, `add_contact_label`, `list_templates`, `get_template`, `send_template_message`, `create_broadcast`
## Create a template
Draft a template with the person and submit it to Meta, which must approve it before a send.
Ask, for example:
- “Create a template telling customers their order shipped, with its number.”
- “Is my new order_shipped template approved yet?”
What the assistant does:
1. Agree the wording with the person, numbering each variable and giving an example value for each: Meta's reviewers read the examples.
2. Submit it with `create_template`. It starts as pending, and Meta's review takes time.
3. Check later with `get_template` whether it was approved or rejected. Only an approved template can be sent.
Tools: `create_template`, `get_template`
## Edit an AI bot
Read and change a bot's prompt or settings, create one, or put a bot on a number.
Ask, for example:
- “Make the bot more formal and tell it we are closed on Sundays.”
- “Put the Sales bot on our second number.”
What the assistant does:
1. Find the bot with `list_ai_bots` and read its configuration with `get_ai_bot`.
2. To change text inside a long field, read it whole with `read_ai_bot_text` first, page by page, then send the whole new text. `update_ai_bot` takes the updated_at from `get_ai_bot` as version, or the first page's updated_at. A text sent replaces the stored one whole. A version conflict means the bot changed after that read. An active bot's change reaches customers on its next reply.
3. To add to the knowledge or the instructions, send the new text as knowledge_append or instructions_append: it goes at the end, and nothing before it changes.
4. To start a new bot, use `create_ai_bot`, which starts as a draft that answers no one, or copy one with `duplicate_ai_bot`.
5. Put a bot on a number with `assign_ai_bot_to_number`.
Tools: `list_ai_bots`, `get_ai_bot`, `update_ai_bot`, `read_ai_bot_text`, `create_ai_bot`, `duplicate_ai_bot`, `assign_ai_bot_to_number`
## A workflow is missing?
The assistant can combine any of the [tools of the server](/mcp#what-the-assistant-can-do), so you can ask for jobs that are not on this page. When something needs a tool your connection does not have, the assistant says so. [Access and connections](/mcp/manage-access) explains how to give it more.
Source: /mcp/workflows
# Get Started with Whatsable for monday.com
> Connect WhatsApp Business to your monday boards. Create a WhatsAble account, connect your number through Meta, add a template, link monday.com, and build workflows and Live Chat. Includes a video walkthrough and a free setup call.
# WhatsAble + monday.com
*Full video walkthrough: WhatsAble with monday.com*
WhatsAble connects your WhatsApp Business number to your monday boards. Your boards send WhatsApp messages, log every conversation on the matching item, and start workflows when a message arrives. This guide takes you from a new account to a working WhatsApp automation inside monday.
> [!TIP]
>
> If you want us to do the setup for you, [**book a free setup call**](https://tidycal.com/axelmeta/whatsapp-notifications-by-whatsable). The call is free for all customers, also during the free trial.
---
## Quick setup (3 steps)
**Create your WhatsAble account**
Go to [**console.whatsable.app/sign-up**](https://console.whatsable.app/sign-up) and create your account. A few short questions set up your workspace.
**Connect your WhatsApp Business number**
Connect your number through Meta's signup. The detailed steps are in [Connect your WhatsApp Business number](#2-connect-your-whatsapp-business-number-through-meta) below.
**Start automating in monday**
Connect monday.com in WhatsAble, then build workflows and use **Live Chat** on your boards. Follow the [Step-by-step walkthrough](#step-by-step-walkthrough) from the beginning.
> [!NOTE]
>
> **Full video walkthrough:** [**Watch on YouTube**](https://youtu.be/3cc4uvtF7AY). It is the same video as the one above.
---
## Step-by-step walkthrough
### 1. Create your account
**Sign up**
Open [**console.whatsable.app/sign-up**](https://console.whatsable.app/sign-up) and create your account.
**Answer the setup questions**
WhatsAble asks for your website, your role, your goals and the tools you use. Your answers set up your workspace and a first draft of your AI agent. You can skip a question.
**Choose a plan**
On **Choose a plan**, pick a plan, or select **Continue free with 2 contacts. No card needed.** You can change the plan at any time.
After the plan screen, WhatsAble opens **Get started**. This page is a setup checklist: connect WhatsApp, connect your tools, create an AI bot, and go live. You can open it again at any time from **Get started** in the sidebar.
### 2. Connect your WhatsApp Business number through Meta
WhatsAble connects your number with Meta's Embedded Signup. Meta's signup opens in a popup window. You need a Meta Business account and a phone number that can receive a verification code.
**Open the connect step**
In WhatsAble, open [**Get started**](https://console.whatsable.app/get-started). You can also open [**Settings → Business Numbers**](https://console.whatsable.app/settings/numbers).
**Start Meta's signup**
Select **Connect your WhatsApp number** on **Get started**, or **Connect WhatsApp** on **Business Numbers**. Meta's signup opens in a popup.
**Log in to Meta**
Log in with the Facebook account that manages your Meta Business portfolio.
**Select your business portfolio**
Select your business portfolio, or create one.
**Choose a WhatsApp Business Account**
Choose your existing WhatsApp Business Account, or create a new one.
**Add a number**
Choose how to add a number. You can use the number that is already in your WhatsApp Business app, a new number that is not on WhatsApp yet, or a free US number from Meta.
**Finish the signup**
Complete the verification that Meta asks for. Then close the popup when Meta tells you that you are done.
When the connection is complete, **Get started** shows **Your number is connected**. WhatsAble also imports the templates that your WhatsApp Business Account already has.
> [!NOTE]
>
> If your number already runs in the WhatsApp Business app, you can keep the app. Meta calls this Coexistence. See [Connect WhatsApp Business to WhatsAble (Embedded Signup + Coexistence)](/features/connect-whatsapp).
> [!WARNING]
>
> For a new number, WhatsAble shows the number's two-step PIN one time after the connection. Save the PIN. WhatsAble does not show it again.
If the signup stops before the end, **Get started** shows **Signup not finished. Pick up where you left off**. Select **Retry** to open Meta's signup again.
### 3. Add a payment method on Meta (do not skip)
Meta charges for WhatsApp conversations, so your WhatsApp Business Account needs a payment method on the Meta side. Many people skip this step, and then their messages fail. The **Get started** checklist includes this step as **Add a payment method on Meta**.
*Add a payment method for WhatsApp in Meta*
Typical places to add the payment method in Meta:
- Open [**business.facebook.com**](https://business.facebook.com/) and go to **Settings** (often at the bottom left) → **Accounts** → **WhatsApp accounts**. Select your **Phone number**, open **Summary**, scroll to **Payment settings**, and select **Add payment method**.
- If the labels are different, look in the **Billing** or **Payments** sections of Meta Business Suite. Find the **payment method for WhatsApp**. Meta changes these labels from time to time.
> [!WARNING]
>
> If Meta **rejects your card**, contact [**team@whatsable.app**](mailto:team@whatsable.app). We help you find the cause.
A payment method for **Ads** is not always sufficient. Your Meta account can need a payment method that is attached to WhatsApp billing.
*Meta payment settings menu for WhatsApp*
### 4. Create your first template
A template is a message that Meta approves before you send it. monday uses templates when a workflow sends a message, for example a welcome message when the status of a lead changes to "Qualified."
**Open the template editor**
Open [**Templates → New template**](https://console.whatsable.app/templates/new).
**Name the template**
Type a **Name**. Meta uses the name only to identify the template. Your contacts do not see it.
**Choose a category**
Select a **Category**. Use **Marketing** for promotions. Use **Utility** for a transactional notification, such as an order update.
**Write the body**
Write the **Body**. To add a dynamic field, such as the contact's name, select **Insert variable**. For example: `Hi {{1}}, thank you for your interest in {{2}}.`
**Add samples**
Fill in **Samples for review**, for example "Alex" for the name and "Product Name" for the product. Meta rejects a template whose samples do not look like real data.
**Add buttons (optional)**
Select **Add a button** to add a quick reply, such as "Yes, I want info", or a website button.
**Submit**
Select **Submit for review**.
Meta decides on most templates within 15 minutes. Some take up to 24 hours. After Meta approves the template, you can select it in your monday workflows.
### 5. Set up your AI agent (optional)
WhatsAble can run an AI agent next to your team. Open [**AI agents**](https://console.whatsable.app/ai-bots) in the sidebar. The setup questions already made a first draft from your website.
- Give the agent a **name**, for example "Lead qualifier".
- Describe your **business mission** and add your **product and FAQ knowledge**.
- Write **human handoff** rules, for example: *"If a customer mentions a deal over \$5,000, notify a human."*
When a handoff occurs, WhatsAble notifies your team. The same notification can reach the Notifyer by WhatsAble app on [iOS](https://apps.apple.com/es/app/notifyer-by-whatsable/id6743722183) and [Android](https://play.google.com/store/apps/details?id=com.chatmobile.chat_mobile).
The agent can also **follow up proactively** when a conversation goes quiet, inside the rules you set.
> [!NOTE]
>
> AI agents need a Pro or Agency plan.
### 6. Invite your team
Open [**Team**](https://console.whatsable.app/settings/members) in the sidebar and select **Invite member**. Each person gets a role:
| Role | What the person can do |
| --- | --- |
| **Admin** | Replies, plus invites people, edits templates and sends broadcasts. Sees everything except billing. |
| **Member** | Replies in the inbox. You choose what the person can see. |
For a **Member**, you choose the numbers the person works in. You can also limit the person to conversations that carry certain labels. Use this to route conversations by region, product line or role.
You can change a role or an access setting at any time.
[**Video tutorial here**](https://youtu.be/3cc4uvtF7AY)
### 7. Connect monday.com
**Install WhatsAble on monday**
In the [monday marketplace](https://monday.com/marketplace), find **WhatsAble - WhatsApp Automation with AI** and select **Install**. monday asks for permission to install the app.
**Authorize the app**
monday then asks you to authorize the app. Select **Authorize**. Both steps are necessary. Without the authorization, the integration does not work.
**Connect monday.com in WhatsAble**
In WhatsAble, open [**Integrations → Monday.com**](https://console.whatsable.app/integration/monday) and select **Connect Monday.com**. Only an owner or an admin can do this.
**Set up each number**
For each WhatsApp number, turn on **Sync this number**. Then fill in **Workspace, board and column mapping**: the workspace, the board and the phone column that WhatsAble uses to find the matching item.
**Turn on workflows**
Turn on **Start workflows for this number** if a WhatsApp message on that number must start a monday workflow.
The monday permission and authorization screens
*Give permission to install WhatsAble*
*Authorize WhatsAble to connect with monday*
**If the connection is not complete:** the **WhatsAble Live Chat** tab on a board item shows **Whatsable is not connected**. Select **Connect Whatsable** and finish the steps above. If the tab shows **No WhatsApp number connected**, connect a number in [**Settings → Business Numbers**](https://console.whatsable.app/settings/numbers).
### 8. Build your monday workflows
Inside a board, select **+** in the workflows area and build an automation.
#### Outbound: send WhatsApp when monday changes
**Example:** when the **status** of a lead becomes **Qualified**:
1. **Trigger:** Status changes to → **Qualified**.
2. **Action:** Search for **WhatsAble** → **Send WhatsApp Message**.
3. Select your **approved template**.
4. **Map the columns:** the name variable ← the name column; **recipient / phone** ← the phone column. The field names differ by recipe.
5. **Publish.**
*monday workflow, publish the WhatsAble send action*
#### Inbound: start a workflow from a WhatsApp message
Search for **WhatsAble** and add **When a WhatsApp message is received or sent**. Pick **All** or one number, and **Inbound messages**, **Outbound messages**, or **Both messages**. The trigger runs only for a number that has **Start workflows for this number** on.
The next step can read the message that started the workflow: contact name, phone, message text, and the time. Field by field, including **Send WhatsApp Message** and Sidekick, is on [Monday.com workflows](/integration/monday/workflows).
*The WhatsAble trigger in a monday workflow*
### 9. See WhatsApp messages inside each monday item
WhatsAble logs each WhatsApp message that your team sends or receives in the Updates section of the matching monday item. The full conversation history is next to the details of the lead.
When you open an item, an update looks like "Ada : Hello" from the contact, or "You (Sam) : Hello" from a teammate. With an interval, each line also shows the date and time. You can like, reply and mention teammates on each message, as on any other monday update.
In [**Integrations → Monday.com**](https://console.whatsable.app/integration/monday), **When activities sync** sets how often WhatsAble writes these entries: instantly, or every 10, 30 or 60 minutes.
*WhatsApp messages in the monday Updates section*
### 10. Use Live Chat inside monday
On an item, click **Add view**, then **Explore more views** → **Installed apps**, and add **WhatsApp Live Chat by WhatsAble**. Open that tab, next to Updates, Files and Activity Log. You can read and reply to that contact without a second login. An AI reply shows as the agent. A teammate's reply shows that person's name.
The same chat is under **My Work**: expand the sidebar and open **WhatsApp Live Chat Via WhatsAble**. That view is every conversation.
If the tab shows **Connect WhatsAble**, finish [Connect monday.com](#7-connect-mondaycom) above. How matching and column updates work is on [Monday.com board sync](/integration/monday/sync).
---
## What you can do
- Send **WhatsApp messages automatically from monday boards**
- Get notified when a contact replies
- **Sync contacts and messages** between WhatsApp and monday
- Read and reply to WhatsApp conversations inside a board item, with no extra login
- See each WhatsApp message in the Updates section of each item, with the team member who sent it
- Run an AI agent that qualifies leads and follows up automatically
- Send one message to many contacts with **Broadcasts**
- Connect Zapier, Make or n8n for more workflows
- See message analytics, and create API keys for your own integrations
---
## Helpful resources
- Documentation: [docs.whatsable.app](https://docs.whatsable.app)
- YouTube tutorials: [youtube.com/@TheWhatsAutomator](https://www.youtube.com/@TheWhatsAutomator)
- Support: [team@whatsable.app](mailto:team@whatsable.app)
- Free setup call: [Book a session](https://tidycal.com/axelmeta/whatsapp-notifications-by-whatsable)
---
## Need help?
Chat with us on [whatsable.app](https://www.whatsable.app). Select the green button in the bottom right corner.
Setup help is free for all customers, also during your free trial. If you want us to configure your templates and workflows, [book a call](https://tidycal.com/axelmeta/whatsapp-notifications-by-whatsable).
Source: /onboarding/get-started-with-whatsable
# Quickstart
> Start with Whatsable: create an account, connect your WhatsApp number, then answer chats, send broadcasts, add an AI agent, or connect Make, Zapier, n8n, the API or an AI app.
Whatsable runs your WhatsApp Business number: a shared inbox for your team, broadcasts, an AI agent that answers for you, and connections to your other tools. Here is the shortest path to your first message.
**Create your account**
Sign up at [console.whatsable.app/sign-up](https://console.whatsable.app/sign-up). A short setup asks about your business and your goals. [Get started](/features/get-started) walks through it.
**Connect your WhatsApp number**
Connect your number through Meta. You can keep using the WhatsApp Business app on your phone at the same time. See [Connect WhatsApp](/features/connect-whatsapp) and [business numbers](/features/business-numbers).
**Pick what you want to do first**
Choose one of the paths below. You can add the others later.
## Talk to customers
- [Answer chats in the inbox](/features/inbox-conversations):
Reply to customers with your team, from one shared inbox.
- [Send a broadcast](/features/broadcasts):
Send an approved template to many contacts at once.
- [Create an AI agent](/features/ai-chatbot/create-an-agent):
Let an AI agent answer questions and hand a chat to your team when needed.
- [Create message templates](/features/message-templates):
Templates start conversations outside the 24-hour window.
## Connect your tools
- [Make](/integration/make):
Send and receive WhatsApp messages in Make scenarios.
- [Zapier](/integration/zapier):
Connect WhatsApp to thousands of apps with Zaps.
- [n8n](/integration/n8n):
Build WhatsApp workflows in n8n.
- [Outgoing webhooks](/features/webhooks):
Send each incoming or outgoing message to your own endpoint.
## Build with code or AI apps
- [API v1](/api-reference/v1):
Send messages and manage templates, contacts, broadcasts and AI agents from your own code. Start with an [API key](/features/api-keys).
- [AI apps (MCP)](/mcp):
Let Claude, ChatGPT or another AI app read and send your WhatsApp messages.
> [!NOTE]
>
> Make, Zapier, n8n, outgoing webhooks, the API and AI agents are part of the **Pro** and **Agency** plans and the free plan, not Bulk Message. See [plans](/features/plans-bulk-message-pro-agency).
Source: /quickstart
# WhatsApp Cloud API error 130429
> WhatsApp Cloud API error 130429. Cloud API message throughput has been reached. Match on code and details, not on titles.
# WhatsApp Cloud API error 130429
This page documents WhatsApp Cloud API error `130429`.
Meta will deprecate error titles. Match on `code` and `details`, not on the title in `message`.
Official table: [WhatsApp Cloud API error codes](https://developers.facebook.com/docs/whatsapp/cloud-api/support/error-codes/).
## Match these fields
| Field | Value |
| --- | --- |
| `code` | `130429` |
| `error_data.details` | Cloud API message throughput has been reached. |
Do not build handlers on titles such as `(#130429) Rate limit hit`. Those titles live inside `message` and will be deprecated.
## Official `details`
Cloud API message throughput has been reached.
## Official next step
The app has reached the API throughput limit.
See Meta [Throughput](https://developers.facebook.com/documentation/business-messaging/whatsapp/throughput).
Try again later, or reduce how often the app sends messages.
## Example from Meta
```json
{
"error": {
"message": "(#130429) Rate limit hit",
"type": "OAuthException",
"code": 130429,
"error_data": {
"messaging_product": "whatsapp",
"details": "Cloud API message throughput has been reached."
},
"error_subcode": 2494055,
"fbtrace_id": "Az8or2yhqkZfEZ-_4Qn_Bam"
}
}
```
The `message` string is a title. Read `code` and `error_data.details`.
## Related codes
- [131026](/whatsapp-error-131026) — unable to deliver message.
- [131047](/whatsapp-error-131047) — more than 24 hours since the recipient last replied.
- [131049](/whatsapp-error-131049) — not delivered to maintain healthy ecosystem engagement.
- [132001](/whatsapp-error-132001) — template missing in that language or not approved.
Source: /whatsapp-error-130429
# WhatsApp Cloud API error 131026
> WhatsApp Cloud API error 131026. Unable to deliver message. Match on code and details, not on titles.
# WhatsApp Cloud API error 131026
This page documents WhatsApp Cloud API error `131026`.
Meta will deprecate error titles. Match on `code` and `details`, not on the title in `message`.
Official table: [WhatsApp Cloud API error codes](https://developers.facebook.com/docs/whatsapp/cloud-api/support/error-codes/).
## Match these fields
| Field | Value |
| --- | --- |
| `code` | `131026` |
| `error_data.details` | Unable to deliver message. Reasons can include the cases below. |
Do not build handlers on titles such as `(#131026) …`. Those titles live inside `message` and will be deprecated.
## Official `details`
Unable to deliver message. Reasons can include:
- The recipient phone number is not a WhatsApp phone number.
- Recipient has not accepted the new Terms of Service and Privacy Policy.
- Recipient using an old WhatsApp version. The recipient must use this WhatsApp version or greater:
- Android: 2.21.15.15
- SMBA: 2.21.15.15
- iOS: 2.21.170.4
- SMBI: 2.21.170.4
- KaiOS: 2.2130.10
- Web: 2.2132.6
## Official next step
Use a non-WhatsApp channel. Ask the WhatsApp user to:
- Confirm that they can send a message to your WhatsApp Business phone number.
- Confirm that they have accepted the latest Terms of Service. **Settings** > **Help**, or **Settings** > **Application information**, will prompt them if they have not accepted the latest terms.
- Update to the latest version of the WhatsApp client.
## Fields to read
Read `code` and `error_data.details`.
Ignore the title inside `message`.
## Related codes
- [131047](/whatsapp-error-131047) — more than 24 hours since the recipient last replied.
- [131049](/whatsapp-error-131049) — not delivered to maintain healthy ecosystem engagement.
- [132001](/whatsapp-error-132001) — template missing in that language or not approved.
- [130429](/whatsapp-error-130429) — Cloud API throughput reached.
Source: /whatsapp-error-131026
# WhatsApp Cloud API error 131037
> WhatsApp Cloud API error 131037: the 555 business phone needs an approved display name before send. Match on code and details, not titles.
This page documents WhatsApp Cloud API error `131037`.
Meta will deprecate error titles. Match on `code` and `details`, not on the title in `message`.
Official table: [WhatsApp Cloud API error codes](https://developers.facebook.com/documentation/business-messaging/whatsapp/support/error-codes).
## Match these fields
| Field | Value |
| --- | --- |
| `code` | `131037` |
| `error_data.details` | The 555 business phone number used to send the request does not have an approved display name. |
Do not build handlers on titles such as `(#131037) …`. Those titles live inside `message` and will be deprecated.
## What 131037 means
Official `details`: The 555 business phone number used to send the request does not have an approved display name.
Official next step from Meta: change or approve the 555 business phone number’s display name. See Meta’s [display names](https://developers.facebook.com/documentation/business-messaging/whatsapp/display-names) documentation and [How to change your WhatsApp Business display name](https://www.facebook.com/business/help/338047025165344).
`131037` is a **refusal**. The message is not sent.
In one Observed case, the same code refused both free-form text replies inside an open customer service window and template sends on that number.
Always check account health (and billing) before acting on the code alone. A send error code can be the wrong place to start if the account is unhealthy for another reason. Payment-method failures are typically surfaced under other codes (for example `131042`); do not treat `131037` as a payment error by default.
## Reading `health_status`
Query the **phone-number** node (not the account node; the account node omits the phone-number entity):
```bash
GET /{phone-number-id}?fields=health_status
```
The response has one rollup, `can_send_message`, and a list of entities: `PHONE_NUMBER`, `WABA`, `BUSINESS`, and `APP`.
- The rollup takes the worst entity. A healthy account behind an unverified business shows `LIMITED` overall. Read the entities to see which one is at fault.
- `can_send_message` values: `AVAILABLE`, `LIMITED`, `BLOCKED`. `LIMITED` is a steady state for businesses that have not passed verification — not an outage by itself.
- The explanation can be free text. Read both `errors` and `additional_info`. In one Observed case, the `PHONE_NUMBER` entity had no error code; `additional_info` said the display name was not approved yet and that the message limit would increase after approval.
- An `AVAILABLE` entity can still list other errors that do not stop messaging. Treat messaging readiness from `can_send_message` and the phone-number / display-name entities, not from every code on the payload.
## Phone-number node traps
Query (current Meta fields plus one legacy field seen in the case):
```bash
GET /{phone-number-id}?fields=status,name_status,new_name_status,code_verification_status,quality_rating,whatsapp_business_manager_messaging_limit,messaging_limit_tier,platform_type,verified_name,is_pin_enabled,account_mode
```
`messaging_limit_tier` is a **legacy** field (Observed in the case table below). Prefer `whatsapp_business_manager_messaging_limit` for current reads.
These fields can look healthy while sends still fail with `131037`. Values Observed on a problem +1 555 number at the same time:
| Field | Example value | Meaning |
| --- | --- | --- |
| `status` | `CONNECTED` | registered and online |
| `code_verification_status` | `VERIFIED` | |
| `platform_type` | `CLOUD_API` | Cloud API number |
| `is_pin_enabled` | `true` | two-step PIN set at registration |
| `name_status` | `AVAILABLE_WITHOUT_REVIEW` | no name review shown as pending |
| `new_name_status` | `AVAILABLE_WITHOUT_REVIEW` | no newer name request waiting |
| `messaging_limit_tier` | `TIER_250` | legacy displayed tier (Observed) |
| `quality_rating` | `GREEN` | |
| `verified_name` | an older name | a newly approved name may not be applied yet |
Signals that can disagree for hours or days on the same account (Observed case; lag timing from Meta support):
- The phone-number node says no review is pending (`AVAILABLE_WITHOUT_REVIEW`).
- `health_status` says the display name is not approved.
- WhatsApp Manager’s Phone numbers tab says “Pending review”.
- Meta emails that a display name was approved.
- The displayed messaging limit looks like a normal tier while the effective cap on that +1 555 number is still tiny.
Meta support’s explanation for the lag in that case: the approval must be “reflected”, which can take **1 to 2 business days**. Treat the approval email, Manager, phone-number node, and health endpoint as independent views until they agree. Confirm on the number you send from: `verified_name` matches the approved name, and health no longer flags an unapproved display name.
The messaging limit Meta displays for a normal number is a ceiling, not a guarantee of the effective limit on a +1 555 number whose display name is still unapproved.
## Meta-provided +1 555 numbers
Meta can provide **+1 555** business phone numbers through Embedded Signup. Per Meta’s Embedded Signup docs, these numbers use a US +1 / 555 pattern, are auto-verified, are limited in how many a business can claim, **must have an approved display name before they can send**, and otherwise behave like standard Cloud API numbers once that gate clears. They are not migratable off the platform the way a number you bring yourself is.
For production and portability, use a **real phone number** you control. Keep a +1 555 number for evaluation if you want, or remove it.
For a specific +1 555 number whose display name was not approved, **Meta support** (this case) stated the WABA remained subject to a messaging limit of **five messages per day**, and that the limit would lift once the display name was approved and reflected (often 1 to 2 business days). That five-per-day figure and the reflect timing are **not** documented in Meta’s public error or 555 pages checked for this guide — attribute them to Meta support. Meta’s own docs say a 555 number can send after display-name approval (subject to normal quality, pricing, and messaging limits). Do not treat “never scales” third-party claims as Meta fact.
Observed pattern that fits a tiny cap: five messages went out on day one, then later sends failed with `131037`. The exact reset rule for that five-message limit (calendar day, rolling window, or total) was **not confirmed**.
## Traps
1. **Two accounts with the same name.** The account selector can show two WhatsApp Business Accounts with the same display name and different IDs. An approval email that names the account by name alone does not tell you which ID it applies to. Compare account IDs.
2. **The approval email names the account, not the number.** Display names are tracked per phone number. Confirm on the number you are actually sending from.
3. **A pending display name can block sends** on some numbers after an earlier period of successful sends.
4. **Tell Meta support the number starts with +1 555.** Give the phone number ID in the first message.
5. **Paste IDs and timestamps when you cannot attach screenshots.** If you cannot attach files, paste the exact error text, the phone number ID, the account ID, and each failure’s timestamp. A Graph API `fbtrace_id` helps when your sending tool still has it; Meta can often locate failures from the phone number ID and timestamps without it.
## What to do
1. **For anything customer-facing, use your own real phone number.** Any number that can receive a verification call or SMS works. Keep the +1 555 number for evaluation, or remove it.
2. **Submit a display name early** (on the 555 while you evaluate, and on the real number before you go live). Meta support described approval and reflection as taking one to two business days in the case above.
3. **Complete business verification** if you need higher messaging limits than Meta’s starting unverified tier. Prefer Meta’s current messaging-limits documentation over older tier ladders.
4. **Before scaling, confirm the effective limit**, not only the displayed tier. Send a small batch and check for failures.
5. **Confirm beyond the approval email.** On the phone-number node, check that `verified_name` is the approved name, and that `health_status` no longer says the name is unapproved.
## Reproduce outside your software
To see whether a refusal comes from Meta or from your sending tool, replay one send with a tool you control (Postman, or Meta’s Graph API Explorer).
```bash
POST https://graph.facebook.com/v21.0/{phone-number-id}/messages
Authorization: Bearer {token}
Content-Type: application/json
```
```json
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "",
"type": "text",
"text": { "preview_url": false, "body": "test" }
}
```
In Graph API Explorer: choose your app, User Token, add `whatsapp_business_management` and `whatsapp_business_messaging`, generate an access token, and allow the correct WhatsApp Business Account when asked. Keep the token out of support chats.
If the call fails with `131037`, the refusal is Meta’s for that number. The response includes a trace ID. If it succeeds, the difference lies in the original sender.
On a capped +1 555 number, each test message spends the allowance.
## Related codes
- [131026](/whatsapp-error-131026) — unable to deliver message.
- [131047](/whatsapp-error-131047) — more than 24 hours since the recipient last replied.
- [131049](/whatsapp-error-131049) — not delivered to maintain healthy ecosystem engagement.
- [132001](/whatsapp-error-132001) — template missing in that language or not approved.
- [130429](/whatsapp-error-130429) — Cloud API throughput reached.
Source: /whatsapp-error-131037
# WhatsApp Cloud API error 131047
> WhatsApp Cloud API error 131047. More than 24 hours since the recipient last replied. Match on code and details, not on titles.
# WhatsApp Cloud API error 131047
This page documents WhatsApp Cloud API error `131047`.
Meta will deprecate error titles. Match on `code` and `details`, not on the title in `message`.
Official table: [WhatsApp Cloud API error codes](https://developers.facebook.com/docs/whatsapp/cloud-api/support/error-codes/).
## Match these fields
| Field | Value |
| --- | --- |
| `code` | `131047` |
| `error_data.details` | More than 24 hours have passed since the recipient last replied to the sender number. |
Do not build handlers on titles such as `(#131047) …`. Those titles live inside `message` and will be deprecated.
## Official `details`
More than 24 hours have passed since the recipient last replied to the sender number.
## Official next step
Send the recipient a [template message](https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/overview) instead.
## Related codes
- [131026](/whatsapp-error-131026) — unable to deliver message.
- [131049](/whatsapp-error-131049) — not delivered to maintain healthy ecosystem engagement.
- [132001](/whatsapp-error-132001) — template missing in that language or not approved.
- [130429](/whatsapp-error-130429) — Cloud API throughput reached.
Source: /whatsapp-error-131047
# WhatsApp Cloud API error 131049
> WhatsApp Cloud API error 131049. Message not delivered to maintain healthy ecosystem engagement. Match on code and details, not on titles.
# WhatsApp Cloud API error 131049
This page documents WhatsApp Cloud API error `131049`.
Meta will deprecate error titles. Match on `code` and `details`, not on the title in `message`.
Official table: [WhatsApp Cloud API error codes](https://developers.facebook.com/docs/whatsapp/cloud-api/support/error-codes/).
## Match these fields
| Field | Value |
| --- | --- |
| `code` | `131049` |
| `error_data.details` | This message was not delivered to maintain healthy ecosystem engagement. |
Do not build handlers on titles such as `(#131049) …`. Those titles live inside `message` and will be deprecated.
## Official `details`
This message was not delivered to maintain healthy ecosystem engagement.
## Official next step
If you receive this error and suspect it is due to the limit, wait at least 24 hours before resending the template message.
An immediate retry can return the same error. The limit may stay in effect for differing periods of time.
See [Per-User Marketing Template Message Limits](https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/marketing-templates/per-user-limits).
## Related codes
- [131026](/whatsapp-error-131026) — unable to deliver message.
- [131047](/whatsapp-error-131047) — more than 24 hours since the recipient last replied.
- [132001](/whatsapp-error-132001) — template missing in that language or not approved.
- [130429](/whatsapp-error-130429) — Cloud API throughput reached.
Source: /whatsapp-error-131049
# WhatsApp Cloud API error 132001
> WhatsApp Cloud API error 132001. Template missing in that language or not approved. Match on code and details, not on titles.
# WhatsApp Cloud API error 132001
This page documents WhatsApp Cloud API error `132001`.
Meta will deprecate error titles. Match on `code` and `details`, not on the title in `message`.
Official table: [WhatsApp Cloud API error codes](https://developers.facebook.com/docs/whatsapp/cloud-api/support/error-codes/).
## Match these fields
| Field | Value |
| --- | --- |
| `code` | `132001` |
| `error_data.details` | The template does not exist in the specified language or the template has not been approved. |
Do not build handlers on titles such as `(#132001) …`. Those titles live inside `message` and will be deprecated.
## Official `details`
The template does not exist in the specified language or the template has not been approved.
## Official next step
Make sure the template has been approved.
Make sure the template name and language locale are correct.
See Meta [Templates](https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/overview).
## Related codes
- [131026](/whatsapp-error-131026) — unable to deliver message.
- [131047](/whatsapp-error-131047) — more than 24 hours since the recipient last replied.
- [131049](/whatsapp-error-131049) — not delivered to maintain healthy ecosystem engagement.
- [130429](/whatsapp-error-130429) — Cloud API throughput reached.
Source: /whatsapp-error-132001
# This API's OpenAPI 3.1 document
`GET https://api.whatsable.app/v1/openapi.json`
Required scope: none.
Returns the OpenAPI 3.1 document of this API. It needs no API key, because it holds no organization data.
## Authorization
None. This route needs no API key.
## Responses
### 200
The OpenAPI document.
- object.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/openapi.json'
```
Source: /api-reference/v1/meta/get-open-api-document
# The organization and key behind this request
`GET https://api.whatsable.app/v1/me`
Required scope: none.
Returns the organization and the API key behind the request. Use it as a connection test. It needs no scope, and it answers also without an active plan, with `plan_active: false`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Responses
### 200
The organization and key.
- `object` `"me"`, required.
- `organization` object, required.
- `id` string, required. At most 64 characters.
- `name` string, required. The organization's name. Integration apps show it as the connection's label.
- `api_key` object, required.
- `id` string, required. At most 64 characters.
- `name` string, required. The name the key was given in Settings.
- `mode` string, required. From the key's prefix. `test` is a key minted on a staging or local environment; v1 has no sandbox yet. One of: `"live"`, `"test"`. New values may appear within v1.
- `scopes` array of `"*"` or string, required. `["*"]` for Full access, which includes scopes added later; otherwise the scopes this key holds.
- `default_number_id` string, required. The number a send leaves from when it names no `from`. At most 64 characters.
- `number_access` string, required. `default_only`: the default number. `selected`: the default plus chosen numbers. `all`: every number, including numbers added later. One of: `"default_only"`, `"selected"`, `"all"`.
- `number_ids` array of string, required. Every number this key may use today, the default included.
- `plan_active` boolean, required. False when the organization has no active plan. Every other endpoint then answers `403 plan_inactive`.
- `plan` object, required. The organization's plan and what it includes. No price.
- `name` string or null, required. The plan's name as the billing page shows it: `Free`, `Basic`, `Pro` or `Agency`. Null with no plan, or with a custom plan.
- `family` string or null, required. The plan a program branches on. Null on the free plan, with no plan, or with a custom plan. One of: `"basic"`, `"pro"`, `"agency"`. New values may appear within v1.
- `free_tier` boolean, required. True on the free plan: every feature, and messages to at most 2 contacts.
- `status` string or null, required. The subscription's status. `past_due` means that an invoice failed. Null on the free plan and with no plan. One of: `"trialing"`, `"active"`, `"past_due"`, `"canceled"`, `"unpaid"`. New values may appear within v1.
- `contact_limit` integer or null, required. The plan's contact tier, as the billing page shows it: how many contacts it may message in a billing period, before any bonus contacts. Null with no plan. Minimum 0.
- `features` array of string, required. What the plan includes. A route that needs a feature the plan lacks answers `403 feature_not_in_plan`.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/me' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/me/get-me
# List the numbers this key may use
`GET https://api.whatsable.app/v1/numbers`
Required scope: `numbers:read`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `limit` (query) integer, optional. How many items to return, 1 to 100. Minimum 1. Maximum 100. Default `25`.
- `cursor` (query) string, optional. The `next_cursor` of the previous page. An expired or malformed cursor answers `400 invalid_cursor`. At most 512 characters.
## Responses
### 200
A page of numbers, newest first.
- `object` `"list"`, required.
- `data` array of object, required.
- `object` `"number"`, required.
- `id` string, required. Use it as `from` in a send. It works even when `phone` is null. At most 64 characters.
- `phone` string or null, required. The number in E.164. Null for a number imported from the previous system that has not been refreshed from Meta yet.
- `display_name` string or null, required. The business name WhatsApp shows. Null until refreshed from Meta.
- `phone_number_id` string, required. Meta's phone number id.
- `waba_id` string, required. Meta's WhatsApp Business Account id. Templates belong to it.
- `status` string, required. Only `active` sends. One of: `"active"`, `"paused"`, `"disconnected"`, `"pending"`.
- `is_default_for_key` boolean, required. True for the number this key sends from when a send names no `from`.
- `created_at` string (date-time), required.
- `has_more` boolean, required. True when another page follows this one.
- `next_cursor` string or null, required. Pass as `cursor` to read the next page. Null on the last page. Valid for 24 hours.
### 400
invalid_request: `invalid_cursor`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/numbers' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/numbers/list-numbers
# Read a number
`GET https://api.whatsable.app/v1/numbers/{id}`
Required scope: `numbers:read`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The number id. At most 64 characters.
## Responses
### 200
The number.
- `object` `"number"`, required.
- `id` string, required. Use it as `from` in a send. It works even when `phone` is null. At most 64 characters.
- `phone` string or null, required. The number in E.164. Null for a number imported from the previous system that has not been refreshed from Meta yet.
- `display_name` string or null, required. The business name WhatsApp shows. Null until refreshed from Meta.
- `phone_number_id` string, required. Meta's phone number id.
- `waba_id` string, required. Meta's WhatsApp Business Account id. Templates belong to it.
- `status` string, required. Only `active` sends. One of: `"active"`, `"paused"`, `"disconnected"`, `"pending"`.
- `is_default_for_key` boolean, required. True for the number this key sends from when a send names no `from`.
- `created_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `number_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/numbers/{id}' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/numbers/get-number
# List templates
`GET https://api.whatsable.app/v1/templates`
Required scope: `templates:read`.
Lists the templates of the WhatsApp Business Accounts that own the numbers of this key, newest first.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `limit` (query) integer, optional. How many items to return, 1 to 100. Minimum 1. Maximum 100. Default `25`.
- `cursor` (query) string, optional. The `next_cursor` of the previous page. An expired or malformed cursor answers `400 invalid_cursor`. At most 512 characters.
- `status` (query) string, optional. Only templates in this status, such as `approved`. At most 32 characters.
- `number_id` (query) string, optional. Only templates of this number's WhatsApp Business Account. At most 64 characters.
- `name` (query) string, optional. Only templates with this exact name. At most 512 characters.
- `language` (query) string, optional. Only templates in this language, such as `en_US`. At most 15 characters.
## Responses
### 200
A page of templates, newest first.
- `object` `"list"`, required.
- `data` array of object, required.
- `object` `"template"`, required.
- `id` string, required. At most 64 characters.
- `name` string, required. Meta's identifier: lowercase letters, digits and underscores.
- `display_name` string or null, required. The name people read. Null for a template created outside Whatsable.
- `language` string, required. Meta's language code, such as `en_US`.
- `category` string, required. Meta's category, which Meta may change during review. One of: `"marketing"`, `"utility"`, `"authentication"`. New values may appear within v1.
- `status` string, required. Meta's review status. Only `approved` templates send. One of: `"pending"`, `"approved"`, `"rejected"`, `"paused"`, `"disabled"`. New values may appear within v1.
- `rejected_reason` string or null, required. Meta's reason when `status` is `rejected`, otherwise null.
- `waba_id` string, required. The WhatsApp Business Account the template belongs to. Every number on it can send it.
- `body` string, required. The body text, with its `{{n}}` variables.
- `parameter_format` string, required. `positional` (`{{1}}`) or `named` (`{{customer_name}}`). The API lists a `named` template but cannot send it yet. One of: `"positional"`, `"named"`. New values may appear within v1.
- `variables` array of object, required. Every value a send must or may supply. Build a send's `template.variables` from it.
- `key` string, required. The key for `template.variables`. Body: Meta's key, such as `"1"`. Header: `header_1`, `header_image`, `header_video` or `header_document`. Button suffix: `button_`.
- `component` string, required. Which part of the template the value fills. One of: `"header"`, `"body"`, `"button"`.
- `type` string, required. `text` takes a string; `image`, `video` and `document` take `{ "url": "https://..." }` or `{ "media_id": "..." }` from `POST /v1/media`. One of: `"text"`, `"image"`, `"video"`, `"document"`. New values may appear within v1.
- `required` boolean, required. Whether a send must set it.
- `example` string or null, required. The example submitted to Meta, or null when there is none.
- `buttons` array of object, required.
- `type` string, required. One of: `"quick_reply"`, `"url"`, `"phone_number"`, `"copy_code"`, `"otp_copy_code"`. New values may appear within v1.
- `text` string or null, required. The button's label. Null for a copy-code button, whose label WhatsApp sets.
- `url` string or null, required. The link of a `url` button; a trailing `{{1}}` is filled by `button_` on a send.
- `phone` string or null, required. The number a `phone_number` button calls, in E.164.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
- `has_more` boolean, required. True when another page follows this one.
- `next_cursor` string or null, required. Pass as `cursor` to read the next page. Null on the last page. Valid for 24 hours.
### 400
invalid_request: `invalid_cursor`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `number_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/templates' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/templates/list-templates
# Create a template and submit it to Meta for review
`POST https://api.whatsable.app/v1/templates`
Required scope: `templates:write`.
Creates a template and submits it to Meta for review.
> **A 201 means that Meta accepted the template for review, not that Meta approved it.** The template starts as `pending` or `approved`. A later rejection changes `status`, and never returns an HTTP error.
A refused request stores no template. A check that fails before the call to Meta submits nothing to Meta.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `Idempotency-Key` (header) string, optional. Any string up to 255 characters. A repeat with the same key and body answers the stored response; with another body, `409 idempotency_key_reused`. At most 255 characters.
## Request body
`application/json`, required.
- `number_id` string, optional. A number on the WhatsApp Business Account the template is created in. Absent, the key's default number decides. At most 64 characters.
- `name` string, optional. Meta's identifier: lowercase letters, digits and underscores, starting with a letter. Derived from `display_name` when absent. At most 512 characters.
- `display_name` string, optional. The name people read. With `name`, it must derive to `name`. At most 512 characters.
- `language` string, required. Meta's language code, such as `en_US`. At most 15 characters.
- `category` string, required. One of: `"marketing"`, `"utility"`, `"authentication"`.
- `header` object, optional. `none` (the default), `text`, or a media header, by `url` or by `media_id`, whose file the server uploads to Meta and keeps.
- One of 5 shapes:
- Shape 1, `type: "none"`:
- `type` `"none"`, required.
- Shape 2, `type: "text"`:
- `type` `"text"`, required.
- `text` string, required. Up to 60 characters, with at most one `{{1}}`. At most 60 characters.
- `example` string, optional. The value of `{{1}}` for Meta's reviewers. Required when `text` has a `{{1}}`. At most 120 characters.
- Shape 3, `type: "image"`:
- `type` `"image"`, required.
- `url` string (uri), optional. A public HTTPS link to the file. Exactly one of `url` and `media_id`. At most 2000 characters.
- `media_id` string, optional. The `id` of a file uploaded with `POST /v1/media`, valid for 30 days after the upload. Exactly one of `url` and `media_id`. At most 64 characters.
- Shape 4, `type: "video"`:
- `type` `"video"`, required.
- `url` string (uri), optional. A public HTTPS link to the file. Exactly one of `url` and `media_id`. At most 2000 characters.
- `media_id` string, optional. The `id` of a file uploaded with `POST /v1/media`, valid for 30 days after the upload. Exactly one of `url` and `media_id`. At most 64 characters.
- Shape 5, `type: "document"`:
- `type` `"document"`, required.
- `url` string (uri), optional. A public HTTPS link to the file. Exactly one of `url` and `media_id`. At most 2000 characters.
- `media_id` string, optional. The `id` of a file uploaded with `POST /v1/media`, valid for 30 days after the upload. Exactly one of `url` and `media_id`. At most 64 characters.
- `body` string, optional. Up to 1,024 characters, with `{{1}}`, `{{2}}`, ... numbered from 1 without gaps. Named variables are not accepted. Absent only for an authentication template. At most 1024 characters.
- `body_examples` array of string, optional. One example per body variable, in order. Absent, placeholders are submitted; real examples are what Meta's reviewers read. At most 100 items.
- `footer` string, optional. At most 60 characters.
- `buttons` array of object, optional. At most 10 items.
- One of 5 shapes:
- Shape 1, `type: "quick_reply"`:
- `type` `"quick_reply"`, required.
- `text` string, required. At most 25 characters.
- Shape 2, `type: "url"`:
- `type` `"url"`, required.
- `text` string, required. At most 25 characters.
- `url` string (uri), required. The link. A trailing `{{1}}` makes its suffix a send variable. At most 2000 characters.
- `example` string, optional. A suffix for Meta's reviewers. Required when `url` ends in `{{1}}`. At most 256 characters.
- Shape 3, `type: "phone_number"`:
- `type` `"phone_number"`, required.
- `text` string, required. At most 25 characters.
- `phone` string, required. A phone number in E.164. The `+`, spaces and dashes may be omitted; the canonical `+digits` form is what is stored and returned.
- Shape 4, `type: "copy_code"`:
- `type` `"copy_code"`, required.
- `example` string, required. A sample code. At most 20 characters.
- Shape 5, `type: "otp_copy_code"`:
- `type` `"otp_copy_code"`, required.
- `text` string, optional. At most 25 characters.
- `authentication` object, optional. For the `authentication` category only.
- `add_security_recommendation` boolean, optional. Default `true`.
- `code_expiration_minutes` integer, optional. Minimum 1. Maximum 90.
- `message_send_ttl_seconds` integer, optional. Minimum 30. Maximum 900.
## Responses
### 201
Meta accepted the template for review.
- `object` `"template"`, required.
- `id` string, required. At most 64 characters.
- `name` string, required. Meta's identifier: lowercase letters, digits and underscores.
- `display_name` string or null, required. The name people read. Null for a template created outside Whatsable.
- `language` string, required. Meta's language code, such as `en_US`.
- `category` string, required. Meta's category, which Meta may change during review. One of: `"marketing"`, `"utility"`, `"authentication"`. New values may appear within v1.
- `status` string, required. Meta's review status. Only `approved` templates send. One of: `"pending"`, `"approved"`, `"rejected"`, `"paused"`, `"disabled"`. New values may appear within v1.
- `rejected_reason` string or null, required. Meta's reason when `status` is `rejected`, otherwise null.
- `waba_id` string, required. The WhatsApp Business Account the template belongs to. Every number on it can send it.
- `body` string, required. The body text, with its `{{n}}` variables.
- `parameter_format` string, required. `positional` (`{{1}}`) or `named` (`{{customer_name}}`). The API lists a `named` template but cannot send it yet. One of: `"positional"`, `"named"`. New values may appear within v1.
- `variables` array of object, required. Every value a send must or may supply. Build a send's `template.variables` from it.
- `key` string, required. The key for `template.variables`. Body: Meta's key, such as `"1"`. Header: `header_1`, `header_image`, `header_video` or `header_document`. Button suffix: `button_`.
- `component` string, required. Which part of the template the value fills. One of: `"header"`, `"body"`, `"button"`.
- `type` string, required. `text` takes a string; `image`, `video` and `document` take `{ "url": "https://..." }` or `{ "media_id": "..." }` from `POST /v1/media`. One of: `"text"`, `"image"`, `"video"`, `"document"`. New values may appear within v1.
- `required` boolean, required. Whether a send must set it.
- `example` string or null, required. The example submitted to Meta, or null when there is none.
- `buttons` array of object, required.
- `type` string, required. One of: `"quick_reply"`, `"url"`, `"phone_number"`, `"copy_code"`, `"otp_copy_code"`. New values may appear within v1.
- `text` string or null, required. The button's label. Null for a copy-code button, whose label WhatsApp sets.
- `url` string or null, required. The link of a `url` button; a trailing `{{1}}` is filled by `button_` on a send.
- `phone` string or null, required. The number a `phone_number` button calls, in E.164.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
### 400
invalid_request: `media_too_large`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `number_not_allowed_for_key`, `organization_not_live`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `media_not_found`, `number_not_found`.
Body: the error body, under "Error body" below.
### 409
conflict: `idempotency_key_reused`, `idempotency_request_in_progress`, `template_name_conflict`.
Body: the error body, under "Error body" below.
### 422
unprocessable: `number_not_sending`, `template_rejected_by_meta`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### 503
unavailable: `service_unavailable`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X POST 'https://api.whatsable.app/v1/templates' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{
"number_id": "cm2v8a1b20002qz8h9i0j1k2l",
"name": "order_shipped",
"display_name": "Order shipped",
"language": "en_US",
"category": "utility",
"header": {
"type": "image",
"url": "https://acme.example/box.jpg"
},
"body": "Hi {{1}}, your order {{2}} is on its way.",
"body_examples": [
"Ana",
"#1042"
],
"footer": "Reply STOP to stop these messages",
"buttons": [
{
"type": "url",
"text": "Track",
"url": "https://acme.example/t/{{1}}",
"example": "1042"
},
{
"type": "quick_reply",
"text": "Talk to us"
}
]
}'
```
Source: /api-reference/v1/templates/create-template
# Read a template and the variables a send needs
`GET https://api.whatsable.app/v1/templates/{id}`
Required scope: `templates:read`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The template id. At most 64 characters.
## Responses
### 200
The template.
- `object` `"template"`, required.
- `id` string, required. At most 64 characters.
- `name` string, required. Meta's identifier: lowercase letters, digits and underscores.
- `display_name` string or null, required. The name people read. Null for a template created outside Whatsable.
- `language` string, required. Meta's language code, such as `en_US`.
- `category` string, required. Meta's category, which Meta may change during review. One of: `"marketing"`, `"utility"`, `"authentication"`. New values may appear within v1.
- `status` string, required. Meta's review status. Only `approved` templates send. One of: `"pending"`, `"approved"`, `"rejected"`, `"paused"`, `"disabled"`. New values may appear within v1.
- `rejected_reason` string or null, required. Meta's reason when `status` is `rejected`, otherwise null.
- `waba_id` string, required. The WhatsApp Business Account the template belongs to. Every number on it can send it.
- `body` string, required. The body text, with its `{{n}}` variables.
- `parameter_format` string, required. `positional` (`{{1}}`) or `named` (`{{customer_name}}`). The API lists a `named` template but cannot send it yet. One of: `"positional"`, `"named"`. New values may appear within v1.
- `variables` array of object, required. Every value a send must or may supply. Build a send's `template.variables` from it.
- `key` string, required. The key for `template.variables`. Body: Meta's key, such as `"1"`. Header: `header_1`, `header_image`, `header_video` or `header_document`. Button suffix: `button_`.
- `component` string, required. Which part of the template the value fills. One of: `"header"`, `"body"`, `"button"`.
- `type` string, required. `text` takes a string; `image`, `video` and `document` take `{ "url": "https://..." }` or `{ "media_id": "..." }` from `POST /v1/media`. One of: `"text"`, `"image"`, `"video"`, `"document"`. New values may appear within v1.
- `required` boolean, required. Whether a send must set it.
- `example` string or null, required. The example submitted to Meta, or null when there is none.
- `buttons` array of object, required.
- `type` string, required. One of: `"quick_reply"`, `"url"`, `"phone_number"`, `"copy_code"`, `"otp_copy_code"`. New values may appear within v1.
- `text` string or null, required. The button's label. Null for a copy-code button, whose label WhatsApp sets.
- `url` string or null, required. The link of a `url` button; a trailing `{{1}}` is filled by `button_` on a send.
- `phone` string or null, required. The number a `phone_number` button calls, in E.164.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `template_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/templates/{id}' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/templates/get-template
# Delete a template
`DELETE https://api.whatsable.app/v1/templates/{id}`
Required scope: `templates:write`.
Deletes a template at Meta and in WhatsAble. It cannot be undone, and a message that uses the template can no longer be sent.
A template belongs to a WhatsApp Business Account, which several numbers can share. A key limited to some numbers can delete it only if the key may use every connected number of that account, otherwise `403 number_not_allowed_for_key`.
When no number of the account is connected, WhatsAble cannot ask Meta, and the call answers `409 template_waba_not_connected`. A template that a broadcast uses answers `409 template_used_by_broadcast`. Both keep the template in WhatsAble, and neither asks Meta, except for a broadcast created during the call.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The template id. At most 64 characters.
## Responses
### 200
The template was deleted.
- `object` `"template"`, required.
- `id` string, required. At most 64 characters.
- `deleted` `true`, required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `number_not_allowed_for_key`, `organization_not_live`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `template_not_found`.
Body: the error body, under "Error body" below.
### 409
conflict: `template_used_by_broadcast`, `template_waba_not_connected`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### 503
unavailable: `service_unavailable`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X DELETE 'https://api.whatsable.app/v1/templates/{id}' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/templates/delete-template
# List messages
`GET https://api.whatsable.app/v1/messages`
Required scope: `messages:read`.
Lists the messages on the numbers this key may use, newest first. To find new inbound messages, poll with `created_after`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `limit` (query) integer, optional. How many items to return, 1 to 100. Minimum 1. Maximum 100. Default `25`.
- `cursor` (query) string, optional. The `next_cursor` of the previous page. An expired or malformed cursor answers `400 invalid_cursor`. At most 512 characters.
- `conversation_id` (query) string, optional. At most 64 characters.
- `contact_id` (query) string, optional. At most 64 characters.
- `number_id` (query) string, optional. At most 64 characters.
- `direction` (query) string, optional. One of: `"inbound"`, `"outbound"`.
- `status` (query) string, optional. One of: `"pending"`, `"sent"`, `"delivered"`, `"read"`, `"failed"`.
- `created_after` (query) string (date-time), optional. Only messages created after this instant. For polling.
- `created_before` (query) string (date-time), optional. Only messages created before this instant (exclusive). With `created_after`, the messages between two times.
- `query` (query) string, optional. Text the message contains, ignoring case. Requires `conversation_id` or `contact_id`. At most 100 characters.
## Responses
### 200
A page of messages, newest first.
- `object` `"list"`, required.
- `data` array of object, required.
- `object` `"message"`, required.
- `id` string, required. At most 64 characters.
- `conversation_id` string, required. At most 64 characters.
- `contact_id` string, required. At most 64 characters.
- `number_id` string, required. The business number the message was sent from or received on. At most 64 characters.
- `direction` string, required. One of: `"inbound"`, `"outbound"`.
- `type` string, required. One of: `"text"`, `"template"`, `"image"`, `"video"`, `"audio"`, `"document"`, `"sticker"`, `"buttons"`, `"button_reply"`, `"interactive_reply"`, `"location"`, `"contacts"`, `"unsupported"`. New values may appear within v1.
- `status` string, required. `pending` (Meta did not acknowledge it yet), `sent`, `delivered`, `read` or `failed`. A send answers `sent` or `failed`. One of: `"pending"`, `"sent"`, `"delivered"`, `"read"`, `"failed"`.
- `sent_by` string or null, required. Who sent an outbound message. Null on inbound. One of: `"operator"`, `"api"`, `"bot"`, `"broadcast"`, `"proactive"`, `"whatsapp_app"`. New values may appear within v1.
- `to` object or null, required. The recipient of an outbound message. Null on inbound.
- `phone` string or null, required.
- `wa_user_id` string or null, required. The Business-Scoped User ID, when WhatsApp gave one.
- `username` string or null, required. The WhatsApp username, without `@`, when the person has one.
- `from` object or null, required. The sender of an inbound message. Null on outbound.
- `phone` string or null, required.
- `wa_user_id` string or null, required. The Business-Scoped User ID, when WhatsApp gave one.
- `username` string or null, required. The WhatsApp username, without `@`, when the person has one.
- `text` string or null, required. The text, a caption, or the body of a template or buttons message.
- `template` object or null, required. The template a template message used. Null otherwise.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `language` string, required.
- `media` object or null, required.
- `id` string, required. The media file id. At most 64 characters.
- `mime_type` string, required. The file's content type.
- `size_bytes` integer, required. The stored file size in bytes. 0 when unknown. Minimum 0.
- `filename` string or null, required. The file name, when WhatsApp or the sender gave one.
- `url` string or null, required. A signed link that downloads the file without an API key, valid for 15 minutes. Read the message again for a fresh one. Null when the file could not be stored.
- `transcript` string or null, required. The transcript of an inbound voice note, when one exists. Null otherwise.
- `whatsapp_message_id` string or null, required. Meta's message id (`wamid`). Null when Meta never accepted the message.
- `error` object or null, required. Why the message failed. Null unless `status` is `failed`.
- `code` string, required. `meta_` when WhatsApp refused it with a code, `timeout` when WhatsApp did not answer (it may have gone out), else `send_failed`. New values can appear.
- `meta_code` integer or null, required. Meta's numeric error code, or null when Meta gave none. Minimum -9007199254740991.
- `title` string, required.
- `message` string, required. What happened, in Whatsable's words. Meta's own text is never copied, because it can name the recipient.
- `how_to_fix` string, required.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. True when a later retry, with a new Idempotency-Key, may succeed.
- `docs_url` string, required.
- `fix_url` string or null, optional. Where to fix a payment failure: Meta's payment settings for this WhatsApp Business Account, or the WhatsAble guide that shows the click path when the account id is unknown. Null for every other failure.
- `support_url` string or null, optional. A mail link to WhatsAble support, with the numeric code and the WhatsApp Business Account id filled in. Set only on a payment failure. Null otherwise. It never names the recipient.
- `created_at` string (date-time), required.
- `delivered_at` string (date-time) or null, required.
- `read_at` string (date-time) or null, required.
- `edited_at` string (date-time) or null, required. When the customer edited this inbound message.
- `deleted_at` string (date-time) or null, required. When the customer withdrew this inbound message. Its text is kept.
- `referral` object or null, required. Meta's Click-to-WhatsApp referral object as Meta sent it, with keys such as `ctwa_clid`. Set only on the inbound message that started a chat from an ad or a post.
- `button_reply` object or null, required.
- `id` string or null, required. The tapped option: your `buttons` option `id`, a list row id or a template quick reply payload. Null when WhatsApp sent none, or for a tap before this field existed.
- `title` string, required. The label of the option the person tapped. The same as `text`.
- `message_id` string or null, required. The `id` of the message that offered the option. Null when WhatsAble did not store that message in this conversation, or WhatsApp did not name it. At most 64 characters.
- `whatsapp_message_id` string or null, required. Meta's message id (`wamid`) of the message that offered the option. Null when WhatsApp did not name it, or for a tap before this field existed.
- `unverified_figures` array of string, required. Figures in an AI-written message that nothing in the agent's knowledge, files, the customer's own messages or its instructions contains. The message was sent; a person can review them in the inbox. Empty for every other message.
- `figures_checked_at` string (date-time) or null, required. When those figures were marked as checked, in the inbox or through the API; null until then.
- `reply_to` object or null, required. The message this one quotes, as a reply in WhatsApp. Null when it quotes none.
- `message_id` string or null, required. The `id` of the quoted message. Null when WhatsAble does not hold it in this conversation. At most 64 characters.
- `reactions` array of object, required. The customer's emoji reactions to this message, by their last change, oldest first. Empty when there are none.
- `emoji` string, required.
- `contact_id` string, required. The contact who reacted. At most 64 characters.
- `created_at` string (date-time), required. When they reacted, or last changed the reaction.
- `has_more` boolean, required. True when another page follows this one.
- `next_cursor` string or null, required. Pass as `cursor` to read the next page. Null on the last page. Valid for 24 hours.
### 400
invalid_request: `invalid_cursor`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/messages' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/messages/list-messages
# Send a message
`POST https://api.whatsable.app/v1/messages`
Required scope: `messages:send`.
Sends one WhatsApp message: text, a template, an image, a video, an audio file, a sticker, a document or reply buttons.
> **Check `status`, not the status code.** A 201 means that the message was recorded.
>
> - `sent`: WhatsApp accepted it.
> - `failed`, retryable: try again later with a new `Idempotency-Key`.
> - `failed`, not retryable: do not resend. Show `error.how_to_fix` to whoever can fix it.
Outside the 24-hour window, only a `template` reaches the contact.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `Idempotency-Key` (header) string, optional. Any string up to 255 characters. A repeat with the same key and body answers the stored response; with another body, `409 idempotency_key_reused`. At most 255 characters.
## Request body
`application/json`, required.
- One of 8 shapes:
- Shape 1, `type: "text"`:
- `to` string, optional. An E.164 phone (`+`, spaces, dashes optional), a Business-Scoped User ID or a WhatsApp `@username`. A new phone or ID creates a contact; a username must be known. At most 256 characters.
- `conversation_id` string, optional. Send into this existing conversation, from its number. Exactly one of `to` and `conversation_id`. At most 64 characters.
- `from` string, optional. The number to send from, by id or E.164 phone. Absent, the key's default number sends. Never another fallback. At most 64 characters.
- `type` `"text"`, required.
- `text` object, required.
- `body` string, required. Up to 4,096 characters. At most 4096 characters.
- `preview_url` boolean, optional. Show a preview of the first link. Off by default.
- `pause_ai` boolean, optional. When true and the send succeeds, the AI agent stops answering this conversation, as when a person replies in the inbox. Default false. Default `false`.
- `reply_to_message_id` string, optional. Quote this message of the same conversation, as a reply in WhatsApp. Text and media only. At most 64 characters.
- Shape 2, `type: "template"`:
- `to` string, optional. An E.164 phone (`+`, spaces, dashes optional), a Business-Scoped User ID or a WhatsApp `@username`. A new phone or ID creates a contact; a username must be known. At most 256 characters.
- `conversation_id` string, optional. Send into this existing conversation, from its number. Exactly one of `to` and `conversation_id`. At most 64 characters.
- `from` string, optional. The number to send from, by id or E.164 phone. Absent, the key's default number sends. Never another fallback. At most 64 characters.
- `type` `"template"`, required.
- `template` object, required.
- `id` string, optional. The template id. Or send `name` and `language`. At most 64 characters.
- `name` string, optional. Resolved within the sending number's WhatsApp Business Account. At most 512 characters.
- `language` string, optional. Required with `name`. At most 15 characters.
- `variables` object, optional. Keyed by the template's `variables[].key`. A string for a text variable, an object for a media header. An empty or blank string counts as missing.
- `pause_ai` boolean, optional. When true and the send succeeds, the AI agent stops answering this conversation, as when a person replies in the inbox. Default false. Default `false`.
- `reply_to_message_id` any, optional. Not accepted: a template or buttons message cannot quote a message.
- Shape 3, `type: "image"`:
- `to` string, optional. An E.164 phone (`+`, spaces, dashes optional), a Business-Scoped User ID or a WhatsApp `@username`. A new phone or ID creates a contact; a username must be known. At most 256 characters.
- `conversation_id` string, optional. Send into this existing conversation, from its number. Exactly one of `to` and `conversation_id`. At most 64 characters.
- `from` string, optional. The number to send from, by id or E.164 phone. Absent, the key's default number sends. Never another fallback. At most 64 characters.
- `type` `"image"`, required.
- `image` object, required.
- `media_id` string, optional. The `id` of a file uploaded with `POST /v1/media`, valid for 30 days after the upload. Exactly one of `media_id` and `url`. At most 64 characters.
- `url` string (uri), optional. A public HTTPS link to the file. The file must fit the size limit of this message type. Exactly one of `media_id` and `url`. At most 2000 characters.
- `caption` string, optional. Text shown under the media, up to 1,024 characters. At most 1024 characters.
- `pause_ai` boolean, optional. When true and the send succeeds, the AI agent stops answering this conversation, as when a person replies in the inbox. Default false. Default `false`.
- `reply_to_message_id` string, optional. Quote this message of the same conversation, as a reply in WhatsApp. Text and media only. At most 64 characters.
- Shape 4, `type: "video"`:
- `to` string, optional. An E.164 phone (`+`, spaces, dashes optional), a Business-Scoped User ID or a WhatsApp `@username`. A new phone or ID creates a contact; a username must be known. At most 256 characters.
- `conversation_id` string, optional. Send into this existing conversation, from its number. Exactly one of `to` and `conversation_id`. At most 64 characters.
- `from` string, optional. The number to send from, by id or E.164 phone. Absent, the key's default number sends. Never another fallback. At most 64 characters.
- `type` `"video"`, required.
- `video` object, required.
- `media_id` string, optional. The `id` of a file uploaded with `POST /v1/media`, valid for 30 days after the upload. Exactly one of `media_id` and `url`. At most 64 characters.
- `url` string (uri), optional. A public HTTPS link to the file. The file must fit the size limit of this message type. Exactly one of `media_id` and `url`. At most 2000 characters.
- `caption` string, optional. Text shown under the media, up to 1,024 characters. At most 1024 characters.
- `pause_ai` boolean, optional. When true and the send succeeds, the AI agent stops answering this conversation, as when a person replies in the inbox. Default false. Default `false`.
- `reply_to_message_id` string, optional. Quote this message of the same conversation, as a reply in WhatsApp. Text and media only. At most 64 characters.
- Shape 5, `type: "audio"`:
- `to` string, optional. An E.164 phone (`+`, spaces, dashes optional), a Business-Scoped User ID or a WhatsApp `@username`. A new phone or ID creates a contact; a username must be known. At most 256 characters.
- `conversation_id` string, optional. Send into this existing conversation, from its number. Exactly one of `to` and `conversation_id`. At most 64 characters.
- `from` string, optional. The number to send from, by id or E.164 phone. Absent, the key's default number sends. Never another fallback. At most 64 characters.
- `type` `"audio"`, required.
- `audio` object, required.
- `media_id` string, optional. The `id` of a file uploaded with `POST /v1/media`, valid for 30 days after the upload. Exactly one of `media_id` and `url`. At most 64 characters.
- `url` string (uri), optional. A public HTTPS link to the file. The file must fit the size limit of this message type. Exactly one of `media_id` and `url`. At most 2000 characters.
- `pause_ai` boolean, optional. When true and the send succeeds, the AI agent stops answering this conversation, as when a person replies in the inbox. Default false. Default `false`.
- `reply_to_message_id` string, optional. Quote this message of the same conversation, as a reply in WhatsApp. Text and media only. At most 64 characters.
- Shape 6, `type: "document"`:
- `to` string, optional. An E.164 phone (`+`, spaces, dashes optional), a Business-Scoped User ID or a WhatsApp `@username`. A new phone or ID creates a contact; a username must be known. At most 256 characters.
- `conversation_id` string, optional. Send into this existing conversation, from its number. Exactly one of `to` and `conversation_id`. At most 64 characters.
- `from` string, optional. The number to send from, by id or E.164 phone. Absent, the key's default number sends. Never another fallback. At most 64 characters.
- `type` `"document"`, required.
- `document` object, required.
- `media_id` string, optional. The `id` of a file uploaded with `POST /v1/media`, valid for 30 days after the upload. Exactly one of `media_id` and `url`. At most 64 characters.
- `url` string (uri), optional. A public HTTPS link to the file. The file must fit the size limit of this message type. Exactly one of `media_id` and `url`. At most 2000 characters.
- `caption` string, optional. Text shown under the media, up to 1,024 characters. At most 1024 characters.
- `filename` string, optional. The name WhatsApp shows for the file. At most 240 characters.
- `pause_ai` boolean, optional. When true and the send succeeds, the AI agent stops answering this conversation, as when a person replies in the inbox. Default false. Default `false`.
- `reply_to_message_id` string, optional. Quote this message of the same conversation, as a reply in WhatsApp. Text and media only. At most 64 characters.
- Shape 7, `type: "sticker"`:
- `to` string, optional. An E.164 phone (`+`, spaces, dashes optional), a Business-Scoped User ID or a WhatsApp `@username`. A new phone or ID creates a contact; a username must be known. At most 256 characters.
- `conversation_id` string, optional. Send into this existing conversation, from its number. Exactly one of `to` and `conversation_id`. At most 64 characters.
- `from` string, optional. The number to send from, by id or E.164 phone. Absent, the key's default number sends. Never another fallback. At most 64 characters.
- `type` `"sticker"`, required.
- `sticker` object, required.
- `media_id` string, optional. The `id` of a file uploaded with `POST /v1/media`, valid for 30 days after the upload. Exactly one of `media_id` and `url`. At most 64 characters.
- `url` string (uri), optional. A public HTTPS link to the file. The file must fit the size limit of this message type. Exactly one of `media_id` and `url`. At most 2000 characters.
- `pause_ai` boolean, optional. When true and the send succeeds, the AI agent stops answering this conversation, as when a person replies in the inbox. Default false. Default `false`.
- `reply_to_message_id` string, optional. Quote this message of the same conversation, as a reply in WhatsApp. Text and media only. At most 64 characters.
- Shape 8, `type: "buttons"`:
- `to` string, optional. An E.164 phone (`+`, spaces, dashes optional), a Business-Scoped User ID or a WhatsApp `@username`. A new phone or ID creates a contact; a username must be known. At most 256 characters.
- `conversation_id` string, optional. Send into this existing conversation, from its number. Exactly one of `to` and `conversation_id`. At most 64 characters.
- `from` string, optional. The number to send from, by id or E.164 phone. Absent, the key's default number sends. Never another fallback. At most 64 characters.
- `type` `"buttons"`, required.
- `buttons` object, required.
- `body` string, required. The text above the buttons, up to 1,024 characters. At most 1024 characters.
- `options` array of object, required. One to three reply buttons. Ids and titles must not repeat. At most 3 items.
- `id` string, required. Your id for the button, sent to WhatsApp with it. When the person taps the button, the inbound message carries it as `button_reply.id`. At most 256 characters.
- `title` string, required. The button's label, up to 20 characters. At most 20 characters.
- `pause_ai` boolean, optional. When true and the send succeeds, the AI agent stops answering this conversation, as when a person replies in the inbox. Default false. Default `false`.
- `reply_to_message_id` any, optional. Not accepted: a template or buttons message cannot quote a message.
## Responses
### 201
Created does not mean sent: check `status`.
- `object` `"message"`, required.
- `id` string, required. At most 64 characters.
- `conversation_id` string, required. At most 64 characters.
- `contact_id` string, required. At most 64 characters.
- `number_id` string, required. The business number the message was sent from or received on. At most 64 characters.
- `direction` string, required. One of: `"inbound"`, `"outbound"`.
- `type` string, required. One of: `"text"`, `"template"`, `"image"`, `"video"`, `"audio"`, `"document"`, `"sticker"`, `"buttons"`, `"button_reply"`, `"interactive_reply"`, `"location"`, `"contacts"`, `"unsupported"`. New values may appear within v1.
- `status` string, required. `pending` (Meta did not acknowledge it yet), `sent`, `delivered`, `read` or `failed`. A send answers `sent` or `failed`. One of: `"pending"`, `"sent"`, `"delivered"`, `"read"`, `"failed"`.
- `sent_by` string or null, required. Who sent an outbound message. Null on inbound. One of: `"operator"`, `"api"`, `"bot"`, `"broadcast"`, `"proactive"`, `"whatsapp_app"`. New values may appear within v1.
- `to` object or null, required. The recipient of an outbound message. Null on inbound.
- `phone` string or null, required.
- `wa_user_id` string or null, required. The Business-Scoped User ID, when WhatsApp gave one.
- `username` string or null, required. The WhatsApp username, without `@`, when the person has one.
- `from` object or null, required. The sender of an inbound message. Null on outbound.
- `phone` string or null, required.
- `wa_user_id` string or null, required. The Business-Scoped User ID, when WhatsApp gave one.
- `username` string or null, required. The WhatsApp username, without `@`, when the person has one.
- `text` string or null, required. The text, a caption, or the body of a template or buttons message.
- `template` object or null, required. The template a template message used. Null otherwise.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `language` string, required.
- `media` object or null, required.
- `id` string, required. The media file id. At most 64 characters.
- `mime_type` string, required. The file's content type.
- `size_bytes` integer, required. The stored file size in bytes. 0 when unknown. Minimum 0.
- `filename` string or null, required. The file name, when WhatsApp or the sender gave one.
- `url` string or null, required. A signed link that downloads the file without an API key, valid for 15 minutes. Read the message again for a fresh one. Null when the file could not be stored.
- `transcript` string or null, required. The transcript of an inbound voice note, when one exists. Null otherwise.
- `whatsapp_message_id` string or null, required. Meta's message id (`wamid`). Null when Meta never accepted the message.
- `error` object or null, required. Why the message failed. Null unless `status` is `failed`.
- `code` string, required. `meta_` when WhatsApp refused it with a code, `timeout` when WhatsApp did not answer (it may have gone out), else `send_failed`. New values can appear.
- `meta_code` integer or null, required. Meta's numeric error code, or null when Meta gave none. Minimum -9007199254740991.
- `title` string, required.
- `message` string, required. What happened, in Whatsable's words. Meta's own text is never copied, because it can name the recipient.
- `how_to_fix` string, required.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. True when a later retry, with a new Idempotency-Key, may succeed.
- `docs_url` string, required.
- `fix_url` string or null, optional. Where to fix a payment failure: Meta's payment settings for this WhatsApp Business Account, or the WhatsAble guide that shows the click path when the account id is unknown. Null for every other failure.
- `support_url` string or null, optional. A mail link to WhatsAble support, with the numeric code and the WhatsApp Business Account id filled in. Set only on a payment failure. Null otherwise. It never names the recipient.
- `created_at` string (date-time), required.
- `delivered_at` string (date-time) or null, required.
- `read_at` string (date-time) or null, required.
- `edited_at` string (date-time) or null, required. When the customer edited this inbound message.
- `deleted_at` string (date-time) or null, required. When the customer withdrew this inbound message. Its text is kept.
- `referral` object or null, required. Meta's Click-to-WhatsApp referral object as Meta sent it, with keys such as `ctwa_clid`. Set only on the inbound message that started a chat from an ad or a post.
- `button_reply` object or null, required.
- `id` string or null, required. The tapped option: your `buttons` option `id`, a list row id or a template quick reply payload. Null when WhatsApp sent none, or for a tap before this field existed.
- `title` string, required. The label of the option the person tapped. The same as `text`.
- `message_id` string or null, required. The `id` of the message that offered the option. Null when WhatsAble did not store that message in this conversation, or WhatsApp did not name it. At most 64 characters.
- `whatsapp_message_id` string or null, required. Meta's message id (`wamid`) of the message that offered the option. Null when WhatsApp did not name it, or for a tap before this field existed.
- `unverified_figures` array of string, required. Figures in an AI-written message that nothing in the agent's knowledge, files, the customer's own messages or its instructions contains. The message was sent; a person can review them in the inbox. Empty for every other message.
- `figures_checked_at` string (date-time) or null, required. When those figures were marked as checked, in the inbox or through the API; null until then.
- `reply_to` object or null, required. The message this one quotes, as a reply in WhatsApp. Null when it quotes none.
- `message_id` string or null, required. The `id` of the quoted message. Null when WhatsAble does not hold it in this conversation. At most 64 characters.
- `reactions` array of object, required. The customer's emoji reactions to this message, by their last change, oldest first. Empty when there are none.
- `emoji` string, required.
- `contact_id` string, required. The contact who reacted. At most 64 characters.
- `created_at` string (date-time), required. When they reacted, or last changed the reaction.
### 400
invalid_request: `from_conflicts_with_conversation`, `invalid_address`, `media_too_large`, `media_type_unsupported`, `template_variable_missing`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `number_not_allowed_for_key`, `number_over_plan`, `organization_not_live`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `contact_not_found`, `conversation_not_found`, `media_not_found`, `message_not_found`, `number_not_found`, `template_not_found`.
Body: the error body, under "Error body" below.
### 409
conflict: `idempotency_key_reused`, `idempotency_request_in_progress`.
Body: the error body, under "Error body" below.
### 422
unprocessable: `contact_has_no_address`, `free_tier_limit`, `number_not_sending`, `reply_target_not_quotable`, `session_window_closed`, `template_not_approved`, `template_not_supported`, `template_wrong_waba`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### 503
unavailable: `service_unavailable`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X POST 'https://api.whatsable.app/v1/messages' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{
"to": "+5491155550000",
"from": "cm2v8a1b20002qz8h9i0j1k2l",
"type": "template",
"template": {
"id": "cm2v8t1a00001qz8habcd1234",
"variables": {
"1": "Ana",
"2": "#1042",
"header_image": {
"url": "https://acme.example/box.jpg"
},
"button_0": "1042"
}
}
}'
```
Source: /api-reference/v1/messages/send-message
# Read a message and its status
`GET https://api.whatsable.app/v1/messages/{id}`
Required scope: `messages:read`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The message id. At most 64 characters.
## Responses
### 200
The message.
- `object` `"message"`, required.
- `id` string, required. At most 64 characters.
- `conversation_id` string, required. At most 64 characters.
- `contact_id` string, required. At most 64 characters.
- `number_id` string, required. The business number the message was sent from or received on. At most 64 characters.
- `direction` string, required. One of: `"inbound"`, `"outbound"`.
- `type` string, required. One of: `"text"`, `"template"`, `"image"`, `"video"`, `"audio"`, `"document"`, `"sticker"`, `"buttons"`, `"button_reply"`, `"interactive_reply"`, `"location"`, `"contacts"`, `"unsupported"`. New values may appear within v1.
- `status` string, required. `pending` (Meta did not acknowledge it yet), `sent`, `delivered`, `read` or `failed`. A send answers `sent` or `failed`. One of: `"pending"`, `"sent"`, `"delivered"`, `"read"`, `"failed"`.
- `sent_by` string or null, required. Who sent an outbound message. Null on inbound. One of: `"operator"`, `"api"`, `"bot"`, `"broadcast"`, `"proactive"`, `"whatsapp_app"`. New values may appear within v1.
- `to` object or null, required. The recipient of an outbound message. Null on inbound.
- `phone` string or null, required.
- `wa_user_id` string or null, required. The Business-Scoped User ID, when WhatsApp gave one.
- `username` string or null, required. The WhatsApp username, without `@`, when the person has one.
- `from` object or null, required. The sender of an inbound message. Null on outbound.
- `phone` string or null, required.
- `wa_user_id` string or null, required. The Business-Scoped User ID, when WhatsApp gave one.
- `username` string or null, required. The WhatsApp username, without `@`, when the person has one.
- `text` string or null, required. The text, a caption, or the body of a template or buttons message.
- `template` object or null, required. The template a template message used. Null otherwise.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `language` string, required.
- `media` object or null, required.
- `id` string, required. The media file id. At most 64 characters.
- `mime_type` string, required. The file's content type.
- `size_bytes` integer, required. The stored file size in bytes. 0 when unknown. Minimum 0.
- `filename` string or null, required. The file name, when WhatsApp or the sender gave one.
- `url` string or null, required. A signed link that downloads the file without an API key, valid for 15 minutes. Read the message again for a fresh one. Null when the file could not be stored.
- `transcript` string or null, required. The transcript of an inbound voice note, when one exists. Null otherwise.
- `whatsapp_message_id` string or null, required. Meta's message id (`wamid`). Null when Meta never accepted the message.
- `error` object or null, required. Why the message failed. Null unless `status` is `failed`.
- `code` string, required. `meta_` when WhatsApp refused it with a code, `timeout` when WhatsApp did not answer (it may have gone out), else `send_failed`. New values can appear.
- `meta_code` integer or null, required. Meta's numeric error code, or null when Meta gave none. Minimum -9007199254740991.
- `title` string, required.
- `message` string, required. What happened, in Whatsable's words. Meta's own text is never copied, because it can name the recipient.
- `how_to_fix` string, required.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. True when a later retry, with a new Idempotency-Key, may succeed.
- `docs_url` string, required.
- `fix_url` string or null, optional. Where to fix a payment failure: Meta's payment settings for this WhatsApp Business Account, or the WhatsAble guide that shows the click path when the account id is unknown. Null for every other failure.
- `support_url` string or null, optional. A mail link to WhatsAble support, with the numeric code and the WhatsApp Business Account id filled in. Set only on a payment failure. Null otherwise. It never names the recipient.
- `created_at` string (date-time), required.
- `delivered_at` string (date-time) or null, required.
- `read_at` string (date-time) or null, required.
- `edited_at` string (date-time) or null, required. When the customer edited this inbound message.
- `deleted_at` string (date-time) or null, required. When the customer withdrew this inbound message. Its text is kept.
- `referral` object or null, required. Meta's Click-to-WhatsApp referral object as Meta sent it, with keys such as `ctwa_clid`. Set only on the inbound message that started a chat from an ad or a post.
- `button_reply` object or null, required.
- `id` string or null, required. The tapped option: your `buttons` option `id`, a list row id or a template quick reply payload. Null when WhatsApp sent none, or for a tap before this field existed.
- `title` string, required. The label of the option the person tapped. The same as `text`.
- `message_id` string or null, required. The `id` of the message that offered the option. Null when WhatsAble did not store that message in this conversation, or WhatsApp did not name it. At most 64 characters.
- `whatsapp_message_id` string or null, required. Meta's message id (`wamid`) of the message that offered the option. Null when WhatsApp did not name it, or for a tap before this field existed.
- `unverified_figures` array of string, required. Figures in an AI-written message that nothing in the agent's knowledge, files, the customer's own messages or its instructions contains. The message was sent; a person can review them in the inbox. Empty for every other message.
- `figures_checked_at` string (date-time) or null, required. When those figures were marked as checked, in the inbox or through the API; null until then.
- `reply_to` object or null, required. The message this one quotes, as a reply in WhatsApp. Null when it quotes none.
- `message_id` string or null, required. The `id` of the quoted message. Null when WhatsAble does not hold it in this conversation. At most 64 characters.
- `reactions` array of object, required. The customer's emoji reactions to this message, by their last change, oldest first. Empty when there are none.
- `emoji` string, required.
- `contact_id` string, required. The contact who reacted. At most 64 characters.
- `created_at` string (date-time), required. When they reacted, or last changed the reaction.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `message_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/messages/{id}' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/messages/get-message
# Mark an AI message's unverified figures as checked
`POST https://api.whatsable.app/v1/messages/{id}/figures-checked`
Required scope: `messages:send`.
Marks the unverified figures of an AI message as checked, as the inbox does: `figures_checked_at` is set and the conversation's `figures_to_check` goes down by one. Calling it on a message already checked is safe and changes nothing.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The message id. At most 64 characters.
- `Idempotency-Key` (header) string, optional. Any string up to 255 characters. A repeat with the same key and body answers the stored response; with another body, `409 idempotency_key_reused`. At most 255 characters.
## Responses
### 200
The message, with its `figures_checked_at`.
- `object` `"message"`, required.
- `id` string, required. At most 64 characters.
- `conversation_id` string, required. At most 64 characters.
- `contact_id` string, required. At most 64 characters.
- `number_id` string, required. The business number the message was sent from or received on. At most 64 characters.
- `direction` string, required. One of: `"inbound"`, `"outbound"`.
- `type` string, required. One of: `"text"`, `"template"`, `"image"`, `"video"`, `"audio"`, `"document"`, `"sticker"`, `"buttons"`, `"button_reply"`, `"interactive_reply"`, `"location"`, `"contacts"`, `"unsupported"`. New values may appear within v1.
- `status` string, required. `pending` (Meta did not acknowledge it yet), `sent`, `delivered`, `read` or `failed`. A send answers `sent` or `failed`. One of: `"pending"`, `"sent"`, `"delivered"`, `"read"`, `"failed"`.
- `sent_by` string or null, required. Who sent an outbound message. Null on inbound. One of: `"operator"`, `"api"`, `"bot"`, `"broadcast"`, `"proactive"`, `"whatsapp_app"`. New values may appear within v1.
- `to` object or null, required. The recipient of an outbound message. Null on inbound.
- `phone` string or null, required.
- `wa_user_id` string or null, required. The Business-Scoped User ID, when WhatsApp gave one.
- `username` string or null, required. The WhatsApp username, without `@`, when the person has one.
- `from` object or null, required. The sender of an inbound message. Null on outbound.
- `phone` string or null, required.
- `wa_user_id` string or null, required. The Business-Scoped User ID, when WhatsApp gave one.
- `username` string or null, required. The WhatsApp username, without `@`, when the person has one.
- `text` string or null, required. The text, a caption, or the body of a template or buttons message.
- `template` object or null, required. The template a template message used. Null otherwise.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `language` string, required.
- `media` object or null, required.
- `id` string, required. The media file id. At most 64 characters.
- `mime_type` string, required. The file's content type.
- `size_bytes` integer, required. The stored file size in bytes. 0 when unknown. Minimum 0.
- `filename` string or null, required. The file name, when WhatsApp or the sender gave one.
- `url` string or null, required. A signed link that downloads the file without an API key, valid for 15 minutes. Read the message again for a fresh one. Null when the file could not be stored.
- `transcript` string or null, required. The transcript of an inbound voice note, when one exists. Null otherwise.
- `whatsapp_message_id` string or null, required. Meta's message id (`wamid`). Null when Meta never accepted the message.
- `error` object or null, required. Why the message failed. Null unless `status` is `failed`.
- `code` string, required. `meta_` when WhatsApp refused it with a code, `timeout` when WhatsApp did not answer (it may have gone out), else `send_failed`. New values can appear.
- `meta_code` integer or null, required. Meta's numeric error code, or null when Meta gave none. Minimum -9007199254740991.
- `title` string, required.
- `message` string, required. What happened, in Whatsable's words. Meta's own text is never copied, because it can name the recipient.
- `how_to_fix` string, required.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. True when a later retry, with a new Idempotency-Key, may succeed.
- `docs_url` string, required.
- `fix_url` string or null, optional. Where to fix a payment failure: Meta's payment settings for this WhatsApp Business Account, or the WhatsAble guide that shows the click path when the account id is unknown. Null for every other failure.
- `support_url` string or null, optional. A mail link to WhatsAble support, with the numeric code and the WhatsApp Business Account id filled in. Set only on a payment failure. Null otherwise. It never names the recipient.
- `created_at` string (date-time), required.
- `delivered_at` string (date-time) or null, required.
- `read_at` string (date-time) or null, required.
- `edited_at` string (date-time) or null, required. When the customer edited this inbound message.
- `deleted_at` string (date-time) or null, required. When the customer withdrew this inbound message. Its text is kept.
- `referral` object or null, required. Meta's Click-to-WhatsApp referral object as Meta sent it, with keys such as `ctwa_clid`. Set only on the inbound message that started a chat from an ad or a post.
- `button_reply` object or null, required.
- `id` string or null, required. The tapped option: your `buttons` option `id`, a list row id or a template quick reply payload. Null when WhatsApp sent none, or for a tap before this field existed.
- `title` string, required. The label of the option the person tapped. The same as `text`.
- `message_id` string or null, required. The `id` of the message that offered the option. Null when WhatsAble did not store that message in this conversation, or WhatsApp did not name it. At most 64 characters.
- `whatsapp_message_id` string or null, required. Meta's message id (`wamid`) of the message that offered the option. Null when WhatsApp did not name it, or for a tap before this field existed.
- `unverified_figures` array of string, required. Figures in an AI-written message that nothing in the agent's knowledge, files, the customer's own messages or its instructions contains. The message was sent; a person can review them in the inbox. Empty for every other message.
- `figures_checked_at` string (date-time) or null, required. When those figures were marked as checked, in the inbox or through the API; null until then.
- `reply_to` object or null, required. The message this one quotes, as a reply in WhatsApp. Null when it quotes none.
- `message_id` string or null, required. The `id` of the quoted message. Null when WhatsAble does not hold it in this conversation. At most 64 characters.
- `reactions` array of object, required. The customer's emoji reactions to this message, by their last change, oldest first. Empty when there are none.
- `emoji` string, required.
- `contact_id` string, required. The contact who reacted. At most 64 characters.
- `created_at` string (date-time), required. When they reacted, or last changed the reaction.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `message_not_found`.
Body: the error body, under "Error body" below.
### 409
conflict: `idempotency_key_reused`, `idempotency_request_in_progress`.
Body: the error body, under "Error body" below.
### 422
unprocessable: `message_has_no_figures`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### 503
unavailable: `service_unavailable`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X POST 'https://api.whatsable.app/v1/messages/{id}/figures-checked' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/messages/mark-message-figures-checked
# Download a message's media file
`GET https://api.whatsable.app/v1/media/{id}/content`
Required scope: none.
Downloads the file of a message, from the link in its `media.url`. The link needs no API key, because its signature is the credential. It expires after 15 minutes. An expired, changed or broken link gets the same 404 as a deleted file.
## Authorization
None. This route needs no API key.
## Parameters
- `id` (path) string, required. The media file id. At most 64 characters.
- `org` (query) string, required. The organization the file belongs to. Signed with the rest of the link. At most 64 characters.
- `exp` (query) integer, required. When the link expires, in Unix seconds.
- `sig` (query) string, required. The link's signature. At most 256 characters.
## Responses
### 200
The file.
Body: `application/octet-stream`.
- string (binary).
### 404
not_found: `media_not_found`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/media/{id}/content?org=&exp=&sig='
```
Source: /api-reference/v1/messages/get-media-content
# Upload a file to send by its id
`POST https://api.whatsable.app/v1/media`
Required scope: `messages:send`.
Uploads one file. For 30 days, you can send it by its `id` from any number this key may use. Send a `multipart/form-data` body with one `file` part.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `Idempotency-Key` (header) string, optional. Any string up to 255 characters. A repeat with the same key and body answers the stored response; with another body, `409 idempotency_key_reused`. At most 255 characters.
## Request body
`multipart/form-data`, required.
- `file` string (binary), required. The file, at most 100 MiB, of a type WhatsApp can send. The bytes decide the type, or the part's content type and file name when the bytes name none.
## Responses
### 201
The file was stored.
- `object` `"media"`, required.
- `id` string, required. Send it as `media_id` in `POST /v1/messages`, `POST /v1/scheduled-messages` or a template's media header, from any number this key may use. At most 64 characters.
- `mime_type` string, required. The file's content type, read from its bytes whenever they name one.
- `size_bytes` integer, required. The file size in bytes. Minimum 0.
- `filename` string or null, required. The name the upload gave the file, or null when its part carried none.
- `expires_at` string (date-time), required. When the `media_id` stops working, 30 days after the upload. Upload the file again after it.
### 400
invalid_request: `media_too_large`, `media_type_unsupported`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 409
conflict: `idempotency_key_reused`, `idempotency_request_in_progress`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### 503
unavailable: `service_unavailable`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X POST 'https://api.whatsable.app/v1/media' \
-H 'Authorization: Bearer ' \
-F 'file=@./your-file'
```
Source: /api-reference/v1/media/upload-media
# List conversations
`GET https://api.whatsable.app/v1/conversations`
Required scope: `messages:read`.
Lists the conversations on the numbers this key may use, the latest `last_message_at` first. The order changes as messages arrive, so paging can skip or repeat a conversation. To follow changes, poll with `updated_after`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `limit` (query) integer, optional. How many items to return, 1 to 100. Minimum 1. Maximum 100. Default `25`.
- `cursor` (query) string, optional. The `next_cursor` of the previous page. An expired or malformed cursor answers `400 invalid_cursor`. At most 512 characters.
- `number_id` (query) string, optional. At most 64 characters.
- `contact_id` (query) string, optional. At most 64 characters.
- `updated_after` (query) string (date-time), optional. Only conversations updated after this instant. For polling.
- `query` (query) string, optional. The contact's name, @username or phone digits, as `GET /v1/contacts` matches them, or text in the last message. At most 100 characters.
- `label_id` (query) string, optional. Only conversations whose contact carries this label. At most 64 characters.
- `unread` (query) string, optional. `true`: unread messages, or marked unread. `false`: neither. One of: `"true"`, `"false"`.
- `window_open` (query) string, optional. `true`: a session message can be sent now. One of: `"true"`, `"false"`.
- `awaiting_reply` (query) string, optional. `true`: the customer wrote last. One of: `"true"`, `"false"`.
- `figures_to_check` (query) string, optional. `true`: an AI message has a figure nobody checked. One of: `"true"`, `"false"`.
## Responses
### 200
A page of conversations, the latest message first.
- `object` `"list"`, required.
- `data` array of object, required.
- `object` `"conversation"`, required.
- `id` string, required. At most 64 characters.
- `number_id` string, required. The business number of the conversation. At most 64 characters.
- `contact_id` string, required. At most 64 characters.
- `contact_name` string or null, required. The contact's name. Null when nobody named them.
- `last_message_preview` string or null, required. The last message in one line, as the inbox list shows it. Null before the first message.
- `last_message_at` string (date-time) or null, required. The last message in either direction. Null before the first message. A list puts such a conversation last.
- `last_inbound_at` string (date-time) or null, required. The customer's last message. Null when they never wrote.
- `last_outbound_at` string (date-time) or null, required. The business's last message. Null when it never wrote.
- `awaiting_reply` boolean, required. The customer wrote last: `last_inbound_at` is later than `last_outbound_at`, or nothing was sent since.
- `window_expires_at` string (date-time) or null, required. When the 24-hour customer-service window closes. Null when it never opened.
- `window_open` boolean, required. Whether a session message (any type but `template`) can be sent now. Check it before a session send.
- `unread_count` integer, required. Inbound messages nobody has read in the inbox. Reading through the API does not change it. Minimum 0.
- `marked_unread` boolean, required. Someone marked it unread in the inbox.
- `figures_to_check` integer, required. AI messages with a figure nobody has checked yet. Minimum 0.
- `ai` object or null, required.
- `bot_id` string, required. The bot that applies: the conversation's own, else its number's default. At most 64 characters.
- `status` string, required. `active` means not suppressed, not that a bot answers. `paused_by_human` (a person took over), `handed_off` (the bot gave it to a person) and `off` stop the bot. One of: `"active"`, `"paused_by_human"`, `"handed_off"`, `"off"`.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
- `has_more` boolean, required. True when another page follows this one.
- `next_cursor` string or null, required. Pass as `cursor` to read the next page. Null on the last page. Valid for 24 hours.
### 400
invalid_request: `invalid_cursor`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/conversations' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/conversations/list-conversations
# Read a conversation and its 24-hour window
`GET https://api.whatsable.app/v1/conversations/{id}`
Required scope: `messages:read`.
Returns a conversation and the state of its 24-hour window. Check `window_open` before you send a session message. Reading a conversation does not mark its messages as read.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The conversation id. At most 64 characters.
## Responses
### 200
The conversation.
- `object` `"conversation"`, required.
- `id` string, required. At most 64 characters.
- `number_id` string, required. The business number of the conversation. At most 64 characters.
- `contact_id` string, required. At most 64 characters.
- `contact_name` string or null, required. The contact's name. Null when nobody named them.
- `last_message_preview` string or null, required. The last message in one line, as the inbox list shows it. Null before the first message.
- `last_message_at` string (date-time) or null, required. The last message in either direction. Null before the first message. A list puts such a conversation last.
- `last_inbound_at` string (date-time) or null, required. The customer's last message. Null when they never wrote.
- `last_outbound_at` string (date-time) or null, required. The business's last message. Null when it never wrote.
- `awaiting_reply` boolean, required. The customer wrote last: `last_inbound_at` is later than `last_outbound_at`, or nothing was sent since.
- `window_expires_at` string (date-time) or null, required. When the 24-hour customer-service window closes. Null when it never opened.
- `window_open` boolean, required. Whether a session message (any type but `template`) can be sent now. Check it before a session send.
- `unread_count` integer, required. Inbound messages nobody has read in the inbox. Reading through the API does not change it. Minimum 0.
- `marked_unread` boolean, required. Someone marked it unread in the inbox.
- `figures_to_check` integer, required. AI messages with a figure nobody has checked yet. Minimum 0.
- `ai` object or null, required.
- `bot_id` string, required. The bot that applies: the conversation's own, else its number's default. At most 64 characters.
- `status` string, required. `active` means not suppressed, not that a bot answers. `paused_by_human` (a person took over), `handed_off` (the bot gave it to a person) and `off` stop the bot. One of: `"active"`, `"paused_by_human"`, `"handed_off"`, `"off"`.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `conversation_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/conversations/{id}' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/conversations/get-conversation
# Read a conversation's timeline
`GET https://api.whatsable.app/v1/conversations/{id}/timeline`
Required scope: `messages:read`.
Returns what happened in a conversation, newest first: its messages, notes, AI decisions, AI status and bot changes, and label changes.
> **AI entries need `ai:read`, and label entries need `contacts:read`.** Without that scope, a page leaves them out. Naming their types in `types` without it answers `403 insufficient_scope`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The conversation id. At most 64 characters.
- `limit` (query) integer, optional. How many items to return, 1 to 100. Minimum 1. Maximum 100. Default `25`.
- `cursor` (query) string, optional. The `next_cursor` of the previous page. An expired or malformed cursor answers `400 invalid_cursor`. At most 512 characters.
- `types` (query) string, optional. Only these entry types, comma-separated, such as `message,ai_decision`. An unknown type answers `400 validation_failed`. AI types need `ai:read`, label types `contacts:read`. Naming one without its scope answers `403 insufficient_scope`. At most 256 characters.
- `created_after` (query) string (date-time), optional. Only entries after this instant. For polling.
## Responses
### 200
A page of timeline entries, newest first.
- `object` `"list"`, required.
- `data` array of object, required.
- One of 8 shapes:
- Shape 1, `object: "timeline_entry"`:
- `object` `"timeline_entry"`, required.
- `id` string, required. Stable, and unique across types. At most 64 characters.
- `at` string (date-time), required. When the entry became true. Entries are ordered newest first by it.
- `actor` object, required. Who made the entry happen.
- `type` string, required. `customer`, `member` (a person on the team), `api_key`, `ai_bot`, `automation` (a rule or a scheduled job), or `system` (WhatsAble or WhatsApp). One of: `"customer"`, `"member"`, `"api_key"`, `"ai_bot"`, `"automation"`, `"system"`. New values may appear within v1.
- `id` string or null, required. Null when v1 does not name the actor: always for `customer`, `automation` and `system`; for `api_key` unless it is the calling key; for a member or bot WhatsAble cannot name (a WhatsApp-app send, a follow-up message not yet linked). At most 64 characters.
- `name` string or null, required. The member's, key's or bot's name. Null whenever `id` is, and on a note or event by a member who left; a message keeps the name it was sent with.
- `type` `"message"`, required.
- `message` object, required. A WhatsApp message, inbound or outbound.
- `object` `"message"`, required.
- `id` string, required. At most 64 characters.
- `conversation_id` string, required. At most 64 characters.
- `contact_id` string, required. At most 64 characters.
- `number_id` string, required. The business number the message was sent from or received on. At most 64 characters.
- `direction` string, required. One of: `"inbound"`, `"outbound"`.
- `type` string, required. One of: `"text"`, `"template"`, `"image"`, `"video"`, `"audio"`, `"document"`, `"sticker"`, `"buttons"`, `"button_reply"`, `"interactive_reply"`, `"location"`, `"contacts"`, `"unsupported"`. New values may appear within v1.
- `status` string, required. `pending` (Meta did not acknowledge it yet), `sent`, `delivered`, `read` or `failed`. A send answers `sent` or `failed`. One of: `"pending"`, `"sent"`, `"delivered"`, `"read"`, `"failed"`.
- `sent_by` string or null, required. Who sent an outbound message. Null on inbound. One of: `"operator"`, `"api"`, `"bot"`, `"broadcast"`, `"proactive"`, `"whatsapp_app"`. New values may appear within v1.
- `to` object or null, required. The recipient of an outbound message. Null on inbound.
- `phone` string or null, required.
- `wa_user_id` string or null, required. The Business-Scoped User ID, when WhatsApp gave one.
- `username` string or null, required. The WhatsApp username, without `@`, when the person has one.
- `from` object or null, required. The sender of an inbound message. Null on outbound.
- `phone` string or null, required.
- `wa_user_id` string or null, required. The Business-Scoped User ID, when WhatsApp gave one.
- `username` string or null, required. The WhatsApp username, without `@`, when the person has one.
- `text` string or null, required. The text, a caption, or the body of a template or buttons message.
- `template` object or null, required. The template a template message used. Null otherwise.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `language` string, required.
- `media` object or null, required.
- `id` string, required. The media file id. At most 64 characters.
- `mime_type` string, required. The file's content type.
- `size_bytes` integer, required. The stored file size in bytes. 0 when unknown. Minimum 0.
- `filename` string or null, required. The file name, when WhatsApp or the sender gave one.
- `url` string or null, required. A signed link that downloads the file without an API key, valid for 15 minutes. Read the message again for a fresh one. Null when the file could not be stored.
- `transcript` string or null, required. The transcript of an inbound voice note, when one exists. Null otherwise.
- `whatsapp_message_id` string or null, required. Meta's message id (`wamid`). Null when Meta never accepted the message.
- `error` object or null, required. Why the message failed. Null unless `status` is `failed`.
- `code` string, required. `meta_` when WhatsApp refused it with a code, `timeout` when WhatsApp did not answer (it may have gone out), else `send_failed`. New values can appear.
- `meta_code` integer or null, required. Meta's numeric error code, or null when Meta gave none. Minimum -9007199254740991.
- `title` string, required.
- `message` string, required. What happened, in Whatsable's words. Meta's own text is never copied, because it can name the recipient.
- `how_to_fix` string, required.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. True when a later retry, with a new Idempotency-Key, may succeed.
- `docs_url` string, required.
- `fix_url` string or null, optional. Where to fix a payment failure: Meta's payment settings for this WhatsApp Business Account, or the WhatsAble guide that shows the click path when the account id is unknown. Null for every other failure.
- `support_url` string or null, optional. A mail link to WhatsAble support, with the numeric code and the WhatsApp Business Account id filled in. Set only on a payment failure. Null otherwise. It never names the recipient.
- `created_at` string (date-time), required.
- `delivered_at` string (date-time) or null, required.
- `read_at` string (date-time) or null, required.
- `edited_at` string (date-time) or null, required. When the customer edited this inbound message.
- `deleted_at` string (date-time) or null, required. When the customer withdrew this inbound message. Its text is kept.
- `referral` object or null, required. Meta's Click-to-WhatsApp referral object as Meta sent it, with keys such as `ctwa_clid`. Set only on the inbound message that started a chat from an ad or a post.
- `button_reply` object or null, required.
- `id` string or null, required. The tapped option: your `buttons` option `id`, a list row id or a template quick reply payload. Null when WhatsApp sent none, or for a tap before this field existed.
- `title` string, required. The label of the option the person tapped. The same as `text`.
- `message_id` string or null, required. The `id` of the message that offered the option. Null when WhatsAble did not store that message in this conversation, or WhatsApp did not name it. At most 64 characters.
- `whatsapp_message_id` string or null, required. Meta's message id (`wamid`) of the message that offered the option. Null when WhatsApp did not name it, or for a tap before this field existed.
- `unverified_figures` array of string, required. Figures in an AI-written message that nothing in the agent's knowledge, files, the customer's own messages or its instructions contains. The message was sent; a person can review them in the inbox. Empty for every other message.
- `figures_checked_at` string (date-time) or null, required. When those figures were marked as checked, in the inbox or through the API; null until then.
- `reply_to` object or null, required. The message this one quotes, as a reply in WhatsApp. Null when it quotes none.
- `message_id` string or null, required. The `id` of the quoted message. Null when WhatsAble does not hold it in this conversation. At most 64 characters.
- `reactions` array of object, required. The customer's emoji reactions to this message, by their last change, oldest first. Empty when there are none.
- `emoji` string, required.
- `contact_id` string, required. The contact who reacted. At most 64 characters.
- `created_at` string (date-time), required. When they reacted, or last changed the reaction.
- Shape 2, `object: "timeline_entry"`:
- `object` `"timeline_entry"`, required.
- `id` string, required. Stable, and unique across types. At most 64 characters.
- `at` string (date-time), required. When the entry became true. Entries are ordered newest first by it.
- `actor` object, required. Who made the entry happen.
- `type` string, required. `customer`, `member` (a person on the team), `api_key`, `ai_bot`, `automation` (a rule or a scheduled job), or `system` (WhatsAble or WhatsApp). One of: `"customer"`, `"member"`, `"api_key"`, `"ai_bot"`, `"automation"`, `"system"`. New values may appear within v1.
- `id` string or null, required. Null when v1 does not name the actor: always for `customer`, `automation` and `system`; for `api_key` unless it is the calling key; for a member or bot WhatsAble cannot name (a WhatsApp-app send, a follow-up message not yet linked). At most 64 characters.
- `name` string or null, required. The member's, key's or bot's name. Null whenever `id` is, and on a note or event by a member who left; a message keeps the name it was sent with.
- `type` `"note"`, required.
- `note` object, required. An internal note a member, an API key or a connected app wrote in the thread. The customer never sees it.
- `id` string, required. The note's id, for `DELETE /v1/conversations/{id}/notes/{note_id}`. At most 64 characters.
- `body` string, required.
- Shape 3, `object: "timeline_entry"`:
- `object` `"timeline_entry"`, required.
- `id` string, required. Stable, and unique across types. At most 64 characters.
- `at` string (date-time), required. When the entry became true. Entries are ordered newest first by it.
- `actor` object, required. Who made the entry happen.
- `type` string, required. `customer`, `member` (a person on the team), `api_key`, `ai_bot`, `automation` (a rule or a scheduled job), or `system` (WhatsAble or WhatsApp). One of: `"customer"`, `"member"`, `"api_key"`, `"ai_bot"`, `"automation"`, `"system"`. New values may appear within v1.
- `id` string or null, required. Null when v1 does not name the actor: always for `customer`, `automation` and `system`; for `api_key` unless it is the calling key; for a member or bot WhatsAble cannot name (a WhatsApp-app send, a follow-up message not yet linked). At most 64 characters.
- `name` string or null, required. The member's, key's or bot's name. Null whenever `id` is, and on a note or event by a member who left; a message keeps the name it was sent with.
- `type` `"ai_decision"`, required.
- `ai_decision` object, required. One decision of the AI bot: a reply to the customer, or a follow-up attempt.
- `trigger` string, required. `reply` answered the customer. `follow_up` is a follow-up attempt the bot made on its own. One of: `"reply"`, `"follow_up"`. New values may appear within v1.
- `outcome` string, required. What the bot did. A `follow_up_*` outcome belongs to a follow-up attempt. One of: `"replied"`, `"handed_off"`, `"no_reply"`, `"discarded"`, `"failed"`, `"not_confirmed"`, `"follow_up_sent"`, `"follow_up_declined"`, `"follow_up_stopped"`, `"follow_up_handed_off"`, `"follow_up_not_needed"`, `"follow_up_blocked"`, `"follow_up_failed"`, `"follow_up_not_confirmed"`. New values may appear within v1.
- `reason_code` string or null, required. Why, as a code: the handoff reason the bot gave, why a reply was discarded or a follow-up held back, or what failed. Null when the outcome needs none. One of: `"asked_for_a_person"`, `"ready_to_buy"`, `"outside_the_knowledge"`, `"price_or_terms"`, `"complaint"`, `"other"`, `"staled_by_human"`, `"superseded"`, `"guard_tripped"`, `"refusal"`, `"unparseable"`, `"truncated"`, `"ungrounded_commitment"`, `"cancelled"`, `"bot_deleted"`, `"operator_reply"`, `"broadcast_sent"`, `"api_send"`, `"bot_reply"`, `"not_eligible"`, `"contact_opted_out"`, `"attempt_cap"`, `"customer_replied"`, `"window_elapsed"`, `"cooldown"`, `"quiet_period_exceeds_window"`, `"window_closed_no_template"`, `"window_closed_template_unsupported"`, `"window_closed_no_granted_template"`, `"plan_excludes_ai"`, `"template_not_approved"`, `"malformed"`, `"template_authoring_off"`, `"template_cap"`, `"template_rejected"`, `"template_deleted"`, `"template_refused"`, `"awaiting_template"`, `"template_variable_mismatch"`, `"template_header_missing"`, `"template_not_bot_sendable"`, `"template_media_unavailable"`, `"no_readable_history"`, `"send_refused"`, `"retry_cancelled"`, `"model_unavailable"`, `"model_access"`, `"model_rejected"`, `"prompt_too_large"`, `"model_unverified"`, `"whatsapp_refused"`, `"whatsapp_unavailable"`, `"whatsapp_no_answer"`, `"window_closed"`, `"number_not_active"`, `"number_not_connected"`, `"subscription_required"`, `"period_ended"`, `"plan_excludes_inbox"`, `"number_over_plan"`, `"worker_stopped"`, `"internal_error"`. New values may appear within v1.
- `reasoning` string or null, required. The bot's own account of its decision: what the bot said, not a verified fact. Emails, phone numbers and WhatsApp user IDs in it are replaced with `[redacted]`. Null when it gave none.
- `labels` array of object, required. The labels the bot asked to add or remove, refused requests included. A label that changed also has its own `label_added` or `label_removed` entry.
- `action` string, required. One of: `"add"`, `"remove"`.
- `label_id` string or null, required. Null unless the name matched a label the bot may use: always null for `unknown`, `not_enabled` and `conflict`. At most 64 characters.
- `name` string, required. The label as the bot wrote it, before matching.
- `outcome` string, required. `applied` changed the contact. Every other value says why it did not. One of: `"applied"`, `"already"`, `"not_enabled"`, `"unknown"`, `"conflict"`, `"capped"`, `"not_on_number"`, `"failed"`. New values may appear within v1.
- `files` array of object, required. The bot files the bot asked to send, with what became of each.
- `file_id` string, required. The bot file the bot asked to send.
- `name` string or null, required. Null when the bot has no such file.
- `outcome` string, required. `allowed` or `sent` let the file go out. Every other value says why it did not. One of: `"allowed"`, `"sent"`, `"unknown"`, `"inactive"`, `"window_closed"`, `"failed"`. New values may appear within v1.
- `message_id` string or null, required. The last message the decision sent. Null when it sent none. At most 64 characters.
- `attempt` integer or null, required. Which follow-up attempt this was, from 1. Null on a reply.
- `decided_at` string (date-time), required. When the bot started deciding. The entry's `at` is when the decision settled.
- Shape 4, `object: "timeline_entry"`:
- `object` `"timeline_entry"`, required.
- `id` string, required. Stable, and unique across types. At most 64 characters.
- `at` string (date-time), required. When the entry became true. Entries are ordered newest first by it.
- `actor` object, required. Who made the entry happen.
- `type` string, required. `customer`, `member` (a person on the team), `api_key`, `ai_bot`, `automation` (a rule or a scheduled job), or `system` (WhatsAble or WhatsApp). One of: `"customer"`, `"member"`, `"api_key"`, `"ai_bot"`, `"automation"`, `"system"`. New values may appear within v1.
- `id` string or null, required. Null when v1 does not name the actor: always for `customer`, `automation` and `system`; for `api_key` unless it is the calling key; for a member or bot WhatsAble cannot name (a WhatsApp-app send, a follow-up message not yet linked). At most 64 characters.
- `name` string or null, required. The member's, key's or bot's name. Null whenever `id` is, and on a note or event by a member who left; a message keeps the name it was sent with.
- `type` `"ai_status_changed"`, required.
- `ai_status_changed` object, required. The AI was paused, handed off, resumed, switched off or switched on in this conversation.
- `status` string, required. The AI status the conversation moved to, as `GET /v1/conversations/{id}` reports it. One of: `"active"`, `"paused_by_human"`, `"handed_off"`, `"off"`.
- `reason` string or null, required. For `handed_off`, the reason the bot gave. For `active`, what resumed it: `timer` or `new_session`. Null otherwise. One of: `"asked_for_a_person"`, `"ready_to_buy"`, `"outside_the_knowledge"`, `"price_or_terms"`, `"complaint"`, `"other"`, `"timer"`, `"new_session"`. New values may appear within v1.
- Shape 5, `object: "timeline_entry"`:
- `object` `"timeline_entry"`, required.
- `id` string, required. Stable, and unique across types. At most 64 characters.
- `at` string (date-time), required. When the entry became true. Entries are ordered newest first by it.
- `actor` object, required. Who made the entry happen.
- `type` string, required. `customer`, `member` (a person on the team), `api_key`, `ai_bot`, `automation` (a rule or a scheduled job), or `system` (WhatsAble or WhatsApp). One of: `"customer"`, `"member"`, `"api_key"`, `"ai_bot"`, `"automation"`, `"system"`. New values may appear within v1.
- `id` string or null, required. Null when v1 does not name the actor: always for `customer`, `automation` and `system`; for `api_key` unless it is the calling key; for a member or bot WhatsAble cannot name (a WhatsApp-app send, a follow-up message not yet linked). At most 64 characters.
- `name` string or null, required. The member's, key's or bot's name. Null whenever `id` is, and on a note or event by a member who left; a message keeps the name it was sent with.
- `type` `"ai_bot_changed"`, required.
- `ai_bot_changed` object, required. The bot of this conversation was set or cleared.
- `bot_id` string or null, required. The bot this conversation uses from now on. Null when the override was cleared and the number's bot applies. At most 64 characters.
- Shape 6, `object: "timeline_entry"`:
- `object` `"timeline_entry"`, required.
- `id` string, required. Stable, and unique across types. At most 64 characters.
- `at` string (date-time), required. When the entry became true. Entries are ordered newest first by it.
- `actor` object, required. Who made the entry happen.
- `type` string, required. `customer`, `member` (a person on the team), `api_key`, `ai_bot`, `automation` (a rule or a scheduled job), or `system` (WhatsAble or WhatsApp). One of: `"customer"`, `"member"`, `"api_key"`, `"ai_bot"`, `"automation"`, `"system"`. New values may appear within v1.
- `id` string or null, required. Null when v1 does not name the actor: always for `customer`, `automation` and `system`; for `api_key` unless it is the calling key; for a member or bot WhatsAble cannot name (a WhatsApp-app send, a follow-up message not yet linked). At most 64 characters.
- `name` string or null, required. The member's, key's or bot's name. Null whenever `id` is, and on a note or event by a member who left; a message keeps the name it was sent with.
- `type` `"label_added"`, required.
- `label_added` object, required. A label went on or came off the contact.
- `label` object, required.
- `id` string, required. At most 64 characters.
- `name` string or null, required. The label's current name. For a deleted label, its name when it was deleted, or null.
- Shape 7, `object: "timeline_entry"`:
- `object` `"timeline_entry"`, required.
- `id` string, required. Stable, and unique across types. At most 64 characters.
- `at` string (date-time), required. When the entry became true. Entries are ordered newest first by it.
- `actor` object, required. Who made the entry happen.
- `type` string, required. `customer`, `member` (a person on the team), `api_key`, `ai_bot`, `automation` (a rule or a scheduled job), or `system` (WhatsAble or WhatsApp). One of: `"customer"`, `"member"`, `"api_key"`, `"ai_bot"`, `"automation"`, `"system"`. New values may appear within v1.
- `id` string or null, required. Null when v1 does not name the actor: always for `customer`, `automation` and `system`; for `api_key` unless it is the calling key; for a member or bot WhatsAble cannot name (a WhatsApp-app send, a follow-up message not yet linked). At most 64 characters.
- `name` string or null, required. The member's, key's or bot's name. Null whenever `id` is, and on a note or event by a member who left; a message keeps the name it was sent with.
- `type` `"label_removed"`, required.
- `label_removed` object, required. A label went on or came off the contact.
- `label` object, required.
- `id` string, required. At most 64 characters.
- `name` string or null, required. The label's current name. For a deleted label, its name when it was deleted, or null.
- Shape 8, `object: "timeline_entry"`:
- `object` `"timeline_entry"`, required.
- `id` string, required. Stable, and unique across types. At most 64 characters.
- `at` string (date-time), required. When the entry became true. Entries are ordered newest first by it.
- `actor` object, required. Who made the entry happen.
- `type` string, required. `customer`, `member` (a person on the team), `api_key`, `ai_bot`, `automation` (a rule or a scheduled job), or `system` (WhatsAble or WhatsApp). One of: `"customer"`, `"member"`, `"api_key"`, `"ai_bot"`, `"automation"`, `"system"`. New values may appear within v1.
- `id` string or null, required. Null when v1 does not name the actor: always for `customer`, `automation` and `system`; for `api_key` unless it is the calling key; for a member or bot WhatsAble cannot name (a WhatsApp-app send, a follow-up message not yet linked). At most 64 characters.
- `name` string or null, required. The member's, key's or bot's name. Null whenever `id` is, and on a note or event by a member who left; a message keeps the name it was sent with.
- `type` string, required. A type this version does not know. Skip the entry.
- `has_more` boolean, required. True when another page follows this one.
- `next_cursor` string or null, required. Pass as `cursor` to read the next page. Null on the last page. Valid for 24 hours.
### 400
invalid_request: `invalid_cursor`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `conversation_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/conversations/{id}/timeline' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/conversations/get-conversation-timeline
# Mark a conversation read or unread
`PATCH https://api.whatsable.app/v1/conversations/{id}/unread`
Required scope: `messages:send`.
`true` marks the conversation unread in the inbox, as an operator's Mark unread does. `false` marks it read: its `unread_count` goes to 0 and `marked_unread` to false. Sending the state it already has is safe.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The conversation id. At most 64 characters.
## Request body
`application/json`, required.
- `unread` boolean, required. `true` marks it unread in the inbox, as an operator's Mark unread does. `false` marks it read, clearing its unread count. Reading through the API never marks it read.
## Responses
### 200
The conversation, with its `unread_count` and `marked_unread`.
- `object` `"conversation"`, required.
- `id` string, required. At most 64 characters.
- `number_id` string, required. The business number of the conversation. At most 64 characters.
- `contact_id` string, required. At most 64 characters.
- `contact_name` string or null, required. The contact's name. Null when nobody named them.
- `last_message_preview` string or null, required. The last message in one line, as the inbox list shows it. Null before the first message.
- `last_message_at` string (date-time) or null, required. The last message in either direction. Null before the first message. A list puts such a conversation last.
- `last_inbound_at` string (date-time) or null, required. The customer's last message. Null when they never wrote.
- `last_outbound_at` string (date-time) or null, required. The business's last message. Null when it never wrote.
- `awaiting_reply` boolean, required. The customer wrote last: `last_inbound_at` is later than `last_outbound_at`, or nothing was sent since.
- `window_expires_at` string (date-time) or null, required. When the 24-hour customer-service window closes. Null when it never opened.
- `window_open` boolean, required. Whether a session message (any type but `template`) can be sent now. Check it before a session send.
- `unread_count` integer, required. Inbound messages nobody has read in the inbox. Reading through the API does not change it. Minimum 0.
- `marked_unread` boolean, required. Someone marked it unread in the inbox.
- `figures_to_check` integer, required. AI messages with a figure nobody has checked yet. Minimum 0.
- `ai` object or null, required.
- `bot_id` string, required. The bot that applies: the conversation's own, else its number's default. At most 64 characters.
- `status` string, required. `active` means not suppressed, not that a bot answers. `paused_by_human` (a person took over), `handed_off` (the bot gave it to a person) and `off` stop the bot. One of: `"active"`, `"paused_by_human"`, `"handed_off"`, `"off"`.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `conversation_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X PATCH 'https://api.whatsable.app/v1/conversations/{id}/unread' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{
"unread": true
}'
```
Source: /api-reference/v1/conversations/update-conversation-unread
# Add an internal note to a conversation
`POST https://api.whatsable.app/v1/conversations/{id}/notes`
Required scope: `messages:send`.
Adds an internal note to the conversation. The team sees it in the inbox, under this key's name; the customer never does, and nothing is sent to WhatsApp. Read the notes with `GET /v1/conversations/{id}/timeline?types=note`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The conversation id. At most 64 characters.
- `Idempotency-Key` (header) string, optional. Any string up to 255 characters. A repeat with the same key and body answers the stored response; with another body, `409 idempotency_key_reused`. At most 255 characters.
## Request body
`application/json`, required.
- `body` string, required. The note, 1 to 4000 characters. Only the team sees it. At most 4000 characters.
## Responses
### 201
The note.
- `object` `"conversation_note"`, required.
- `id` string, required. At most 64 characters.
- `conversation_id` string, required. At most 64 characters.
- `body` string, required. The note's text. Only the team sees it, in the inbox; it is never sent to WhatsApp.
- `author` object, required. Who wrote the note.
- `type` string, required. `member` (a person on the team, in the inbox) or `api_key` (an API key or a connected app). One of: `"member"`, `"api_key"`.
- `id` string or null, required. The member id, or the key's id when it is the key making this request. Null for another key: v1 does not identify other keys. At most 64 characters.
- `name` string or null, required. The member's name, or the key's name when it is the key making this request. Null for another key, and for a member with no name or who left.
- `created_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `conversation_not_found`.
Body: the error body, under "Error body" below.
### 409
conflict: `idempotency_key_reused`, `idempotency_request_in_progress`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### 503
unavailable: `service_unavailable`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X POST 'https://api.whatsable.app/v1/conversations/{id}/notes' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{
"body": "Asked for the invoice again; call back Monday."
}'
```
Source: /api-reference/v1/conversations/create-conversation-note
# Delete an internal note
`DELETE https://api.whatsable.app/v1/conversations/{id}/notes/{note_id}`
Required scope: `messages:send`.
Deletes one internal note of the conversation, whoever wrote it, as any member can in the inbox. It cannot be undone.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The conversation id. At most 64 characters.
- `note_id` (path) string, required. The note id, as the timeline's `note.id` gives it. It must belong to this conversation. At most 64 characters.
## Responses
### 200
The note was deleted.
- `object` `"conversation_note"`, required.
- `id` string, required. At most 64 characters.
- `deleted` `true`, required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `conversation_not_found`, `conversation_note_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X DELETE 'https://api.whatsable.app/v1/conversations/{id}/notes/{note_id}' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/conversations/delete-conversation-note
# List scheduled messages
`GET https://api.whatsable.app/v1/scheduled-messages`
Required scope: `messages:read`.
Lists the scheduled messages on the numbers this key may use, newest first. The list includes messages that people and other integrations scheduled. `created_by` tells who.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `limit` (query) integer, optional. How many items to return, 1 to 100. Minimum 1. Maximum 100. Default `25`.
- `cursor` (query) string, optional. The `next_cursor` of the previous page. An expired or malformed cursor answers `400 invalid_cursor`. At most 512 characters.
- `status` (query) string, optional. One of: `"pending"`, `"sent"`, `"suppressed"`, `"failed"`, `"cancelled"`, `"missed"`.
- `conversation_id` (query) string, optional. At most 64 characters.
- `number_id` (query) string, optional. At most 64 characters.
## Responses
### 200
A page of scheduled messages, newest first.
- `object` `"list"`, required.
- `data` array of object, required.
- `object` `"scheduled_message"`, required.
- `id` string, required. At most 64 characters.
- `status` string, required. `pending` until it fires, also while it sends. Then `sent`, `suppressed` or `failed`. `cancelled` after a cancel. `missed`: imported too late, so it never fires. One of: `"pending"`, `"sent"`, `"suppressed"`, `"failed"`, `"cancelled"`, `"missed"`.
- `send_at` string (date-time), required. When it fires.
- `time_zone` string or null, required. The IANA time zone the creator gave, kept for display. `send_at` is the instant; it is never read in this zone.
- `conversation_id` string, required. At most 64 characters.
- `contact_id` string, required. At most 64 characters.
- `number_id` string, required. The business number it is sent from. At most 64 characters.
- `type` string, required. The send type. `other` for a message an older integration scheduled as a WhatsApp object v1 does not send. One of: `"text"`, `"template"`, `"image"`, `"video"`, `"audio"`, `"document"`, `"sticker"`, `"buttons"`, `"other"`. New values may appear within v1.
- `text` string or null, required. The text of a `text` message, or the body of a `buttons` message. Null otherwise: a caption is `media.caption`.
- `template` object or null, required. The template of a `template` message. Null otherwise.
- `id` string or null, required. The template id. Null for a message an integration scheduled by a template name that matches no template. At most 64 characters.
- `name` string or null, required. Null when the stored message names its template only by id and that template has since been deleted.
- `language` string or null, required. Null when `name` is.
- `media` object or null, required. The file of a media message. Null otherwise.
- `mime_type` string or null, required. The file's content type. Null for a file an integration scheduled by link, fetched only when it fires.
- `filename` string or null, required.
- `caption` string or null, required.
- `message_id` string or null, required. The Message it produced: set once `sent`, and on a `failed` message created through this API, whose Message carries the failure. Null otherwise. At most 64 characters.
- `suppressed_reason` string or null, required. `window_closed` (the 24-hour window was closed), a failed send check, or a dashboard or integration condition (`reply_window`, `label_condition`, `reply_gate`). One of: `"window_closed"`, `"number_not_sending"`, `"number_over_plan"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"template_not_approved"`, `"template_not_sendable"`, `"reply_window"`, `"label_condition"`, `"reply_gate"`, `"other"`.
- `error` object or null, required. Why a `failed` message failed, as on a Message. Null unless `status` is `failed`.
- `code` string, required. `meta_` when WhatsApp refused it with a code, `timeout` when WhatsApp did not answer (it may have gone out), else `send_failed`. New values can appear.
- `meta_code` integer or null, required. Meta's numeric error code, or null when Meta gave none. Minimum -9007199254740991.
- `title` string, required.
- `message` string, required. What happened, in Whatsable's words. Meta's own text is never copied, because it can name the recipient.
- `how_to_fix` string, required.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. True when a later retry, with a new Idempotency-Key, may succeed.
- `docs_url` string, required.
- `fix_url` string or null, optional. Where to fix a payment failure: Meta's payment settings for this WhatsApp Business Account, or the WhatsAble guide that shows the click path when the account id is unknown. Null for every other failure.
- `support_url` string or null, optional. A mail link to WhatsAble support, with the numeric code and the WhatsApp Business Account id filled in. Set only on a payment failure. Null otherwise. It never names the recipient.
- `send_if` object or null, required. The condition checked when it fires, as `send_if` was given (labels by name), `{ other: true }` for a condition set outside this API, or null.
- `created_by` string, required. `api` (this API), `dashboard` (a person in the inbox), `keep_alive` (office hours' keep-alive), or `integration` (the legacy-compatible API or a Monday workflow). One of: `"api"`, `"dashboard"`, `"keep_alive"`, `"integration"`.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
- `has_more` boolean, required. True when another page follows this one.
- `next_cursor` string or null, required. Pass as `cursor` to read the next page. Null on the last page. Valid for 24 hours.
### 400
invalid_request: `invalid_cursor`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/scheduled-messages' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/scheduled-messages/list-scheduled-messages
# Schedule a message
`POST https://api.whatsable.app/v1/scheduled-messages`
Required scope: `messages:send`.
Schedules a message to send at `send_at`. The body is the body of `POST /v1/messages`, plus `send_at`.
> **The 24-hour window is checked when the message fires, not now.** If the window is closed at that time, a session message ends `suppressed`. So you can schedule a session message to a person who has not written yet.
All the other checks of a send run now.
`send_if` makes it conditional: it sends only if they have not replied (`no_reply`), or only if the contact carries (`include`) or lacks (`exclude`) a label. Otherwise it ends `suppressed` with `reply_window` or `label_condition`. An unknown label is `404 label_not_found`, and nothing is scheduled.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `Idempotency-Key` (header) string, optional. Any string up to 255 characters. A repeat with the same key and body answers the stored response; with another body, `409 idempotency_key_reused`. At most 255 characters.
## Request body
`application/json`, required.
- One of 8 shapes:
- Shape 1, `type: "text"`:
- `to` string, optional. An E.164 phone (`+`, spaces, dashes optional), a Business-Scoped User ID or a WhatsApp `@username`. A new phone or ID creates a contact; a username must be known. At most 256 characters.
- `conversation_id` string, optional. Send into this existing conversation, from its number. Exactly one of `to` and `conversation_id`. At most 64 characters.
- `from` string, optional. The number to send from, by id or E.164 phone. Absent, the key's default number sends. Never another fallback. At most 64 characters.
- `type` `"text"`, required.
- `text` object, required.
- `body` string, required. Up to 4,096 characters. At most 4096 characters.
- `preview_url` boolean, optional. Show a preview of the first link. Off by default.
- `send_at` string (date-time), required. A future RFC 3339 instant with its offset, such as `2026-10-22T09:00:00-03:00`. A time without an offset is refused.
- `time_zone` string, optional. An IANA time zone name, kept for display only. `send_at` is never read in it. At most 64 characters.
- `send_if` object, optional. Sends only if every condition holds when it fires; otherwise it ends `suppressed`. A text also needs the 24-hour window then, so a follow-up after the window should be a template.
- `no_reply` string, optional. Send only if they have not replied: `since_last_message` (since our last message), `never_replied` (to any message of ours), or within `20m`…`72h` of our last message. With no earlier message from us it always passes. One of: `"since_last_message"`, `"never_replied"`, `"20m"`, `"45m"`, `"3h"`, `"6h"`, `"12h"`, `"24h"`, `"48h"`, `"72h"`.
- `labels` object, optional. Exactly one of `include` and `exclude`. A name is matched ignoring case and accents; an unknown label is `404 label_not_found`.
- One of 2 shapes:
- Shape 1:
- `include` array of string, required. Label ids or names. Sends if the contact carries any of them. At most 1000 items.
- Shape 2:
- `exclude` array of string, required. Label ids or names. Sends if the contact carries none of them. At most 1000 items.
- Shape 2, `type: "template"`:
- `to` string, optional. An E.164 phone (`+`, spaces, dashes optional), a Business-Scoped User ID or a WhatsApp `@username`. A new phone or ID creates a contact; a username must be known. At most 256 characters.
- `conversation_id` string, optional. Send into this existing conversation, from its number. Exactly one of `to` and `conversation_id`. At most 64 characters.
- `from` string, optional. The number to send from, by id or E.164 phone. Absent, the key's default number sends. Never another fallback. At most 64 characters.
- `type` `"template"`, required.
- `template` object, required.
- `id` string, optional. The template id. Or send `name` and `language`. At most 64 characters.
- `name` string, optional. Resolved within the sending number's WhatsApp Business Account. At most 512 characters.
- `language` string, optional. Required with `name`. At most 15 characters.
- `variables` object, optional. Keyed by the template's `variables[].key`. A string for a text variable, an object for a media header. An empty or blank string counts as missing.
- `send_at` string (date-time), required. A future RFC 3339 instant with its offset, such as `2026-10-22T09:00:00-03:00`. A time without an offset is refused.
- `time_zone` string, optional. An IANA time zone name, kept for display only. `send_at` is never read in it. At most 64 characters.
- `send_if` object, optional. Sends only if every condition holds when it fires; otherwise it ends `suppressed`. A text also needs the 24-hour window then, so a follow-up after the window should be a template.
- `no_reply` string, optional. Send only if they have not replied: `since_last_message` (since our last message), `never_replied` (to any message of ours), or within `20m`…`72h` of our last message. With no earlier message from us it always passes. One of: `"since_last_message"`, `"never_replied"`, `"20m"`, `"45m"`, `"3h"`, `"6h"`, `"12h"`, `"24h"`, `"48h"`, `"72h"`.
- `labels` object, optional. Exactly one of `include` and `exclude`. A name is matched ignoring case and accents; an unknown label is `404 label_not_found`.
- One of 2 shapes:
- Shape 1:
- `include` array of string, required. Label ids or names. Sends if the contact carries any of them. At most 1000 items.
- Shape 2:
- `exclude` array of string, required. Label ids or names. Sends if the contact carries none of them. At most 1000 items.
- Shape 3, `type: "image"`:
- `to` string, optional. An E.164 phone (`+`, spaces, dashes optional), a Business-Scoped User ID or a WhatsApp `@username`. A new phone or ID creates a contact; a username must be known. At most 256 characters.
- `conversation_id` string, optional. Send into this existing conversation, from its number. Exactly one of `to` and `conversation_id`. At most 64 characters.
- `from` string, optional. The number to send from, by id or E.164 phone. Absent, the key's default number sends. Never another fallback. At most 64 characters.
- `type` `"image"`, required.
- `image` object, required.
- `media_id` string, optional. The `id` of a file uploaded with `POST /v1/media`, valid for 30 days after the upload. Exactly one of `media_id` and `url`. At most 64 characters.
- `url` string (uri), optional. A public HTTPS link to the file. The file must fit the size limit of this message type. Exactly one of `media_id` and `url`. At most 2000 characters.
- `caption` string, optional. Text shown under the media, up to 1,024 characters. At most 1024 characters.
- `send_at` string (date-time), required. A future RFC 3339 instant with its offset, such as `2026-10-22T09:00:00-03:00`. A time without an offset is refused.
- `time_zone` string, optional. An IANA time zone name, kept for display only. `send_at` is never read in it. At most 64 characters.
- `send_if` object, optional. Sends only if every condition holds when it fires; otherwise it ends `suppressed`. A text also needs the 24-hour window then, so a follow-up after the window should be a template.
- `no_reply` string, optional. Send only if they have not replied: `since_last_message` (since our last message), `never_replied` (to any message of ours), or within `20m`…`72h` of our last message. With no earlier message from us it always passes. One of: `"since_last_message"`, `"never_replied"`, `"20m"`, `"45m"`, `"3h"`, `"6h"`, `"12h"`, `"24h"`, `"48h"`, `"72h"`.
- `labels` object, optional. Exactly one of `include` and `exclude`. A name is matched ignoring case and accents; an unknown label is `404 label_not_found`.
- One of 2 shapes:
- Shape 1:
- `include` array of string, required. Label ids or names. Sends if the contact carries any of them. At most 1000 items.
- Shape 2:
- `exclude` array of string, required. Label ids or names. Sends if the contact carries none of them. At most 1000 items.
- Shape 4, `type: "video"`:
- `to` string, optional. An E.164 phone (`+`, spaces, dashes optional), a Business-Scoped User ID or a WhatsApp `@username`. A new phone or ID creates a contact; a username must be known. At most 256 characters.
- `conversation_id` string, optional. Send into this existing conversation, from its number. Exactly one of `to` and `conversation_id`. At most 64 characters.
- `from` string, optional. The number to send from, by id or E.164 phone. Absent, the key's default number sends. Never another fallback. At most 64 characters.
- `type` `"video"`, required.
- `video` object, required.
- `media_id` string, optional. The `id` of a file uploaded with `POST /v1/media`, valid for 30 days after the upload. Exactly one of `media_id` and `url`. At most 64 characters.
- `url` string (uri), optional. A public HTTPS link to the file. The file must fit the size limit of this message type. Exactly one of `media_id` and `url`. At most 2000 characters.
- `caption` string, optional. Text shown under the media, up to 1,024 characters. At most 1024 characters.
- `send_at` string (date-time), required. A future RFC 3339 instant with its offset, such as `2026-10-22T09:00:00-03:00`. A time without an offset is refused.
- `time_zone` string, optional. An IANA time zone name, kept for display only. `send_at` is never read in it. At most 64 characters.
- `send_if` object, optional. Sends only if every condition holds when it fires; otherwise it ends `suppressed`. A text also needs the 24-hour window then, so a follow-up after the window should be a template.
- `no_reply` string, optional. Send only if they have not replied: `since_last_message` (since our last message), `never_replied` (to any message of ours), or within `20m`…`72h` of our last message. With no earlier message from us it always passes. One of: `"since_last_message"`, `"never_replied"`, `"20m"`, `"45m"`, `"3h"`, `"6h"`, `"12h"`, `"24h"`, `"48h"`, `"72h"`.
- `labels` object, optional. Exactly one of `include` and `exclude`. A name is matched ignoring case and accents; an unknown label is `404 label_not_found`.
- One of 2 shapes:
- Shape 1:
- `include` array of string, required. Label ids or names. Sends if the contact carries any of them. At most 1000 items.
- Shape 2:
- `exclude` array of string, required. Label ids or names. Sends if the contact carries none of them. At most 1000 items.
- Shape 5, `type: "audio"`:
- `to` string, optional. An E.164 phone (`+`, spaces, dashes optional), a Business-Scoped User ID or a WhatsApp `@username`. A new phone or ID creates a contact; a username must be known. At most 256 characters.
- `conversation_id` string, optional. Send into this existing conversation, from its number. Exactly one of `to` and `conversation_id`. At most 64 characters.
- `from` string, optional. The number to send from, by id or E.164 phone. Absent, the key's default number sends. Never another fallback. At most 64 characters.
- `type` `"audio"`, required.
- `audio` object, required.
- `media_id` string, optional. The `id` of a file uploaded with `POST /v1/media`, valid for 30 days after the upload. Exactly one of `media_id` and `url`. At most 64 characters.
- `url` string (uri), optional. A public HTTPS link to the file. The file must fit the size limit of this message type. Exactly one of `media_id` and `url`. At most 2000 characters.
- `send_at` string (date-time), required. A future RFC 3339 instant with its offset, such as `2026-10-22T09:00:00-03:00`. A time without an offset is refused.
- `time_zone` string, optional. An IANA time zone name, kept for display only. `send_at` is never read in it. At most 64 characters.
- `send_if` object, optional. Sends only if every condition holds when it fires; otherwise it ends `suppressed`. A text also needs the 24-hour window then, so a follow-up after the window should be a template.
- `no_reply` string, optional. Send only if they have not replied: `since_last_message` (since our last message), `never_replied` (to any message of ours), or within `20m`…`72h` of our last message. With no earlier message from us it always passes. One of: `"since_last_message"`, `"never_replied"`, `"20m"`, `"45m"`, `"3h"`, `"6h"`, `"12h"`, `"24h"`, `"48h"`, `"72h"`.
- `labels` object, optional. Exactly one of `include` and `exclude`. A name is matched ignoring case and accents; an unknown label is `404 label_not_found`.
- One of 2 shapes:
- Shape 1:
- `include` array of string, required. Label ids or names. Sends if the contact carries any of them. At most 1000 items.
- Shape 2:
- `exclude` array of string, required. Label ids or names. Sends if the contact carries none of them. At most 1000 items.
- Shape 6, `type: "document"`:
- `to` string, optional. An E.164 phone (`+`, spaces, dashes optional), a Business-Scoped User ID or a WhatsApp `@username`. A new phone or ID creates a contact; a username must be known. At most 256 characters.
- `conversation_id` string, optional. Send into this existing conversation, from its number. Exactly one of `to` and `conversation_id`. At most 64 characters.
- `from` string, optional. The number to send from, by id or E.164 phone. Absent, the key's default number sends. Never another fallback. At most 64 characters.
- `type` `"document"`, required.
- `document` object, required.
- `media_id` string, optional. The `id` of a file uploaded with `POST /v1/media`, valid for 30 days after the upload. Exactly one of `media_id` and `url`. At most 64 characters.
- `url` string (uri), optional. A public HTTPS link to the file. The file must fit the size limit of this message type. Exactly one of `media_id` and `url`. At most 2000 characters.
- `caption` string, optional. Text shown under the media, up to 1,024 characters. At most 1024 characters.
- `filename` string, optional. The name WhatsApp shows for the file. At most 240 characters.
- `send_at` string (date-time), required. A future RFC 3339 instant with its offset, such as `2026-10-22T09:00:00-03:00`. A time without an offset is refused.
- `time_zone` string, optional. An IANA time zone name, kept for display only. `send_at` is never read in it. At most 64 characters.
- `send_if` object, optional. Sends only if every condition holds when it fires; otherwise it ends `suppressed`. A text also needs the 24-hour window then, so a follow-up after the window should be a template.
- `no_reply` string, optional. Send only if they have not replied: `since_last_message` (since our last message), `never_replied` (to any message of ours), or within `20m`…`72h` of our last message. With no earlier message from us it always passes. One of: `"since_last_message"`, `"never_replied"`, `"20m"`, `"45m"`, `"3h"`, `"6h"`, `"12h"`, `"24h"`, `"48h"`, `"72h"`.
- `labels` object, optional. Exactly one of `include` and `exclude`. A name is matched ignoring case and accents; an unknown label is `404 label_not_found`.
- One of 2 shapes:
- Shape 1:
- `include` array of string, required. Label ids or names. Sends if the contact carries any of them. At most 1000 items.
- Shape 2:
- `exclude` array of string, required. Label ids or names. Sends if the contact carries none of them. At most 1000 items.
- Shape 7, `type: "sticker"`:
- `to` string, optional. An E.164 phone (`+`, spaces, dashes optional), a Business-Scoped User ID or a WhatsApp `@username`. A new phone or ID creates a contact; a username must be known. At most 256 characters.
- `conversation_id` string, optional. Send into this existing conversation, from its number. Exactly one of `to` and `conversation_id`. At most 64 characters.
- `from` string, optional. The number to send from, by id or E.164 phone. Absent, the key's default number sends. Never another fallback. At most 64 characters.
- `type` `"sticker"`, required.
- `sticker` object, required.
- `media_id` string, optional. The `id` of a file uploaded with `POST /v1/media`, valid for 30 days after the upload. Exactly one of `media_id` and `url`. At most 64 characters.
- `url` string (uri), optional. A public HTTPS link to the file. The file must fit the size limit of this message type. Exactly one of `media_id` and `url`. At most 2000 characters.
- `send_at` string (date-time), required. A future RFC 3339 instant with its offset, such as `2026-10-22T09:00:00-03:00`. A time without an offset is refused.
- `time_zone` string, optional. An IANA time zone name, kept for display only. `send_at` is never read in it. At most 64 characters.
- `send_if` object, optional. Sends only if every condition holds when it fires; otherwise it ends `suppressed`. A text also needs the 24-hour window then, so a follow-up after the window should be a template.
- `no_reply` string, optional. Send only if they have not replied: `since_last_message` (since our last message), `never_replied` (to any message of ours), or within `20m`…`72h` of our last message. With no earlier message from us it always passes. One of: `"since_last_message"`, `"never_replied"`, `"20m"`, `"45m"`, `"3h"`, `"6h"`, `"12h"`, `"24h"`, `"48h"`, `"72h"`.
- `labels` object, optional. Exactly one of `include` and `exclude`. A name is matched ignoring case and accents; an unknown label is `404 label_not_found`.
- One of 2 shapes:
- Shape 1:
- `include` array of string, required. Label ids or names. Sends if the contact carries any of them. At most 1000 items.
- Shape 2:
- `exclude` array of string, required. Label ids or names. Sends if the contact carries none of them. At most 1000 items.
- Shape 8, `type: "buttons"`:
- `to` string, optional. An E.164 phone (`+`, spaces, dashes optional), a Business-Scoped User ID or a WhatsApp `@username`. A new phone or ID creates a contact; a username must be known. At most 256 characters.
- `conversation_id` string, optional. Send into this existing conversation, from its number. Exactly one of `to` and `conversation_id`. At most 64 characters.
- `from` string, optional. The number to send from, by id or E.164 phone. Absent, the key's default number sends. Never another fallback. At most 64 characters.
- `type` `"buttons"`, required.
- `buttons` object, required.
- `body` string, required. The text above the buttons, up to 1,024 characters. At most 1024 characters.
- `options` array of object, required. One to three reply buttons. Ids and titles must not repeat. At most 3 items.
- `id` string, required. Your id for the button, sent to WhatsApp with it. When the person taps the button, the inbound message carries it as `button_reply.id`. At most 256 characters.
- `title` string, required. The button's label, up to 20 characters. At most 20 characters.
- `send_at` string (date-time), required. A future RFC 3339 instant with its offset, such as `2026-10-22T09:00:00-03:00`. A time without an offset is refused.
- `time_zone` string, optional. An IANA time zone name, kept for display only. `send_at` is never read in it. At most 64 characters.
- `send_if` object, optional. Sends only if every condition holds when it fires; otherwise it ends `suppressed`. A text also needs the 24-hour window then, so a follow-up after the window should be a template.
- `no_reply` string, optional. Send only if they have not replied: `since_last_message` (since our last message), `never_replied` (to any message of ours), or within `20m`…`72h` of our last message. With no earlier message from us it always passes. One of: `"since_last_message"`, `"never_replied"`, `"20m"`, `"45m"`, `"3h"`, `"6h"`, `"12h"`, `"24h"`, `"48h"`, `"72h"`.
- `labels` object, optional. Exactly one of `include` and `exclude`. A name is matched ignoring case and accents; an unknown label is `404 label_not_found`.
- One of 2 shapes:
- Shape 1:
- `include` array of string, required. Label ids or names. Sends if the contact carries any of them. At most 1000 items.
- Shape 2:
- `exclude` array of string, required. Label ids or names. Sends if the contact carries none of them. At most 1000 items.
## Responses
### 201
The message is scheduled: `pending` until `send_at`.
- `object` `"scheduled_message"`, required.
- `id` string, required. At most 64 characters.
- `status` string, required. `pending` until it fires, also while it sends. Then `sent`, `suppressed` or `failed`. `cancelled` after a cancel. `missed`: imported too late, so it never fires. One of: `"pending"`, `"sent"`, `"suppressed"`, `"failed"`, `"cancelled"`, `"missed"`.
- `send_at` string (date-time), required. When it fires.
- `time_zone` string or null, required. The IANA time zone the creator gave, kept for display. `send_at` is the instant; it is never read in this zone.
- `conversation_id` string, required. At most 64 characters.
- `contact_id` string, required. At most 64 characters.
- `number_id` string, required. The business number it is sent from. At most 64 characters.
- `type` string, required. The send type. `other` for a message an older integration scheduled as a WhatsApp object v1 does not send. One of: `"text"`, `"template"`, `"image"`, `"video"`, `"audio"`, `"document"`, `"sticker"`, `"buttons"`, `"other"`. New values may appear within v1.
- `text` string or null, required. The text of a `text` message, or the body of a `buttons` message. Null otherwise: a caption is `media.caption`.
- `template` object or null, required. The template of a `template` message. Null otherwise.
- `id` string or null, required. The template id. Null for a message an integration scheduled by a template name that matches no template. At most 64 characters.
- `name` string or null, required. Null when the stored message names its template only by id and that template has since been deleted.
- `language` string or null, required. Null when `name` is.
- `media` object or null, required. The file of a media message. Null otherwise.
- `mime_type` string or null, required. The file's content type. Null for a file an integration scheduled by link, fetched only when it fires.
- `filename` string or null, required.
- `caption` string or null, required.
- `message_id` string or null, required. The Message it produced: set once `sent`, and on a `failed` message created through this API, whose Message carries the failure. Null otherwise. At most 64 characters.
- `suppressed_reason` string or null, required. `window_closed` (the 24-hour window was closed), a failed send check, or a dashboard or integration condition (`reply_window`, `label_condition`, `reply_gate`). One of: `"window_closed"`, `"number_not_sending"`, `"number_over_plan"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"template_not_approved"`, `"template_not_sendable"`, `"reply_window"`, `"label_condition"`, `"reply_gate"`, `"other"`.
- `error` object or null, required. Why a `failed` message failed, as on a Message. Null unless `status` is `failed`.
- `code` string, required. `meta_` when WhatsApp refused it with a code, `timeout` when WhatsApp did not answer (it may have gone out), else `send_failed`. New values can appear.
- `meta_code` integer or null, required. Meta's numeric error code, or null when Meta gave none. Minimum -9007199254740991.
- `title` string, required.
- `message` string, required. What happened, in Whatsable's words. Meta's own text is never copied, because it can name the recipient.
- `how_to_fix` string, required.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. True when a later retry, with a new Idempotency-Key, may succeed.
- `docs_url` string, required.
- `fix_url` string or null, optional. Where to fix a payment failure: Meta's payment settings for this WhatsApp Business Account, or the WhatsAble guide that shows the click path when the account id is unknown. Null for every other failure.
- `support_url` string or null, optional. A mail link to WhatsAble support, with the numeric code and the WhatsApp Business Account id filled in. Set only on a payment failure. Null otherwise. It never names the recipient.
- `send_if` object or null, required. The condition checked when it fires, as `send_if` was given (labels by name), `{ other: true }` for a condition set outside this API, or null.
- `created_by` string, required. `api` (this API), `dashboard` (a person in the inbox), `keep_alive` (office hours' keep-alive), or `integration` (the legacy-compatible API or a Monday workflow). One of: `"api"`, `"dashboard"`, `"keep_alive"`, `"integration"`.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
### 400
invalid_request: `from_conflicts_with_conversation`, `invalid_address`, `media_too_large`, `media_type_unsupported`, `template_variable_missing`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `number_not_allowed_for_key`, `number_over_plan`, `organization_not_live`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `contact_not_found`, `conversation_not_found`, `label_not_found`, `media_not_found`, `number_not_found`, `template_not_found`.
Body: the error body, under "Error body" below.
### 409
conflict: `idempotency_key_reused`, `idempotency_request_in_progress`.
Body: the error body, under "Error body" below.
### 422
unprocessable: `contact_has_no_address`, `number_not_sending`, `template_not_approved`, `template_not_supported`, `template_wrong_waba`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### 503
unavailable: `service_unavailable`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X POST 'https://api.whatsable.app/v1/scheduled-messages' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{
"to": "+5491155550000",
"from": "cm2v8a1b20002qz8h9i0j1k2l",
"type": "template",
"template": {
"id": "cm2v8t1a00001qz8habcd1234",
"variables": {
"1": "Ana",
"2": "#1042"
}
},
"send_at": "2026-10-22T09:00:00-03:00",
"time_zone": "America/Argentina/Buenos_Aires",
"send_if": {
"no_reply": "since_last_message"
}
}'
```
Source: /api-reference/v1/scheduled-messages/schedule-message
# Read a scheduled message and how it ended
`GET https://api.whatsable.app/v1/scheduled-messages/{id}`
Required scope: `messages:read`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The scheduled message id. At most 64 characters.
## Responses
### 200
The scheduled message.
- `object` `"scheduled_message"`, required.
- `id` string, required. At most 64 characters.
- `status` string, required. `pending` until it fires, also while it sends. Then `sent`, `suppressed` or `failed`. `cancelled` after a cancel. `missed`: imported too late, so it never fires. One of: `"pending"`, `"sent"`, `"suppressed"`, `"failed"`, `"cancelled"`, `"missed"`.
- `send_at` string (date-time), required. When it fires.
- `time_zone` string or null, required. The IANA time zone the creator gave, kept for display. `send_at` is the instant; it is never read in this zone.
- `conversation_id` string, required. At most 64 characters.
- `contact_id` string, required. At most 64 characters.
- `number_id` string, required. The business number it is sent from. At most 64 characters.
- `type` string, required. The send type. `other` for a message an older integration scheduled as a WhatsApp object v1 does not send. One of: `"text"`, `"template"`, `"image"`, `"video"`, `"audio"`, `"document"`, `"sticker"`, `"buttons"`, `"other"`. New values may appear within v1.
- `text` string or null, required. The text of a `text` message, or the body of a `buttons` message. Null otherwise: a caption is `media.caption`.
- `template` object or null, required. The template of a `template` message. Null otherwise.
- `id` string or null, required. The template id. Null for a message an integration scheduled by a template name that matches no template. At most 64 characters.
- `name` string or null, required. Null when the stored message names its template only by id and that template has since been deleted.
- `language` string or null, required. Null when `name` is.
- `media` object or null, required. The file of a media message. Null otherwise.
- `mime_type` string or null, required. The file's content type. Null for a file an integration scheduled by link, fetched only when it fires.
- `filename` string or null, required.
- `caption` string or null, required.
- `message_id` string or null, required. The Message it produced: set once `sent`, and on a `failed` message created through this API, whose Message carries the failure. Null otherwise. At most 64 characters.
- `suppressed_reason` string or null, required. `window_closed` (the 24-hour window was closed), a failed send check, or a dashboard or integration condition (`reply_window`, `label_condition`, `reply_gate`). One of: `"window_closed"`, `"number_not_sending"`, `"number_over_plan"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"template_not_approved"`, `"template_not_sendable"`, `"reply_window"`, `"label_condition"`, `"reply_gate"`, `"other"`.
- `error` object or null, required. Why a `failed` message failed, as on a Message. Null unless `status` is `failed`.
- `code` string, required. `meta_` when WhatsApp refused it with a code, `timeout` when WhatsApp did not answer (it may have gone out), else `send_failed`. New values can appear.
- `meta_code` integer or null, required. Meta's numeric error code, or null when Meta gave none. Minimum -9007199254740991.
- `title` string, required.
- `message` string, required. What happened, in Whatsable's words. Meta's own text is never copied, because it can name the recipient.
- `how_to_fix` string, required.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. True when a later retry, with a new Idempotency-Key, may succeed.
- `docs_url` string, required.
- `fix_url` string or null, optional. Where to fix a payment failure: Meta's payment settings for this WhatsApp Business Account, or the WhatsAble guide that shows the click path when the account id is unknown. Null for every other failure.
- `support_url` string or null, optional. A mail link to WhatsAble support, with the numeric code and the WhatsApp Business Account id filled in. Set only on a payment failure. Null otherwise. It never names the recipient.
- `send_if` object or null, required. The condition checked when it fires, as `send_if` was given (labels by name), `{ other: true }` for a condition set outside this API, or null.
- `created_by` string, required. `api` (this API), `dashboard` (a person in the inbox), `keep_alive` (office hours' keep-alive), or `integration` (the legacy-compatible API or a Monday workflow). One of: `"api"`, `"dashboard"`, `"keep_alive"`, `"integration"`.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `scheduled_message_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/scheduled-messages/{id}' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/scheduled-messages/get-scheduled-message
# Cancel a scheduled message
`POST https://api.whatsable.app/v1/scheduled-messages/{id}/cancel`
Required scope: `messages:send`.
Cancels a `pending` scheduled message. A message that already fired, or fires at this moment, cannot be cancelled.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The scheduled message id. At most 64 characters.
## Responses
### 200
The cancelled message.
- `object` `"scheduled_message"`, required.
- `id` string, required. At most 64 characters.
- `status` string, required. `pending` until it fires, also while it sends. Then `sent`, `suppressed` or `failed`. `cancelled` after a cancel. `missed`: imported too late, so it never fires. One of: `"pending"`, `"sent"`, `"suppressed"`, `"failed"`, `"cancelled"`, `"missed"`.
- `send_at` string (date-time), required. When it fires.
- `time_zone` string or null, required. The IANA time zone the creator gave, kept for display. `send_at` is the instant; it is never read in this zone.
- `conversation_id` string, required. At most 64 characters.
- `contact_id` string, required. At most 64 characters.
- `number_id` string, required. The business number it is sent from. At most 64 characters.
- `type` string, required. The send type. `other` for a message an older integration scheduled as a WhatsApp object v1 does not send. One of: `"text"`, `"template"`, `"image"`, `"video"`, `"audio"`, `"document"`, `"sticker"`, `"buttons"`, `"other"`. New values may appear within v1.
- `text` string or null, required. The text of a `text` message, or the body of a `buttons` message. Null otherwise: a caption is `media.caption`.
- `template` object or null, required. The template of a `template` message. Null otherwise.
- `id` string or null, required. The template id. Null for a message an integration scheduled by a template name that matches no template. At most 64 characters.
- `name` string or null, required. Null when the stored message names its template only by id and that template has since been deleted.
- `language` string or null, required. Null when `name` is.
- `media` object or null, required. The file of a media message. Null otherwise.
- `mime_type` string or null, required. The file's content type. Null for a file an integration scheduled by link, fetched only when it fires.
- `filename` string or null, required.
- `caption` string or null, required.
- `message_id` string or null, required. The Message it produced: set once `sent`, and on a `failed` message created through this API, whose Message carries the failure. Null otherwise. At most 64 characters.
- `suppressed_reason` string or null, required. `window_closed` (the 24-hour window was closed), a failed send check, or a dashboard or integration condition (`reply_window`, `label_condition`, `reply_gate`). One of: `"window_closed"`, `"number_not_sending"`, `"number_over_plan"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"template_not_approved"`, `"template_not_sendable"`, `"reply_window"`, `"label_condition"`, `"reply_gate"`, `"other"`.
- `error` object or null, required. Why a `failed` message failed, as on a Message. Null unless `status` is `failed`.
- `code` string, required. `meta_` when WhatsApp refused it with a code, `timeout` when WhatsApp did not answer (it may have gone out), else `send_failed`. New values can appear.
- `meta_code` integer or null, required. Meta's numeric error code, or null when Meta gave none. Minimum -9007199254740991.
- `title` string, required.
- `message` string, required. What happened, in Whatsable's words. Meta's own text is never copied, because it can name the recipient.
- `how_to_fix` string, required.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. True when a later retry, with a new Idempotency-Key, may succeed.
- `docs_url` string, required.
- `fix_url` string or null, optional. Where to fix a payment failure: Meta's payment settings for this WhatsApp Business Account, or the WhatsAble guide that shows the click path when the account id is unknown. Null for every other failure.
- `support_url` string or null, optional. A mail link to WhatsAble support, with the numeric code and the WhatsApp Business Account id filled in. Set only on a payment failure. Null otherwise. It never names the recipient.
- `send_if` object or null, required. The condition checked when it fires, as `send_if` was given (labels by name), `{ other: true }` for a condition set outside this API, or null.
- `created_by` string, required. `api` (this API), `dashboard` (a person in the inbox), `keep_alive` (office hours' keep-alive), or `integration` (the legacy-compatible API or a Monday workflow). One of: `"api"`, `"dashboard"`, `"keep_alive"`, `"integration"`.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `scheduled_message_not_found`.
Body: the error body, under "Error body" below.
### 422
unprocessable: `scheduled_message_not_pending`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X POST 'https://api.whatsable.app/v1/scheduled-messages/{id}/cancel' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/scheduled-messages/cancel-scheduled-message
# List contacts
`GET https://api.whatsable.app/v1/contacts`
Required scope: `contacts:read`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `limit` (query) integer, optional. How many items to return, 1 to 100. Minimum 1. Maximum 100. Default `25`.
- `cursor` (query) string, optional. The `next_cursor` of the previous page. An expired or malformed cursor answers `400 invalid_cursor`. At most 512 characters.
- `phone` (query) string, optional. A phone number in E.164. The `+`, spaces and dashes may be omitted; the canonical `+digits` form is what is stored and returned.
- `wa_user_id` (query) string, optional. A Business-Scoped User ID: a country code, a period, then letters and digits.
- `username` (query) string, optional. With or without the leading `@`. At most 64 characters.
- `label_id` (query) string, optional. At most 64 characters.
- `updated_after` (query) string (date-time), optional. Only contacts changed after this instant. For polling.
- `query` (query) string, optional. Name: partial, ignoring case and accents. @username: partial, ignoring case. Phone: three or more digits. Every word must match. At most 100 characters.
## Responses
### 200
A page of contacts, newest first.
- `object` `"list"`, required.
- `data` array of object, required.
- `object` `"contact"`, required.
- `id` string, required. At most 64 characters.
- `phone` string or null, required. Null when WhatsApp withheld the number and only a user id is known.
- `wa_user_id` string or null, required. The Business-Scoped User ID, when WhatsApp gave one.
- `username` string or null, required. The WhatsApp username, without `@`.
- `name` string or null, required.
- `note` string or null, required. The contact's note, as the inbox shows it.
- `automation_note` string or null, required. A note kept for automations, separate from `note`.
- `labels` array of object, required.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `conversations` array of object, required. One per number the person has talked to, among the numbers this key may use.
- `id` string, required. At most 64 characters.
- `number_id` string, required. At most 64 characters.
- `follow_ups` string, required. The inbox's Follow up switch. `off`: the AI never follows up with this person, on any number, until it is switched back on. `on` does not mean a follow-up is coming: that also depends on the bot's follow-up settings and the conversation's AI status. One of: `"on"`, `"off"`.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
- `has_more` boolean, required. True when another page follows this one.
- `next_cursor` string or null, required. Pass as `cursor` to read the next page. Null on the last page. Valid for 24 hours.
### 400
invalid_request: `invalid_cursor`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/contacts' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/contacts/list-contacts
# Find or create a contact
`POST https://api.whatsable.app/v1/contacts`
Required scope: `contacts:write`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `Idempotency-Key` (header) string, optional. Any string up to 255 characters. A repeat with the same key and body answers the stored response; with another body, `409 idempotency_key_reused`. At most 255 characters.
## Request body
`application/json`, required.
- `phone` string, optional. A phone number in E.164. The `+`, spaces and dashes may be omitted; the canonical `+digits` form is what is stored and returned.
- `wa_user_id` string, optional. A Business-Scoped User ID: a country code, a period, then letters and digits.
- `name` string, optional. Set on a contact this call creates. An existing contact keeps its name. At most 200 characters.
## Responses
### 200
A contact with this identity already existed.
- `object` `"contact"`, required.
- `id` string, required. At most 64 characters.
- `phone` string or null, required. Null when WhatsApp withheld the number and only a user id is known.
- `wa_user_id` string or null, required. The Business-Scoped User ID, when WhatsApp gave one.
- `username` string or null, required. The WhatsApp username, without `@`.
- `name` string or null, required.
- `note` string or null, required. The contact's note, as the inbox shows it.
- `automation_note` string or null, required. A note kept for automations, separate from `note`.
- `labels` array of object, required.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `conversations` array of object, required. One per number the person has talked to, among the numbers this key may use.
- `id` string, required. At most 64 characters.
- `number_id` string, required. At most 64 characters.
- `follow_ups` string, required. The inbox's Follow up switch. `off`: the AI never follows up with this person, on any number, until it is switched back on. `on` does not mean a follow-up is coming: that also depends on the bot's follow-up settings and the conversation's AI status. One of: `"on"`, `"off"`.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
### 201
The contact was created.
- `object` `"contact"`, required.
- `id` string, required. At most 64 characters.
- `phone` string or null, required. Null when WhatsApp withheld the number and only a user id is known.
- `wa_user_id` string or null, required. The Business-Scoped User ID, when WhatsApp gave one.
- `username` string or null, required. The WhatsApp username, without `@`.
- `name` string or null, required.
- `note` string or null, required. The contact's note, as the inbox shows it.
- `automation_note` string or null, required. A note kept for automations, separate from `note`.
- `labels` array of object, required.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `conversations` array of object, required. One per number the person has talked to, among the numbers this key may use.
- `id` string, required. At most 64 characters.
- `number_id` string, required. At most 64 characters.
- `follow_ups` string, required. The inbox's Follow up switch. `off`: the AI never follows up with this person, on any number, until it is switched back on. `on` does not mean a follow-up is coming: that also depends on the bot's follow-up settings and the conversation's AI status. One of: `"on"`, `"off"`.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 409
conflict: `idempotency_key_reused`, `idempotency_request_in_progress`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### 503
unavailable: `service_unavailable`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X POST 'https://api.whatsable.app/v1/contacts' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{
"phone": "+5491155550000",
"name": "Ana Pérez"
}'
```
Source: /api-reference/v1/contacts/create-contact
# Read a contact
`GET https://api.whatsable.app/v1/contacts/{id}`
Required scope: `contacts:read`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The contact id. At most 64 characters.
## Responses
### 200
The contact.
- `object` `"contact"`, required.
- `id` string, required. At most 64 characters.
- `phone` string or null, required. Null when WhatsApp withheld the number and only a user id is known.
- `wa_user_id` string or null, required. The Business-Scoped User ID, when WhatsApp gave one.
- `username` string or null, required. The WhatsApp username, without `@`.
- `name` string or null, required.
- `note` string or null, required. The contact's note, as the inbox shows it.
- `automation_note` string or null, required. A note kept for automations, separate from `note`.
- `labels` array of object, required.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `conversations` array of object, required. One per number the person has talked to, among the numbers this key may use.
- `id` string, required. At most 64 characters.
- `number_id` string, required. At most 64 characters.
- `follow_ups` string, required. The inbox's Follow up switch. `off`: the AI never follows up with this person, on any number, until it is switched back on. `on` does not mean a follow-up is coming: that also depends on the bot's follow-up settings and the conversation's AI status. One of: `"on"`, `"off"`.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `contact_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/contacts/{id}' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/contacts/get-contact
# Update a contact's name or notes
`PATCH https://api.whatsable.app/v1/contacts/{id}`
Required scope: `contacts:write`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The contact id. At most 64 characters.
## Request body
`application/json`, required.
- `name` string, optional. At most 200 characters.
- `note` string or null, optional. Null or an empty string clears it. At most 5000 characters.
- `automation_note` string or null, optional. Null or an empty string clears it. At most 5000 characters.
## Responses
### 200
The updated contact.
- `object` `"contact"`, required.
- `id` string, required. At most 64 characters.
- `phone` string or null, required. Null when WhatsApp withheld the number and only a user id is known.
- `wa_user_id` string or null, required. The Business-Scoped User ID, when WhatsApp gave one.
- `username` string or null, required. The WhatsApp username, without `@`.
- `name` string or null, required.
- `note` string or null, required. The contact's note, as the inbox shows it.
- `automation_note` string or null, required. A note kept for automations, separate from `note`.
- `labels` array of object, required.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `conversations` array of object, required. One per number the person has talked to, among the numbers this key may use.
- `id` string, required. At most 64 characters.
- `number_id` string, required. At most 64 characters.
- `follow_ups` string, required. The inbox's Follow up switch. `off`: the AI never follows up with this person, on any number, until it is switched back on. `on` does not mean a follow-up is coming: that also depends on the bot's follow-up settings and the conversation's AI status. One of: `"on"`, `"off"`.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `contact_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X PATCH 'https://api.whatsable.app/v1/contacts/{id}' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{
"note": "Prefers morning calls"
}'
```
Source: /api-reference/v1/contacts/update-contact
# Add a label to a contact
`POST https://api.whatsable.app/v1/contacts/{id}/labels`
Required scope: `contacts:write`.
Adds a label to a contact. If the contact already has the label, nothing changes and the answer is 200.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The contact id. At most 64 characters.
## Request body
`application/json`, required.
- `label` string, required. A label id, or a label's exact name (compared ignoring case and accents). An unknown label is a 404; none is created. At most 128 characters.
## Responses
### 200
The contact with its labels.
- `object` `"contact"`, required.
- `id` string, required. At most 64 characters.
- `phone` string or null, required. Null when WhatsApp withheld the number and only a user id is known.
- `wa_user_id` string or null, required. The Business-Scoped User ID, when WhatsApp gave one.
- `username` string or null, required. The WhatsApp username, without `@`.
- `name` string or null, required.
- `note` string or null, required. The contact's note, as the inbox shows it.
- `automation_note` string or null, required. A note kept for automations, separate from `note`.
- `labels` array of object, required.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `conversations` array of object, required. One per number the person has talked to, among the numbers this key may use.
- `id` string, required. At most 64 characters.
- `number_id` string, required. At most 64 characters.
- `follow_ups` string, required. The inbox's Follow up switch. `off`: the AI never follows up with this person, on any number, until it is switched back on. `on` does not mean a follow-up is coming: that also depends on the bot's follow-up settings and the conversation's AI status. One of: `"on"`, `"off"`.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `contact_not_found`, `label_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X POST 'https://api.whatsable.app/v1/contacts/{id}/labels' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{
"label": "VIP"
}'
```
Source: /api-reference/v1/contacts/add-contact-label
# Remove a label from a contact
`DELETE https://api.whatsable.app/v1/contacts/{id}/labels/{label_id}`
Required scope: `contacts:write`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The contact id. At most 64 characters.
- `label_id` (path) string, required. The label id. At most 64 characters.
## Responses
### 200
The contact with its labels.
- `object` `"contact"`, required.
- `id` string, required. At most 64 characters.
- `phone` string or null, required. Null when WhatsApp withheld the number and only a user id is known.
- `wa_user_id` string or null, required. The Business-Scoped User ID, when WhatsApp gave one.
- `username` string or null, required. The WhatsApp username, without `@`.
- `name` string or null, required.
- `note` string or null, required. The contact's note, as the inbox shows it.
- `automation_note` string or null, required. A note kept for automations, separate from `note`.
- `labels` array of object, required.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `conversations` array of object, required. One per number the person has talked to, among the numbers this key may use.
- `id` string, required. At most 64 characters.
- `number_id` string, required. At most 64 characters.
- `follow_ups` string, required. The inbox's Follow up switch. `off`: the AI never follows up with this person, on any number, until it is switched back on. `on` does not mean a follow-up is coming: that also depends on the bot's follow-up settings and the conversation's AI status. One of: `"on"`, `"off"`.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `contact_not_found`, `label_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X DELETE 'https://api.whatsable.app/v1/contacts/{id}/labels/{label_id}' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/contacts/remove-contact-label
# List labels
`GET https://api.whatsable.app/v1/labels`
Required scope: `contacts:read`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `limit` (query) integer, optional. How many items to return, 1 to 100. Minimum 1. Maximum 100. Default `25`.
- `cursor` (query) string, optional. The `next_cursor` of the previous page. An expired or malformed cursor answers `400 invalid_cursor`. At most 512 characters.
## Responses
### 200
A page of labels, newest first.
- `object` `"list"`, required.
- `data` array of object, required.
- `object` `"label"`, required.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `color` string, required. One of six palette slots the dashboard draws. One of: `"label-1"`, `"label-2"`, `"label-3"`, `"label-4"`, `"label-5"`, `"label-6"`.
- `description` string or null, required.
- `keywords` array of string, required. Words that apply the label automatically to an inbound message, stored normalized.
- `number_ids` array of string, required. The numbers the label is limited to. Empty means every number.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
- `has_more` boolean, required. True when another page follows this one.
- `next_cursor` string or null, required. Pass as `cursor` to read the next page. Null on the last page. Valid for 24 hours.
### 400
invalid_request: `invalid_cursor`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/labels' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/labels/list-labels
# Create a label
`POST https://api.whatsable.app/v1/labels`
Required scope: `labels:write`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `Idempotency-Key` (header) string, optional. Any string up to 255 characters. A repeat with the same key and body answers the stored response; with another body, `409 idempotency_key_reused`. At most 255 characters.
## Request body
`application/json`, required.
- `name` string, required. At most 60 characters.
- `color` string, required. One of: `"label-1"`, `"label-2"`, `"label-3"`, `"label-4"`, `"label-5"`, `"label-6"`.
- `description` string, optional. At most 280 characters.
- `keywords` array of string, optional. At most 20 items.
- `number_ids` array of string, optional. Limit the label to these numbers. Empty or absent means every number. At most 50 items.
## Responses
### 201
The label.
- `object` `"label"`, required.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `color` string, required. One of six palette slots the dashboard draws. One of: `"label-1"`, `"label-2"`, `"label-3"`, `"label-4"`, `"label-5"`, `"label-6"`.
- `description` string or null, required.
- `keywords` array of string, required. Words that apply the label automatically to an inbound message, stored normalized.
- `number_ids` array of string, required. The numbers the label is limited to. Empty means every number.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `number_not_allowed_for_key`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `number_not_found`.
Body: the error body, under "Error body" below.
### 409
conflict: `idempotency_key_reused`, `idempotency_request_in_progress`, `label_name_conflict`.
Body: the error body, under "Error body" below.
### 422
unprocessable: `label_limit_reached`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### 503
unavailable: `service_unavailable`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X POST 'https://api.whatsable.app/v1/labels' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{
"name": "VIP",
"color": "label-2",
"keywords": [
"vip"
]
}'
```
Source: /api-reference/v1/labels/create-label
# Rename or change a label
`PATCH https://api.whatsable.app/v1/labels/{id}`
Required scope: `labels:write`.
Changes a label. A label limited to some numbers can be changed only by a key that may use all of them. An empty `number_ids` makes the label available on every number, so it needs a key that may use every number.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The label id. At most 64 characters.
## Request body
`application/json`, required.
- `name` string, optional. At most 60 characters.
- `color` string, optional. One of: `"label-1"`, `"label-2"`, `"label-3"`, `"label-4"`, `"label-5"`, `"label-6"`.
- `description` string or null, optional. At most 280 characters.
- `keywords` array of string, optional. At most 20 items.
- `number_ids` array of string, optional. Limit the label to these numbers. Left out keeps the current numbers; empty means every number. At most 50 items.
## Responses
### 200
The updated label.
- `object` `"label"`, required.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `color` string, required. One of six palette slots the dashboard draws. One of: `"label-1"`, `"label-2"`, `"label-3"`, `"label-4"`, `"label-5"`, `"label-6"`.
- `description` string or null, required.
- `keywords` array of string, required. Words that apply the label automatically to an inbound message, stored normalized.
- `number_ids` array of string, required. The numbers the label is limited to. Empty means every number.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `number_not_allowed_for_key`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `label_not_found`, `number_not_found`.
Body: the error body, under "Error body" below.
### 409
conflict: `label_name_conflict`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X PATCH 'https://api.whatsable.app/v1/labels/{id}' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{
"name": "Gold"
}'
```
Source: /api-reference/v1/labels/update-label
# Delete a label
`DELETE https://api.whatsable.app/v1/labels/{id}`
Required scope: `labels:write`.
Deletes a label and removes it from every contact. A label limited to some numbers can be deleted only by a key that may use all of them.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The label id. At most 64 characters.
## Responses
### 200
The label was deleted.
- `object` `"label"`, required.
- `id` string, required. At most 64 characters.
- `deleted` `true`, required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `number_not_allowed_for_key`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `label_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X DELETE 'https://api.whatsable.app/v1/labels/{id}' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/labels/delete-label
# List broadcasts
`GET https://api.whatsable.app/v1/broadcasts`
Required scope: `broadcasts:read`.
Lists the broadcasts on the numbers this key may use, newest first. The counts are as of the last send.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `limit` (query) integer, optional. How many items to return, 1 to 100. Minimum 1. Maximum 100. Default `25`.
- `cursor` (query) string, optional. The `next_cursor` of the previous page. An expired or malformed cursor answers `400 invalid_cursor`. At most 512 characters.
- `number_id` (query) string, optional. At most 64 characters.
- `status` (query) string, optional. One of: `"scheduled"`, `"running"`, `"paused"`, `"completed"`, `"cancelled"`.
## Responses
### 200
A page of broadcasts, newest first.
- `object` `"list"`, required.
- `data` array of object, required.
- `object` `"broadcast"`, required.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `number_id` string, required. The business number it sends from. At most 64 characters.
- `template` object, required. The template every recipient gets.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `language` string, required.
- `status` string, required. `scheduled`, `running`, then `completed` when each recipient is sent, failed or skipped. `paused`: stopped early, also for a lapsed subscription. `cancelled`: after a cancel. One of: `"scheduled"`, `"running"`, `"paused"`, `"completed"`, `"cancelled"`.
- `mode` string, required. How it is paced: `regular` (fixed messages a minute), `smart` (batches while the read rate holds its target) or `risk` (as fast as the number may send). One of: `"regular"`, `"smart"`, `"risk"`.
- `scheduled_at` string (date-time) or null, required. When it starts, or started: the `scheduled_at` it was created with, or the moment it was created for one started at once. Null when none was recorded.
- `time_zone` string or null, required. The IANA time zone the creator gave, kept for display.
- `label_ids` array of string, required. Labels added to each recipient's contact once its message is sent.
- `recipient_count` integer, required. Recipients, each phone counted once. Minimum 0.
- `sent_count` integer, required. Minimum 0.
- `failed_count` integer, required. Minimum 0.
- `read_count` integer, required. Minimum 0.
- `pending_count` integer or null, required. Recipients not sent yet. Counted on `GET /v1/broadcasts/{id}`; null in a list. Minimum 0.
- `started_at` string (date-time) or null, required.
- `completed_at` string (date-time) or null, required.
- `created_at` string (date-time), required.
- `has_more` boolean, required. True when another page follows this one.
- `next_cursor` string or null, required. Pass as `cursor` to read the next page. Null on the last page. Valid for 24 hours.
### 400
invalid_request: `invalid_cursor`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/broadcasts' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/broadcasts/list-broadcasts
# Create and launch a broadcast
`POST https://api.whatsable.app/v1/broadcasts`
Required scope: `broadcasts:write`.
Creates a broadcast and starts it now, or at `scheduled_at`. There is no draft step.
> **A refused request creates nothing.** WhatsAble checks the number, the template, the labels, the plan, the media header link and the variables of every recipient first.
A send to one recipient can still fail later. Read each result with `GET /v1/broadcasts/{id}/recipients`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `Idempotency-Key` (header) string, optional. Any string up to 255 characters. A repeat with the same key and body answers the stored response; with another body, `409 idempotency_key_reused`. At most 255 characters.
## Request body
`application/json`, required.
- `name` string, optional. Shown in the dashboard. Defaults to the template's name and the time of creation. At most 200 characters.
- `from` string, optional. The number to send from, by id or E.164 phone. Absent, the key's default number sends. It must be `active`. At most 64 characters.
- `template` object, required. An approved template of the sending number's WhatsApp Business Account. Not an authentication template, and not one with a coupon-code button.
- `id` string, optional. The template id. Or send `name` and `language`. At most 64 characters.
- `name` string, optional. Resolved within the sending number's WhatsApp Business Account. At most 512 characters.
- `language` string, optional. Required with `name`. At most 15 characters.
- `variables` object, optional. Values for all recipients, keyed by `variables[].key`. A recipient's own `variables` win. Left out, a media header sends the file the template was approved with.
- `recipients` array of object, required. 1 to 10,000 recipients, in a body of at most 2 MB. A phone listed twice gets one message, with its first entry's values. Every entry is checked. At most 10000 items.
- `to` string, required. A phone number in E.164. The `+`, spaces and dashes may be omitted; the canonical `+digits` form is what is stored and returned.
- `variables` object, optional. This recipient's text values, keyed by `variables[].key`. They win over the broadcast's `variables`. A media header is the same for every recipient.
- `scheduled_at` string (date-time), optional. When to start, as an RFC 3339 instant with its offset. Absent, or up to 60 seconds in the past, the broadcast starts now. An older instant is refused.
- `time_zone` string, optional. An IANA time zone name, kept for display only. `scheduled_at` is never read in it. At most 64 characters.
- `labels` array of string, optional. Labels, by id or exact name, added to each recipient's contact once its message is sent. Each must be available on the sending number. At most 1000 items.
- `mode` string, optional. `regular`: `batch_size` messages a minute. `smart`: batches of `batch_size`, the next only while the read rate holds `target_read_rate`. `risk`: as fast as the number may. One of: `"regular"`, `"smart"`, `"risk"`. Default `"regular"`.
- `batch_size` integer, optional. `regular`: messages a minute, 1 to 60, default 3. `smart`: the batch, 1 to 20, default 5. Not for `risk`. Minimum 1. Maximum 60.
- `target_read_rate` number, optional. `smart` only: the share of sent messages that must be read before the next batch, 0.1 to 1, default 0.3. Minimum 0.1. Maximum 1.
## Responses
### 201
The broadcast is `scheduled` or `running`.
- `object` `"broadcast"`, required.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `number_id` string, required. The business number it sends from. At most 64 characters.
- `template` object, required. The template every recipient gets.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `language` string, required.
- `status` string, required. `scheduled`, `running`, then `completed` when each recipient is sent, failed or skipped. `paused`: stopped early, also for a lapsed subscription. `cancelled`: after a cancel. One of: `"scheduled"`, `"running"`, `"paused"`, `"completed"`, `"cancelled"`.
- `mode` string, required. How it is paced: `regular` (fixed messages a minute), `smart` (batches while the read rate holds its target) or `risk` (as fast as the number may send). One of: `"regular"`, `"smart"`, `"risk"`.
- `scheduled_at` string (date-time) or null, required. When it starts, or started: the `scheduled_at` it was created with, or the moment it was created for one started at once. Null when none was recorded.
- `time_zone` string or null, required. The IANA time zone the creator gave, kept for display.
- `label_ids` array of string, required. Labels added to each recipient's contact once its message is sent.
- `recipient_count` integer, required. Recipients, each phone counted once. Minimum 0.
- `sent_count` integer, required. Minimum 0.
- `failed_count` integer, required. Minimum 0.
- `read_count` integer, required. Minimum 0.
- `pending_count` integer or null, required. Recipients not sent yet. Counted on `GET /v1/broadcasts/{id}`; null in a list. Minimum 0.
- `started_at` string (date-time) or null, required.
- `completed_at` string (date-time) or null, required.
- `created_at` string (date-time), required.
### 400
invalid_request: `media_too_large`, `template_variable_missing`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `number_not_allowed_for_key`, `number_over_plan`, `organization_not_live`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `label_not_found`, `number_not_found`, `template_not_found`.
Body: the error body, under "Error body" below.
### 409
conflict: `idempotency_key_reused`, `idempotency_request_in_progress`.
Body: the error body, under "Error body" below.
### 422
unprocessable: `label_not_available_on_number`, `number_not_sending`, `template_not_approved`, `template_not_supported`, `template_wrong_waba`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### 503
unavailable: `service_unavailable`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X POST 'https://api.whatsable.app/v1/broadcasts' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{
"from": "cm2v8a1b20002qz8h9i0j1k2l",
"template": {
"name": "october_promo",
"language": "en_US"
},
"variables": {
"1": "friend"
},
"recipients": [
{
"to": "+5491155550000",
"variables": {
"1": "Ana"
}
},
{
"to": "+5491155550001"
}
],
"labels": [
"October promo"
],
"scheduled_at": "2026-10-22T09:00:00-03:00",
"time_zone": "America/Argentina/Buenos_Aires"
}'
```
Source: /api-reference/v1/broadcasts/create-broadcast
# Read a broadcast and its progress
`GET https://api.whatsable.app/v1/broadcasts/{id}`
Required scope: `broadcasts:read`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The broadcast id. At most 64 characters.
## Responses
### 200
The broadcast, with `pending_count`.
- `object` `"broadcast"`, required.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `number_id` string, required. The business number it sends from. At most 64 characters.
- `template` object, required. The template every recipient gets.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `language` string, required.
- `status` string, required. `scheduled`, `running`, then `completed` when each recipient is sent, failed or skipped. `paused`: stopped early, also for a lapsed subscription. `cancelled`: after a cancel. One of: `"scheduled"`, `"running"`, `"paused"`, `"completed"`, `"cancelled"`.
- `mode` string, required. How it is paced: `regular` (fixed messages a minute), `smart` (batches while the read rate holds its target) or `risk` (as fast as the number may send). One of: `"regular"`, `"smart"`, `"risk"`.
- `scheduled_at` string (date-time) or null, required. When it starts, or started: the `scheduled_at` it was created with, or the moment it was created for one started at once. Null when none was recorded.
- `time_zone` string or null, required. The IANA time zone the creator gave, kept for display.
- `label_ids` array of string, required. Labels added to each recipient's contact once its message is sent.
- `recipient_count` integer, required. Recipients, each phone counted once. Minimum 0.
- `sent_count` integer, required. Minimum 0.
- `failed_count` integer, required. Minimum 0.
- `read_count` integer, required. Minimum 0.
- `pending_count` integer or null, required. Recipients not sent yet. Counted on `GET /v1/broadcasts/{id}`; null in a list. Minimum 0.
- `started_at` string (date-time) or null, required.
- `completed_at` string (date-time) or null, required.
- `created_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `broadcast_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/broadcasts/{id}' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/broadcasts/get-broadcast
# Pause or resume a broadcast
`PATCH https://api.whatsable.app/v1/broadcasts/{id}`
Required scope: `broadcasts:write`.
`paused` pauses a running broadcast; `running` resumes a paused one, from where it stopped. Asking for the status it already has answers the broadcast unchanged. At most one batch that was already picked still goes out after a pause.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The broadcast id. At most 64 characters.
## Request body
`application/json`, required.
- `status` string, required. `paused` stops a running broadcast where it is; `running` resumes a paused one from there. One of: `"paused"`, `"running"`.
## Responses
### 200
The broadcast, with its new status.
- `object` `"broadcast"`, required.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `number_id` string, required. The business number it sends from. At most 64 characters.
- `template` object, required. The template every recipient gets.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `language` string, required.
- `status` string, required. `scheduled`, `running`, then `completed` when each recipient is sent, failed or skipped. `paused`: stopped early, also for a lapsed subscription. `cancelled`: after a cancel. One of: `"scheduled"`, `"running"`, `"paused"`, `"completed"`, `"cancelled"`.
- `mode` string, required. How it is paced: `regular` (fixed messages a minute), `smart` (batches while the read rate holds its target) or `risk` (as fast as the number may send). One of: `"regular"`, `"smart"`, `"risk"`.
- `scheduled_at` string (date-time) or null, required. When it starts, or started: the `scheduled_at` it was created with, or the moment it was created for one started at once. Null when none was recorded.
- `time_zone` string or null, required. The IANA time zone the creator gave, kept for display.
- `label_ids` array of string, required. Labels added to each recipient's contact once its message is sent.
- `recipient_count` integer, required. Recipients, each phone counted once. Minimum 0.
- `sent_count` integer, required. Minimum 0.
- `failed_count` integer, required. Minimum 0.
- `read_count` integer, required. Minimum 0.
- `pending_count` integer or null, required. Recipients not sent yet. Counted on `GET /v1/broadcasts/{id}`; null in a list. Minimum 0.
- `started_at` string (date-time) or null, required.
- `completed_at` string (date-time) or null, required.
- `created_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `broadcast_not_found`.
Body: the error body, under "Error body" below.
### 422
unprocessable: `broadcast_not_pausable`, `broadcast_not_resumable`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X PATCH 'https://api.whatsable.app/v1/broadcasts/{id}' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{
"status": "paused"
}'
```
Source: /api-reference/v1/broadcasts/update-broadcast
# List a broadcast's recipients and how each send ended
`GET https://api.whatsable.app/v1/broadcasts/{id}/recipients`
Required scope: `broadcasts:read`.
Lists the recipients of a broadcast and the result of each send, in the order of the request that created the broadcast.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The broadcast id. At most 64 characters.
- `limit` (query) integer, optional. How many items to return, 1 to 100. Minimum 1. Maximum 100. Default `25`.
- `cursor` (query) string, optional. The `next_cursor` of the previous page. An expired or malformed cursor answers `400 invalid_cursor`. At most 512 characters.
## Responses
### 200
A page of recipients, in order.
- `object` `"list"`, required.
- `data` array of object, required.
- `object` `"broadcast_recipient"`, required.
- `id` string, required. At most 64 characters.
- `to` string, required. A phone number in E.164 with its leading `+`.
- `status` string, required. `pending` until sent (also during the send), then `sent` or `failed`. `skipped`: will not be sent. After a cancel, an unpicked recipient stays `pending`, never sent. One of: `"pending"`, `"sent"`, `"failed"`, `"skipped"`.
- `message_id` string or null, required. The Message sent to this recipient. Null until one is recorded. At most 64 characters.
- `error` object or null, required. Why the send failed, as on a Message. Null unless `status` is `failed`.
- `code` string, required. `meta_` when WhatsApp refused it with a code, `timeout` when WhatsApp did not answer (it may have gone out), else `send_failed`. New values can appear.
- `meta_code` integer or null, required. Meta's numeric error code, or null when Meta gave none. Minimum -9007199254740991.
- `title` string, required.
- `message` string, required. What happened, in Whatsable's words. Meta's own text is never copied, because it can name the recipient.
- `how_to_fix` string, required.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. True when a later retry, with a new Idempotency-Key, may succeed.
- `docs_url` string, required.
- `fix_url` string or null, optional. Where to fix a payment failure: Meta's payment settings for this WhatsApp Business Account, or the WhatsAble guide that shows the click path when the account id is unknown. Null for every other failure.
- `support_url` string or null, optional. A mail link to WhatsAble support, with the numeric code and the WhatsApp Business Account id filled in. Set only on a payment failure. Null otherwise. It never names the recipient.
- `sent_at` string (date-time) or null, required.
- `has_more` boolean, required. True when another page follows this one.
- `next_cursor` string or null, required. Pass as `cursor` to read the next page. Null on the last page. Valid for 24 hours.
### 400
invalid_request: `invalid_cursor`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `broadcast_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/broadcasts/{id}/recipients' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/broadcasts/list-broadcast-recipients
# Cancel a broadcast
`POST https://api.whatsable.app/v1/broadcasts/{id}/cancel`
Required scope: `broadcasts:write`.
Cancels a scheduled, running or paused broadcast. A running broadcast is paused and cancelled in this one call. At most one batch that was already picked still goes out.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The broadcast id. At most 64 characters.
## Responses
### 200
The cancelled broadcast.
- `object` `"broadcast"`, required.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `number_id` string, required. The business number it sends from. At most 64 characters.
- `template` object, required. The template every recipient gets.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `language` string, required.
- `status` string, required. `scheduled`, `running`, then `completed` when each recipient is sent, failed or skipped. `paused`: stopped early, also for a lapsed subscription. `cancelled`: after a cancel. One of: `"scheduled"`, `"running"`, `"paused"`, `"completed"`, `"cancelled"`.
- `mode` string, required. How it is paced: `regular` (fixed messages a minute), `smart` (batches while the read rate holds its target) or `risk` (as fast as the number may send). One of: `"regular"`, `"smart"`, `"risk"`.
- `scheduled_at` string (date-time) or null, required. When it starts, or started: the `scheduled_at` it was created with, or the moment it was created for one started at once. Null when none was recorded.
- `time_zone` string or null, required. The IANA time zone the creator gave, kept for display.
- `label_ids` array of string, required. Labels added to each recipient's contact once its message is sent.
- `recipient_count` integer, required. Recipients, each phone counted once. Minimum 0.
- `sent_count` integer, required. Minimum 0.
- `failed_count` integer, required. Minimum 0.
- `read_count` integer, required. Minimum 0.
- `pending_count` integer or null, required. Recipients not sent yet. Counted on `GET /v1/broadcasts/{id}`; null in a list. Minimum 0.
- `started_at` string (date-time) or null, required.
- `completed_at` string (date-time) or null, required.
- `created_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `broadcast_not_found`.
Body: the error body, under "Error body" below.
### 422
unprocessable: `broadcast_not_cancellable`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X POST 'https://api.whatsable.app/v1/broadcasts/{id}/cancel' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/broadcasts/cancel-broadcast
# List AI bots
`GET https://api.whatsable.app/v1/ai-bots`
Required scope: `ai:read`.
Lists every AI bot of the organization with its full configuration, newest first. The list is not limited to the numbers of the key.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `limit` (query) integer, optional. How many items to return, 1 to 100. Minimum 1. Maximum 100. Default `25`.
- `cursor` (query) string, optional. The `next_cursor` of the previous page. An expired or malformed cursor answers `400 invalid_cursor`. At most 512 characters.
## Responses
### 200
A page of bots, newest first.
- `object` `"list"`, required.
- `data` array of object, required.
- `object` `"ai_bot"`, required.
- `id` string, required. At most 64 characters.
- `name` string, required. Shown in the dashboard. Unique in the organization, ignoring case and accents.
- `mission` string, required. What the bot is for. Part of its prompt on every turn.
- `tone` string, required. How it speaks. Part of its prompt on every turn.
- `instructions` string, required. The organization's own instructions to the bot. Part of its prompt on every turn.
- `knowledge` string or null, required. Facts the bot may state, pasted as text. Uploaded documents are knowledge files instead.
- `status` string, required. `draft` (answers no one), `active` or `archived`. Only an `archived` bot can be deleted. One of: `"draft"`, `"active"`, `"archived"`.
- `time_zone` string, required. The IANA time zone the bot tells time in, and that quiet hours are read in.
- `debounce_seconds` integer, required. How long the bot waits after a customer's message for more before it answers. Minimum -9007199254740991.
- `reply_message_mode` string, required. `single`: one WhatsApp message per reply. `multiple`: as many as the bot chooses. One of: `"single"`, `"multiple"`.
- `handoff_keywords` array of string, required. Words in a customer's message that hand the conversation to a person.
- `handoff_instructions` string or null, required. When the bot should hand the conversation to a person. Read by the bot, never sent to the customer.
- `notify_on_handoff` boolean, required. Stored for a team notification on handoff, which is not sent yet.
- `flag_unverified_figures` boolean, required. Whether a message the bot sends is flagged in the inbox for a person to check when it states a price, amount or date that nothing in its sources contains. The message is sent either way. `false` stops the flags; messages already flagged keep theirs.
- `resume_policy` string, required. When the bot answers again after a person took over: `never`, `new_session` (the customer writes after the window closed) or `timer` (after `resume_after_seconds`). One of: `"never"`, `"new_session"`, `"timer"`.
- `resume_after_seconds` integer or null, required. With `resume_policy: "timer"`, how long after a person took over the bot answers again. Required for `timer`. Minimum -9007199254740991.
- `label_permissions` object, required. Which labels the bot may add to or remove from a contact.
- `add_enabled` boolean, required. Whether the bot may add labels.
- `remove_enabled` boolean, required. Whether the bot may remove labels.
- `add_max_per_turn` integer or null, required. Labels it may add in one reply. Null for the platform maximum. Minimum -9007199254740991.
- `remove_max_per_turn` integer or null, required. Labels it may remove in one reply. Null for the platform maximum. Minimum -9007199254740991.
- `instructions` string or null, required. When the bot should label a contact. Read by the bot.
- `grant_mode` string, required. `all`: every label of the organization, including labels created later. `listed`: only `allowed_label_ids`. One of: `"all"`, `"listed"`.
- `allowed_label_ids` array of string, required. The labels it may use when `grant_mode` is `listed`. Ignored under `all`.
- `proactive` object, required. Follow-ups the bot sends on its own when a customer goes quiet.
- `enabled` boolean, required. Whether the bot follows up at all.
- `instructions` string or null, required. How the bot should follow up. Read by the bot.
- `first_delay_minutes` integer, required. Minutes before the first follow-up of a sequence. Must be less than `window_minutes`. Minimum -9007199254740991.
- `window_minutes` integer, required. How long a follow-up sequence may run, in minutes. Minimum -9007199254740991.
- `max_follow_ups` integer, required. Follow-ups in one sequence, at most. Minimum -9007199254740991.
- `cooldown_minutes` integer, required. Minutes to wait after a follow-up before the next one in the same conversation. Minimum -9007199254740991.
- `distribution` string, required. How the follow-ups spread over the window: `even`, `front_loaded` or `back_loaded`. One of: `"even"`, `"front_loaded"`, `"back_loaded"`.
- `quiet_start_hour` integer or null, required. The local hour (0-23) quiet hours start. Quiet hours are off when either bound is null. Minimum -9007199254740991.
- `quiet_end_hour` integer or null, required. The local hour (0-23) quiet hours end. Minimum -9007199254740991.
- `quiet_days` array of integer, required. Weekdays with no follow-ups, 0 (Sunday) to 6 (Saturday). Not all seven: switch `enabled` off instead.
- `after_broadcast` boolean, required. Whether a broadcast message starts a follow-up sequence.
- `after_operator_reply` boolean, required. Whether a person's reply in the inbox starts a follow-up sequence.
- `template_authoring` boolean, required. Whether the bot may propose a new template to Meta, to follow up outside the 24-hour window.
- `template_cap_per_week` integer, required. Templates the bot may propose per week. Minimum -9007199254740991.
- `number_ids` array of string, required. The numbers this key may use that answer with this bot by default.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required. When its configuration last changed. The `ETag` header carries the same version.
- `has_more` boolean, required. True when another page follows this one.
- `next_cursor` string or null, required. Pass as `cursor` to read the next page. Null on the last page. Valid for 24 hours.
### 400
invalid_request: `invalid_cursor`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/ai-bots' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/ai-bots/list-ai-bots
# Create an AI bot
`POST https://api.whatsable.app/v1/ai-bots`
Required scope: `ai:configure`.
Creates an AI bot. The bot starts as a `draft`, which answers no one, unless you set `status`. It answers on a number only after `PUT /v1/numbers/{id}/ai-bot` assigns it.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `Idempotency-Key` (header) string, optional. Any string up to 255 characters. A repeat with the same key and body answers the stored response; with another body, `409 idempotency_key_reused`. At most 255 characters.
## Request body
`application/json`, required.
- `name` string, required. Shown in the dashboard. Unique in the organization, ignoring case and accents. At most 60 characters.
- `mission` string, required. What the bot is for. Part of its prompt on every turn. At most 20000 characters.
- `tone` string, required. How it speaks. Part of its prompt on every turn. At most 300 characters.
- `instructions` string, required. The organization's own instructions to the bot. Part of its prompt on every turn. At most 80000 characters.
- `knowledge` string or null, optional. Facts the bot may state, pasted as text. Uploaded documents are knowledge files instead. At most 200000 characters.
- `status` string, optional. `draft` (answers no one), `active` or `archived`. Only an `archived` bot can be deleted. One of: `"draft"`, `"active"`, `"archived"`.
- `time_zone` string, optional. The IANA time zone the bot tells time in, and that quiet hours are read in. At most 64 characters.
- `debounce_seconds` integer, optional. How long the bot waits after a customer's message for more before it answers. Minimum 0. Maximum 300.
- `reply_message_mode` string, optional. `single`: one WhatsApp message per reply. `multiple`: as many as the bot chooses. One of: `"single"`, `"multiple"`.
- `handoff_keywords` array of string, optional. Words in a customer's message that hand the conversation to a person. At most 25 items.
- `handoff_instructions` string or null, optional. When the bot should hand the conversation to a person. Read by the bot, never sent to the customer. At most 10000 characters.
- `notify_on_handoff` boolean, optional. Stored for a team notification on handoff, which is not sent yet.
- `flag_unverified_figures` boolean, optional. Whether a message the bot sends is flagged in the inbox for a person to check when it states a price, amount or date that nothing in its sources contains. The message is sent either way. `false` stops the flags; messages already flagged keep theirs.
- `resume_policy` string, optional. When the bot answers again after a person took over: `never`, `new_session` (the customer writes after the window closed) or `timer` (after `resume_after_seconds`). One of: `"never"`, `"new_session"`, `"timer"`.
- `resume_after_seconds` integer or null, optional. With `resume_policy: "timer"`, how long after a person took over the bot answers again. Required for `timer`. Minimum 60. Maximum 604800.
- `label_permissions` object, optional. Which labels the bot may add to or remove from a contact. Fields left out are kept.
- `add_enabled` boolean, optional. Whether the bot may add labels.
- `remove_enabled` boolean, optional. Whether the bot may remove labels.
- `add_max_per_turn` integer or null, optional. Labels it may add in one reply. Null for the platform maximum. Minimum 1. Maximum 5.
- `remove_max_per_turn` integer or null, optional. Labels it may remove in one reply. Null for the platform maximum. Minimum 1. Maximum 5.
- `instructions` string or null, optional. When the bot should label a contact. Read by the bot. At most 10000 characters.
- `grant_mode` string, optional. `all`: every label of the organization, including labels created later. `listed`: only `allowed_label_ids`. One of: `"all"`, `"listed"`.
- `allowed_label_ids` array of string, optional. The labels it may use when `grant_mode` is `listed`. Ignored under `all`. At most 20 items.
- `proactive` object, optional. Follow-ups the bot sends on its own when a customer goes quiet. Fields left out are kept.
- `enabled` boolean, optional. Whether the bot follows up at all.
- `instructions` string or null, optional. How the bot should follow up. Read by the bot. At most 12000 characters.
- `first_delay_minutes` integer, optional. Minutes before the first follow-up of a sequence. Must be less than `window_minutes`. Minimum 1. Maximum 43200.
- `window_minutes` integer, optional. How long a follow-up sequence may run, in minutes. Minimum 2. Maximum 129600.
- `max_follow_ups` integer, optional. Follow-ups in one sequence, at most. Minimum 1. Maximum 15.
- `cooldown_minutes` integer, optional. Minutes to wait after a follow-up before the next one in the same conversation. Minimum 0. Maximum 43200.
- `distribution` string, optional. How the follow-ups spread over the window: `even`, `front_loaded` or `back_loaded`. One of: `"even"`, `"front_loaded"`, `"back_loaded"`.
- `quiet_start_hour` integer or null, optional. The local hour (0-23) quiet hours start. Quiet hours are off when either bound is null. Minimum 0. Maximum 23.
- `quiet_end_hour` integer or null, optional. The local hour (0-23) quiet hours end. Minimum 0. Maximum 23.
- `quiet_days` array of integer, optional. Weekdays with no follow-ups, 0 (Sunday) to 6 (Saturday). Not all seven: switch `enabled` off instead. At most 7 items.
- `after_broadcast` boolean, optional. Whether a broadcast message starts a follow-up sequence.
- `after_operator_reply` boolean, optional. Whether a person's reply in the inbox starts a follow-up sequence.
- `template_authoring` boolean, optional. Whether the bot may propose a new template to Meta, to follow up outside the 24-hour window.
- `template_cap_per_week` integer, optional. Templates the bot may propose per week. Minimum 0. Maximum 20.
## Responses
### 201
The bot.
- `object` `"ai_bot"`, required.
- `id` string, required. At most 64 characters.
- `name` string, required. Shown in the dashboard. Unique in the organization, ignoring case and accents.
- `mission` string, required. What the bot is for. Part of its prompt on every turn.
- `tone` string, required. How it speaks. Part of its prompt on every turn.
- `instructions` string, required. The organization's own instructions to the bot. Part of its prompt on every turn.
- `knowledge` string or null, required. Facts the bot may state, pasted as text. Uploaded documents are knowledge files instead.
- `status` string, required. `draft` (answers no one), `active` or `archived`. Only an `archived` bot can be deleted. One of: `"draft"`, `"active"`, `"archived"`.
- `time_zone` string, required. The IANA time zone the bot tells time in, and that quiet hours are read in.
- `debounce_seconds` integer, required. How long the bot waits after a customer's message for more before it answers. Minimum -9007199254740991.
- `reply_message_mode` string, required. `single`: one WhatsApp message per reply. `multiple`: as many as the bot chooses. One of: `"single"`, `"multiple"`.
- `handoff_keywords` array of string, required. Words in a customer's message that hand the conversation to a person.
- `handoff_instructions` string or null, required. When the bot should hand the conversation to a person. Read by the bot, never sent to the customer.
- `notify_on_handoff` boolean, required. Stored for a team notification on handoff, which is not sent yet.
- `flag_unverified_figures` boolean, required. Whether a message the bot sends is flagged in the inbox for a person to check when it states a price, amount or date that nothing in its sources contains. The message is sent either way. `false` stops the flags; messages already flagged keep theirs.
- `resume_policy` string, required. When the bot answers again after a person took over: `never`, `new_session` (the customer writes after the window closed) or `timer` (after `resume_after_seconds`). One of: `"never"`, `"new_session"`, `"timer"`.
- `resume_after_seconds` integer or null, required. With `resume_policy: "timer"`, how long after a person took over the bot answers again. Required for `timer`. Minimum -9007199254740991.
- `label_permissions` object, required. Which labels the bot may add to or remove from a contact.
- `add_enabled` boolean, required. Whether the bot may add labels.
- `remove_enabled` boolean, required. Whether the bot may remove labels.
- `add_max_per_turn` integer or null, required. Labels it may add in one reply. Null for the platform maximum. Minimum -9007199254740991.
- `remove_max_per_turn` integer or null, required. Labels it may remove in one reply. Null for the platform maximum. Minimum -9007199254740991.
- `instructions` string or null, required. When the bot should label a contact. Read by the bot.
- `grant_mode` string, required. `all`: every label of the organization, including labels created later. `listed`: only `allowed_label_ids`. One of: `"all"`, `"listed"`.
- `allowed_label_ids` array of string, required. The labels it may use when `grant_mode` is `listed`. Ignored under `all`.
- `proactive` object, required. Follow-ups the bot sends on its own when a customer goes quiet.
- `enabled` boolean, required. Whether the bot follows up at all.
- `instructions` string or null, required. How the bot should follow up. Read by the bot.
- `first_delay_minutes` integer, required. Minutes before the first follow-up of a sequence. Must be less than `window_minutes`. Minimum -9007199254740991.
- `window_minutes` integer, required. How long a follow-up sequence may run, in minutes. Minimum -9007199254740991.
- `max_follow_ups` integer, required. Follow-ups in one sequence, at most. Minimum -9007199254740991.
- `cooldown_minutes` integer, required. Minutes to wait after a follow-up before the next one in the same conversation. Minimum -9007199254740991.
- `distribution` string, required. How the follow-ups spread over the window: `even`, `front_loaded` or `back_loaded`. One of: `"even"`, `"front_loaded"`, `"back_loaded"`.
- `quiet_start_hour` integer or null, required. The local hour (0-23) quiet hours start. Quiet hours are off when either bound is null. Minimum -9007199254740991.
- `quiet_end_hour` integer or null, required. The local hour (0-23) quiet hours end. Minimum -9007199254740991.
- `quiet_days` array of integer, required. Weekdays with no follow-ups, 0 (Sunday) to 6 (Saturday). Not all seven: switch `enabled` off instead.
- `after_broadcast` boolean, required. Whether a broadcast message starts a follow-up sequence.
- `after_operator_reply` boolean, required. Whether a person's reply in the inbox starts a follow-up sequence.
- `template_authoring` boolean, required. Whether the bot may propose a new template to Meta, to follow up outside the 24-hour window.
- `template_cap_per_week` integer, required. Templates the bot may propose per week. Minimum -9007199254740991.
- `number_ids` array of string, required. The numbers this key may use that answer with this bot by default.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required. When its configuration last changed. The `ETag` header carries the same version.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `label_not_found`.
Body: the error body, under "Error body" below.
### 409
conflict: `ai_bot_name_conflict`, `idempotency_key_reused`, `idempotency_request_in_progress`.
Body: the error body, under "Error body" below.
### 422
unprocessable: `ai_bot_limit_reached`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### 503
unavailable: `service_unavailable`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X POST 'https://api.whatsable.app/v1/ai-bots' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{
"name": "Sales",
"mission": "Answer questions about our shoes and help customers order.",
"tone": "Warm and brief.",
"instructions": "Answer in the customer'\''s language. Never promise a delivery date.",
"time_zone": "America/Argentina/Buenos_Aires",
"proactive": {
"enabled": true,
"first_delay_minutes": 120,
"window_minutes": 1440
}
}'
```
Source: /api-reference/v1/ai-bots/create-ai-bot
# Read an AI bot's configuration
`GET https://api.whatsable.app/v1/ai-bots/{id}`
Required scope: `ai:read`.
Returns the configuration of an AI bot. The `ETag` header is this version: send it as `If-Match` on a `PATCH`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The bot id. At most 64 characters.
## Responses
### 200
The bot.
- `object` `"ai_bot"`, required.
- `id` string, required. At most 64 characters.
- `name` string, required. Shown in the dashboard. Unique in the organization, ignoring case and accents.
- `mission` string, required. What the bot is for. Part of its prompt on every turn.
- `tone` string, required. How it speaks. Part of its prompt on every turn.
- `instructions` string, required. The organization's own instructions to the bot. Part of its prompt on every turn.
- `knowledge` string or null, required. Facts the bot may state, pasted as text. Uploaded documents are knowledge files instead.
- `status` string, required. `draft` (answers no one), `active` or `archived`. Only an `archived` bot can be deleted. One of: `"draft"`, `"active"`, `"archived"`.
- `time_zone` string, required. The IANA time zone the bot tells time in, and that quiet hours are read in.
- `debounce_seconds` integer, required. How long the bot waits after a customer's message for more before it answers. Minimum -9007199254740991.
- `reply_message_mode` string, required. `single`: one WhatsApp message per reply. `multiple`: as many as the bot chooses. One of: `"single"`, `"multiple"`.
- `handoff_keywords` array of string, required. Words in a customer's message that hand the conversation to a person.
- `handoff_instructions` string or null, required. When the bot should hand the conversation to a person. Read by the bot, never sent to the customer.
- `notify_on_handoff` boolean, required. Stored for a team notification on handoff, which is not sent yet.
- `flag_unverified_figures` boolean, required. Whether a message the bot sends is flagged in the inbox for a person to check when it states a price, amount or date that nothing in its sources contains. The message is sent either way. `false` stops the flags; messages already flagged keep theirs.
- `resume_policy` string, required. When the bot answers again after a person took over: `never`, `new_session` (the customer writes after the window closed) or `timer` (after `resume_after_seconds`). One of: `"never"`, `"new_session"`, `"timer"`.
- `resume_after_seconds` integer or null, required. With `resume_policy: "timer"`, how long after a person took over the bot answers again. Required for `timer`. Minimum -9007199254740991.
- `label_permissions` object, required. Which labels the bot may add to or remove from a contact.
- `add_enabled` boolean, required. Whether the bot may add labels.
- `remove_enabled` boolean, required. Whether the bot may remove labels.
- `add_max_per_turn` integer or null, required. Labels it may add in one reply. Null for the platform maximum. Minimum -9007199254740991.
- `remove_max_per_turn` integer or null, required. Labels it may remove in one reply. Null for the platform maximum. Minimum -9007199254740991.
- `instructions` string or null, required. When the bot should label a contact. Read by the bot.
- `grant_mode` string, required. `all`: every label of the organization, including labels created later. `listed`: only `allowed_label_ids`. One of: `"all"`, `"listed"`.
- `allowed_label_ids` array of string, required. The labels it may use when `grant_mode` is `listed`. Ignored under `all`.
- `proactive` object, required. Follow-ups the bot sends on its own when a customer goes quiet.
- `enabled` boolean, required. Whether the bot follows up at all.
- `instructions` string or null, required. How the bot should follow up. Read by the bot.
- `first_delay_minutes` integer, required. Minutes before the first follow-up of a sequence. Must be less than `window_minutes`. Minimum -9007199254740991.
- `window_minutes` integer, required. How long a follow-up sequence may run, in minutes. Minimum -9007199254740991.
- `max_follow_ups` integer, required. Follow-ups in one sequence, at most. Minimum -9007199254740991.
- `cooldown_minutes` integer, required. Minutes to wait after a follow-up before the next one in the same conversation. Minimum -9007199254740991.
- `distribution` string, required. How the follow-ups spread over the window: `even`, `front_loaded` or `back_loaded`. One of: `"even"`, `"front_loaded"`, `"back_loaded"`.
- `quiet_start_hour` integer or null, required. The local hour (0-23) quiet hours start. Quiet hours are off when either bound is null. Minimum -9007199254740991.
- `quiet_end_hour` integer or null, required. The local hour (0-23) quiet hours end. Minimum -9007199254740991.
- `quiet_days` array of integer, required. Weekdays with no follow-ups, 0 (Sunday) to 6 (Saturday). Not all seven: switch `enabled` off instead.
- `after_broadcast` boolean, required. Whether a broadcast message starts a follow-up sequence.
- `after_operator_reply` boolean, required. Whether a person's reply in the inbox starts a follow-up sequence.
- `template_authoring` boolean, required. Whether the bot may propose a new template to Meta, to follow up outside the 24-hour window.
- `template_cap_per_week` integer, required. Templates the bot may propose per week. Minimum -9007199254740991.
- `number_ids` array of string, required. The numbers this key may use that answer with this bot by default.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required. When its configuration last changed. The `ETag` header carries the same version.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `ai_bot_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/ai-bots/{id}' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/ai-bots/get-ai-bot
# Change an AI bot's prompt or configuration
`PATCH https://api.whatsable.app/v1/ai-bots/{id}`
Required scope: `ai:configure`.
Changes the fields you send and keeps the others. The change takes effect on the bot's next reply, also while the bot answers customers. The rules between fields apply to the result, with the stored values for the fields you leave out. A text or a list you send replaces the stored one whole; `knowledge_append` and `instructions_append` add text to the end of the stored one instead, without reading it.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The bot id. At most 64 characters.
- `If-Match` (header) string, optional. The `ETag` you read, `*` (any version) or a list of tags. A changed version gets `412 precondition_failed` and nothing is written. Without it, the last write wins.
## Request body
`application/json`, required.
- `name` string, optional. Shown in the dashboard. Unique in the organization, ignoring case and accents. At most 60 characters.
- `mission` string, optional. What the bot is for. Part of its prompt on every turn. At most 20000 characters.
- `tone` string, optional. How it speaks. Part of its prompt on every turn. At most 300 characters.
- `instructions` string, optional. The organization's own instructions to the bot. Part of its prompt on every turn. At most 80000 characters.
- `knowledge` string or null, optional. Facts the bot may state, pasted as text. Uploaded documents are knowledge files instead. At most 200000 characters.
- `status` string, optional. `draft` (answers no one), `active` or `archived`. Only an `archived` bot can be deleted. One of: `"draft"`, `"active"`, `"archived"`.
- `time_zone` string, optional. The IANA time zone the bot tells time in, and that quiet hours are read in. At most 64 characters.
- `debounce_seconds` integer, optional. How long the bot waits after a customer's message for more before it answers. Minimum 0. Maximum 300.
- `reply_message_mode` string, optional. `single`: one WhatsApp message per reply. `multiple`: as many as the bot chooses. One of: `"single"`, `"multiple"`.
- `handoff_keywords` array of string, optional. Words in a customer's message that hand the conversation to a person. At most 25 items.
- `handoff_instructions` string or null, optional. When the bot should hand the conversation to a person. Read by the bot, never sent to the customer. At most 10000 characters.
- `notify_on_handoff` boolean, optional. Stored for a team notification on handoff, which is not sent yet.
- `flag_unverified_figures` boolean, optional. Whether a message the bot sends is flagged in the inbox for a person to check when it states a price, amount or date that nothing in its sources contains. The message is sent either way. `false` stops the flags; messages already flagged keep theirs.
- `resume_policy` string, optional. When the bot answers again after a person took over: `never`, `new_session` (the customer writes after the window closed) or `timer` (after `resume_after_seconds`). One of: `"never"`, `"new_session"`, `"timer"`.
- `resume_after_seconds` integer or null, optional. With `resume_policy: "timer"`, how long after a person took over the bot answers again. Required for `timer`. Minimum 60. Maximum 604800.
- `label_permissions` object, optional. Which labels the bot may add to or remove from a contact. Fields left out are kept.
- `add_enabled` boolean, optional. Whether the bot may add labels.
- `remove_enabled` boolean, optional. Whether the bot may remove labels.
- `add_max_per_turn` integer or null, optional. Labels it may add in one reply. Null for the platform maximum. Minimum 1. Maximum 5.
- `remove_max_per_turn` integer or null, optional. Labels it may remove in one reply. Null for the platform maximum. Minimum 1. Maximum 5.
- `instructions` string or null, optional. When the bot should label a contact. Read by the bot. At most 10000 characters.
- `grant_mode` string, optional. `all`: every label of the organization, including labels created later. `listed`: only `allowed_label_ids`. One of: `"all"`, `"listed"`.
- `allowed_label_ids` array of string, optional. The labels it may use when `grant_mode` is `listed`. Ignored under `all`. At most 20 items.
- `proactive` object, optional. Follow-ups the bot sends on its own when a customer goes quiet. Fields left out are kept.
- `enabled` boolean, optional. Whether the bot follows up at all.
- `instructions` string or null, optional. How the bot should follow up. Read by the bot. At most 12000 characters.
- `first_delay_minutes` integer, optional. Minutes before the first follow-up of a sequence. Must be less than `window_minutes`. Minimum 1. Maximum 43200.
- `window_minutes` integer, optional. How long a follow-up sequence may run, in minutes. Minimum 2. Maximum 129600.
- `max_follow_ups` integer, optional. Follow-ups in one sequence, at most. Minimum 1. Maximum 15.
- `cooldown_minutes` integer, optional. Minutes to wait after a follow-up before the next one in the same conversation. Minimum 0. Maximum 43200.
- `distribution` string, optional. How the follow-ups spread over the window: `even`, `front_loaded` or `back_loaded`. One of: `"even"`, `"front_loaded"`, `"back_loaded"`.
- `quiet_start_hour` integer or null, optional. The local hour (0-23) quiet hours start. Quiet hours are off when either bound is null. Minimum 0. Maximum 23.
- `quiet_end_hour` integer or null, optional. The local hour (0-23) quiet hours end. Minimum 0. Maximum 23.
- `quiet_days` array of integer, optional. Weekdays with no follow-ups, 0 (Sunday) to 6 (Saturday). Not all seven: switch `enabled` off instead. At most 7 items.
- `after_broadcast` boolean, optional. Whether a broadcast message starts a follow-up sequence.
- `after_operator_reply` boolean, optional. Whether a person's reply in the inbox starts a follow-up sequence.
- `template_authoring` boolean, optional. Whether the bot may propose a new template to Meta, to follow up outside the 24-hour window.
- `template_cap_per_week` integer, optional. Templates the bot may propose per week. Minimum 0. Maximum 20.
- `knowledge_append` string, optional. Text to add to the end of `knowledge`, after a blank line, without reading or resending it. The stored text is kept as it is. The result must stay within 200,000 characters, or nothing is written (`422 ai_bot_text_too_long`). Cannot be sent with `knowledge` itself. At most 200000 characters.
- `instructions_append` string, optional. Text to add to the end of `instructions`, after a blank line, without reading or resending it. The stored text is kept as it is. The result must stay within 80,000 characters, or nothing is written (`422 ai_bot_text_too_long`). Cannot be sent with `instructions` itself. At most 80000 characters.
## Responses
### 200
The updated bot.
- `object` `"ai_bot"`, required.
- `id` string, required. At most 64 characters.
- `name` string, required. Shown in the dashboard. Unique in the organization, ignoring case and accents.
- `mission` string, required. What the bot is for. Part of its prompt on every turn.
- `tone` string, required. How it speaks. Part of its prompt on every turn.
- `instructions` string, required. The organization's own instructions to the bot. Part of its prompt on every turn.
- `knowledge` string or null, required. Facts the bot may state, pasted as text. Uploaded documents are knowledge files instead.
- `status` string, required. `draft` (answers no one), `active` or `archived`. Only an `archived` bot can be deleted. One of: `"draft"`, `"active"`, `"archived"`.
- `time_zone` string, required. The IANA time zone the bot tells time in, and that quiet hours are read in.
- `debounce_seconds` integer, required. How long the bot waits after a customer's message for more before it answers. Minimum -9007199254740991.
- `reply_message_mode` string, required. `single`: one WhatsApp message per reply. `multiple`: as many as the bot chooses. One of: `"single"`, `"multiple"`.
- `handoff_keywords` array of string, required. Words in a customer's message that hand the conversation to a person.
- `handoff_instructions` string or null, required. When the bot should hand the conversation to a person. Read by the bot, never sent to the customer.
- `notify_on_handoff` boolean, required. Stored for a team notification on handoff, which is not sent yet.
- `flag_unverified_figures` boolean, required. Whether a message the bot sends is flagged in the inbox for a person to check when it states a price, amount or date that nothing in its sources contains. The message is sent either way. `false` stops the flags; messages already flagged keep theirs.
- `resume_policy` string, required. When the bot answers again after a person took over: `never`, `new_session` (the customer writes after the window closed) or `timer` (after `resume_after_seconds`). One of: `"never"`, `"new_session"`, `"timer"`.
- `resume_after_seconds` integer or null, required. With `resume_policy: "timer"`, how long after a person took over the bot answers again. Required for `timer`. Minimum -9007199254740991.
- `label_permissions` object, required. Which labels the bot may add to or remove from a contact.
- `add_enabled` boolean, required. Whether the bot may add labels.
- `remove_enabled` boolean, required. Whether the bot may remove labels.
- `add_max_per_turn` integer or null, required. Labels it may add in one reply. Null for the platform maximum. Minimum -9007199254740991.
- `remove_max_per_turn` integer or null, required. Labels it may remove in one reply. Null for the platform maximum. Minimum -9007199254740991.
- `instructions` string or null, required. When the bot should label a contact. Read by the bot.
- `grant_mode` string, required. `all`: every label of the organization, including labels created later. `listed`: only `allowed_label_ids`. One of: `"all"`, `"listed"`.
- `allowed_label_ids` array of string, required. The labels it may use when `grant_mode` is `listed`. Ignored under `all`.
- `proactive` object, required. Follow-ups the bot sends on its own when a customer goes quiet.
- `enabled` boolean, required. Whether the bot follows up at all.
- `instructions` string or null, required. How the bot should follow up. Read by the bot.
- `first_delay_minutes` integer, required. Minutes before the first follow-up of a sequence. Must be less than `window_minutes`. Minimum -9007199254740991.
- `window_minutes` integer, required. How long a follow-up sequence may run, in minutes. Minimum -9007199254740991.
- `max_follow_ups` integer, required. Follow-ups in one sequence, at most. Minimum -9007199254740991.
- `cooldown_minutes` integer, required. Minutes to wait after a follow-up before the next one in the same conversation. Minimum -9007199254740991.
- `distribution` string, required. How the follow-ups spread over the window: `even`, `front_loaded` or `back_loaded`. One of: `"even"`, `"front_loaded"`, `"back_loaded"`.
- `quiet_start_hour` integer or null, required. The local hour (0-23) quiet hours start. Quiet hours are off when either bound is null. Minimum -9007199254740991.
- `quiet_end_hour` integer or null, required. The local hour (0-23) quiet hours end. Minimum -9007199254740991.
- `quiet_days` array of integer, required. Weekdays with no follow-ups, 0 (Sunday) to 6 (Saturday). Not all seven: switch `enabled` off instead.
- `after_broadcast` boolean, required. Whether a broadcast message starts a follow-up sequence.
- `after_operator_reply` boolean, required. Whether a person's reply in the inbox starts a follow-up sequence.
- `template_authoring` boolean, required. Whether the bot may propose a new template to Meta, to follow up outside the 24-hour window.
- `template_cap_per_week` integer, required. Templates the bot may propose per week. Minimum -9007199254740991.
- `number_ids` array of string, required. The numbers this key may use that answer with this bot by default.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required. When its configuration last changed. The `ETag` header carries the same version.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `ai_bot_not_found`, `label_not_found`.
Body: the error body, under "Error body" below.
### 409
conflict: `ai_bot_name_conflict`.
Body: the error body, under "Error body" below.
### 412
precondition_failed: `precondition_failed`.
Body: the error body, under "Error body" below.
### 422
unprocessable: `ai_bot_text_too_long`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X PATCH 'https://api.whatsable.app/v1/ai-bots/{id}' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{
"instructions": "Answer in the customer'\''s language. Offer free shipping over $100."
}'
```
Source: /api-reference/v1/ai-bots/update-ai-bot
# Delete an archived AI bot
`DELETE https://api.whatsable.app/v1/ai-bots/{id}`
Required scope: `ai:configure`.
Deletes an `archived` AI bot. Archive the bot first with `PATCH` and `{ "status": "archived" }`. Deleting takes the bot off every number and conversation, so a key limited to some numbers can delete it only if the key may use all of those numbers.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The bot id. At most 64 characters.
## Responses
### 200
The bot was deleted.
- `object` `"ai_bot"`, required.
- `id` string, required. At most 64 characters.
- `deleted` `true`, required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `number_not_allowed_for_key`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `ai_bot_not_found`.
Body: the error body, under "Error body" below.
### 422
unprocessable: `ai_bot_not_archived`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X DELETE 'https://api.whatsable.app/v1/ai-bots/{id}' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/ai-bots/delete-ai-bot
# Read an AI bot's long text in pages
`GET https://api.whatsable.app/v1/ai-bots/{id}/text/{field}`
Required scope: `ai:read`.
Returns one page of one of an AI bot's long texts, so a text too long to read in one response can be read whole.
This is offset paging over one text, not the cursor paging of a list: `offset` and `limit` count characters, not items, as JavaScript counts them (UTF-16 code units). Start at `offset` 0 and pass each page's `next_offset` until it is null. A page never splits an emoji or another character written as a surrogate pair, so it can hold one character fewer, or one more, than `limit`.
`label_instructions` is `label_permissions.instructions` and `proactive_instructions` is `proactive.instructions`; a path segment cannot nest.
Send the first page's `ETag` as `If-Match` with every later page: once the bot has changed, a page answers `412 precondition_failed` instead of a page of a different version. Start again from `offset` 0 then.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The bot id. At most 64 characters.
- `field` (path) string, required. The text to read. One of: `"mission"`, `"instructions"`, `"knowledge"`, `"handoff_instructions"`, `"label_instructions"`, `"proactive_instructions"`.
- `offset` (query) integer, optional. The character to start at, counted from 0. Pass the previous page's `next_offset`. Minimum 0. Default `0`.
- `limit` (query) integer, optional. How many characters to return, 1 to 20,000. Minimum 1. Maximum 20000. Default `10000`.
- `If-Match` (header) string, optional. The `ETag` of the first page. Once the bot has changed, a page answers `412 precondition_failed`; start again from offset 0.
## Responses
### 200
One page of the text.
- `object` `"ai_bot_text"`, required.
- `bot_id` string, required. At most 64 characters.
- `field` string, required. The text this page is part of. One of: `"mission"`, `"instructions"`, `"knowledge"`, `"handoff_instructions"`, `"label_instructions"`, `"proactive_instructions"`. New values may appear within v1.
- `offset` integer, required. Where this page starts. One less than the `offset` sent when that fell inside a character written as a surrogate pair, such as an emoji. Minimum 0.
- `total_length` integer, required. The length of the whole text, in characters as JavaScript counts them (UTF-16 code units). 0 when the field is empty or null. Minimum 0.
- `text` string, required. This page of the text. Empty when `offset` is at or past the end.
- `next_offset` integer or null, required. The `offset` of the next page, or null on the last page. Minimum 0.
- `updated_at` string (date-time), required. The bot's version this page was read at. Send it with every later page, and with the `PATCH` that rewrites the field, as `If-Match` (the `ETag` header carries the same version).
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `ai_bot_not_found`.
Body: the error body, under "Error body" below.
### 412
precondition_failed: `precondition_failed`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/ai-bots/{id}/text/{field}' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/ai-bots/get-ai-bot-text
# Copy an AI bot into a new draft
`POST https://api.whatsable.app/v1/ai-bots/{id}/duplicate`
Required scope: `ai:configure`.
Copies an AI bot under a new name, with its configuration, knowledge files and sendable files. The copy is a `draft` and is on no number.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The bot to copy. At most 64 characters.
- `Idempotency-Key` (header) string, optional. Any string up to 255 characters. A repeat with the same key and body answers the stored response; with another body, `409 idempotency_key_reused`. At most 255 characters.
## Responses
### 201
The copy.
- `object` `"ai_bot"`, required.
- `id` string, required. At most 64 characters.
- `name` string, required. Shown in the dashboard. Unique in the organization, ignoring case and accents.
- `mission` string, required. What the bot is for. Part of its prompt on every turn.
- `tone` string, required. How it speaks. Part of its prompt on every turn.
- `instructions` string, required. The organization's own instructions to the bot. Part of its prompt on every turn.
- `knowledge` string or null, required. Facts the bot may state, pasted as text. Uploaded documents are knowledge files instead.
- `status` string, required. `draft` (answers no one), `active` or `archived`. Only an `archived` bot can be deleted. One of: `"draft"`, `"active"`, `"archived"`.
- `time_zone` string, required. The IANA time zone the bot tells time in, and that quiet hours are read in.
- `debounce_seconds` integer, required. How long the bot waits after a customer's message for more before it answers. Minimum -9007199254740991.
- `reply_message_mode` string, required. `single`: one WhatsApp message per reply. `multiple`: as many as the bot chooses. One of: `"single"`, `"multiple"`.
- `handoff_keywords` array of string, required. Words in a customer's message that hand the conversation to a person.
- `handoff_instructions` string or null, required. When the bot should hand the conversation to a person. Read by the bot, never sent to the customer.
- `notify_on_handoff` boolean, required. Stored for a team notification on handoff, which is not sent yet.
- `flag_unverified_figures` boolean, required. Whether a message the bot sends is flagged in the inbox for a person to check when it states a price, amount or date that nothing in its sources contains. The message is sent either way. `false` stops the flags; messages already flagged keep theirs.
- `resume_policy` string, required. When the bot answers again after a person took over: `never`, `new_session` (the customer writes after the window closed) or `timer` (after `resume_after_seconds`). One of: `"never"`, `"new_session"`, `"timer"`.
- `resume_after_seconds` integer or null, required. With `resume_policy: "timer"`, how long after a person took over the bot answers again. Required for `timer`. Minimum -9007199254740991.
- `label_permissions` object, required. Which labels the bot may add to or remove from a contact.
- `add_enabled` boolean, required. Whether the bot may add labels.
- `remove_enabled` boolean, required. Whether the bot may remove labels.
- `add_max_per_turn` integer or null, required. Labels it may add in one reply. Null for the platform maximum. Minimum -9007199254740991.
- `remove_max_per_turn` integer or null, required. Labels it may remove in one reply. Null for the platform maximum. Minimum -9007199254740991.
- `instructions` string or null, required. When the bot should label a contact. Read by the bot.
- `grant_mode` string, required. `all`: every label of the organization, including labels created later. `listed`: only `allowed_label_ids`. One of: `"all"`, `"listed"`.
- `allowed_label_ids` array of string, required. The labels it may use when `grant_mode` is `listed`. Ignored under `all`.
- `proactive` object, required. Follow-ups the bot sends on its own when a customer goes quiet.
- `enabled` boolean, required. Whether the bot follows up at all.
- `instructions` string or null, required. How the bot should follow up. Read by the bot.
- `first_delay_minutes` integer, required. Minutes before the first follow-up of a sequence. Must be less than `window_minutes`. Minimum -9007199254740991.
- `window_minutes` integer, required. How long a follow-up sequence may run, in minutes. Minimum -9007199254740991.
- `max_follow_ups` integer, required. Follow-ups in one sequence, at most. Minimum -9007199254740991.
- `cooldown_minutes` integer, required. Minutes to wait after a follow-up before the next one in the same conversation. Minimum -9007199254740991.
- `distribution` string, required. How the follow-ups spread over the window: `even`, `front_loaded` or `back_loaded`. One of: `"even"`, `"front_loaded"`, `"back_loaded"`.
- `quiet_start_hour` integer or null, required. The local hour (0-23) quiet hours start. Quiet hours are off when either bound is null. Minimum -9007199254740991.
- `quiet_end_hour` integer or null, required. The local hour (0-23) quiet hours end. Minimum -9007199254740991.
- `quiet_days` array of integer, required. Weekdays with no follow-ups, 0 (Sunday) to 6 (Saturday). Not all seven: switch `enabled` off instead.
- `after_broadcast` boolean, required. Whether a broadcast message starts a follow-up sequence.
- `after_operator_reply` boolean, required. Whether a person's reply in the inbox starts a follow-up sequence.
- `template_authoring` boolean, required. Whether the bot may propose a new template to Meta, to follow up outside the 24-hour window.
- `template_cap_per_week` integer, required. Templates the bot may propose per week. Minimum -9007199254740991.
- `number_ids` array of string, required. The numbers this key may use that answer with this bot by default.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required. When its configuration last changed. The `ETag` header carries the same version.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `ai_bot_not_found`.
Body: the error body, under "Error body" below.
### 409
conflict: `ai_bot_name_conflict`, `idempotency_key_reused`, `idempotency_request_in_progress`.
Body: the error body, under "Error body" below.
### 422
unprocessable: `ai_bot_limit_reached`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### 503
unavailable: `service_unavailable`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X POST 'https://api.whatsable.app/v1/ai-bots/{id}/duplicate' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/ai-bots/duplicate-ai-bot
# List a bot's knowledge documents
`GET https://api.whatsable.app/v1/ai-bots/{id}/knowledge-files`
Required scope: `ai:read`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The bot id. At most 64 characters.
- `limit` (query) integer, optional. How many items to return, 1 to 100. Minimum 1. Maximum 100. Default `25`.
- `cursor` (query) string, optional. The `next_cursor` of the previous page. An expired or malformed cursor answers `400 invalid_cursor`. At most 512 characters.
## Responses
### 200
A page of knowledge documents, newest first.
- `object` `"list"`, required.
- `data` array of object, required.
- `object` `"knowledge_file"`, required.
- `id` string, required. At most 64 characters.
- `bot_id` string, required. At most 64 characters.
- `filename` string, required.
- `mime_type` string, required.
- `size_bytes` integer, required. Minimum 0.
- `status` string, required. `processing` while its text is read, then `ready` (the bot knows it from its next reply) or `failed`. One of: `"processing"`, `"ready"`, `"failed"`.
- `failure_reason` string or null, required. Why reading it failed: `unsupported_type`, `timeout`, `unreadable` or `empty`. Null unless `status` is `failed`. One of: `"unsupported_type"`, `"timeout"`, `"unreadable"`, `"empty"`.
- `extracted_length` integer, required. Characters of text the bot reads from it. Zero until `ready`. Minimum 0.
- `created_at` string (date-time), required.
- `has_more` boolean, required. True when another page follows this one.
- `next_cursor` string or null, required. Pass as `cursor` to read the next page. Null on the last page. Valid for 24 hours.
### 400
invalid_request: `invalid_cursor`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `ai_bot_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/ai-bots/{id}/knowledge-files' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/ai-bots/list-knowledge-files
# Add a document to a bot's knowledge
`POST https://api.whatsable.app/v1/ai-bots/{id}/knowledge-files`
Required scope: `ai:configure`.
Adds a document to the knowledge of an AI bot. Send a `multipart/form-data` body with one `file` part. The document starts as `processing`: read it again to see `ready` or `failed`. An `archived` bot takes no new documents.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The bot id. At most 64 characters.
- `Idempotency-Key` (header) string, optional. Any string up to 255 characters. A repeat with the same key and body answers the stored response; with another body, `409 idempotency_key_reused`. At most 255 characters.
## Request body
`multipart/form-data`, required.
- `file` string (binary), required. A PDF, a Word document (.docx), or plain text, Markdown or CSV, at most 25 MiB. Its type is checked against its bytes.
## Responses
### 201
The document, `processing`.
- `object` `"knowledge_file"`, required.
- `id` string, required. At most 64 characters.
- `bot_id` string, required. At most 64 characters.
- `filename` string, required.
- `mime_type` string, required.
- `size_bytes` integer, required. Minimum 0.
- `status` string, required. `processing` while its text is read, then `ready` (the bot knows it from its next reply) or `failed`. One of: `"processing"`, `"ready"`, `"failed"`.
- `failure_reason` string or null, required. Why reading it failed: `unsupported_type`, `timeout`, `unreadable` or `empty`. Null unless `status` is `failed`. One of: `"unsupported_type"`, `"timeout"`, `"unreadable"`, `"empty"`.
- `extracted_length` integer, required. Characters of text the bot reads from it. Zero until `ready`. Minimum 0.
- `created_at` string (date-time), required.
### 400
invalid_request: `media_too_large`, `media_type_unsupported`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `ai_bot_not_found`.
Body: the error body, under "Error body" below.
### 409
conflict: `idempotency_key_reused`, `idempotency_request_in_progress`.
Body: the error body, under "Error body" below.
### 422
unprocessable: `ai_bot_archived`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### 503
unavailable: `service_unavailable`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X POST 'https://api.whatsable.app/v1/ai-bots/{id}/knowledge-files' \
-H 'Authorization: Bearer ' \
-F 'file=@./your-file'
```
Source: /api-reference/v1/ai-bots/upload-knowledge-file
# Remove a document from a bot's knowledge
`DELETE https://api.whatsable.app/v1/ai-bots/{id}/knowledge-files/{file_id}`
Required scope: `ai:configure`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The bot id. At most 64 characters.
- `file_id` (path) string, required. The knowledge document id. It must belong to this bot. At most 64 characters.
## Responses
### 200
The document was removed.
- `object` `"knowledge_file"`, required.
- `id` string, required. At most 64 characters.
- `deleted` `true`, required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `ai_bot_not_found`, `knowledge_file_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X DELETE 'https://api.whatsable.app/v1/ai-bots/{id}/knowledge-files/{file_id}' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/ai-bots/delete-knowledge-file
# List the files a bot may send
`GET https://api.whatsable.app/v1/ai-bots/{id}/files`
Required scope: `ai:read`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The bot id. At most 64 characters.
- `limit` (query) integer, optional. How many items to return, 1 to 100. Minimum 1. Maximum 100. Default `25`.
- `cursor` (query) string, optional. The `next_cursor` of the previous page. An expired or malformed cursor answers `400 invalid_cursor`. At most 512 characters.
## Responses
### 200
A page of sendable files, newest first.
- `object` `"list"`, required.
- `data` array of object, required.
- `object` `"ai_bot_file"`, required.
- `id` string, required. At most 64 characters.
- `bot_id` string, required. At most 64 characters.
- `filename` string, required.
- `display_name` string, required. The name the bot knows the file by. Defaults to the filename.
- `kind` string, required. One of: `"image"`, `"video"`, `"audio"`, `"document"`.
- `mime_type` string, required.
- `size_bytes` integer, required. Minimum 0.
- `description` string, required. When the bot should send this file. The bot chooses files by this sentence and nothing else.
- `active` boolean, required. Whether the bot may send it. An inactive file stays stored.
- `created_at` string (date-time), required.
- `has_more` boolean, required. True when another page follows this one.
- `next_cursor` string or null, required. Pass as `cursor` to read the next page. Null on the last page. Valid for 24 hours.
### 400
invalid_request: `invalid_cursor`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `ai_bot_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/ai-bots/{id}/files' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/ai-bots/list-ai-bot-files
# Add a file a bot may send
`POST https://api.whatsable.app/v1/ai-bots/{id}/files`
Required scope: `ai:configure`.
Adds a file that an AI bot may send to customers. Send a `multipart/form-data` body with one `file` part and a `description` field. The change takes effect on the bot's next reply, also while the bot answers customers. An `archived` bot takes no new files, and a bot holds at most ten.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The bot id. At most 64 characters.
- `Idempotency-Key` (header) string, optional. Any string up to 255 characters. A repeat with the same key and body answers the stored response; with another body, `409 idempotency_key_reused`. At most 255 characters.
## Request body
`multipart/form-data`, required.
- `file` string (binary), required. An image, a video, an audio file or a document WhatsApp can send, at most 25 MiB.
- `description` string, required. When the bot should send this file. The bot chooses files by this sentence and nothing else. At most 1000 characters.
- `display_name` string, optional. The name the bot knows the file by. Defaults to the filename. Blank is the filename too. At most 120 characters.
## Responses
### 201
The file.
- `object` `"ai_bot_file"`, required.
- `id` string, required. At most 64 characters.
- `bot_id` string, required. At most 64 characters.
- `filename` string, required.
- `display_name` string, required. The name the bot knows the file by. Defaults to the filename.
- `kind` string, required. One of: `"image"`, `"video"`, `"audio"`, `"document"`.
- `mime_type` string, required.
- `size_bytes` integer, required. Minimum 0.
- `description` string, required. When the bot should send this file. The bot chooses files by this sentence and nothing else.
- `active` boolean, required. Whether the bot may send it. An inactive file stays stored.
- `created_at` string (date-time), required.
### 400
invalid_request: `media_too_large`, `media_type_unsupported`, `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `ai_bot_not_found`.
Body: the error body, under "Error body" below.
### 409
conflict: `idempotency_key_reused`, `idempotency_request_in_progress`.
Body: the error body, under "Error body" below.
### 422
unprocessable: `ai_bot_archived`, `ai_bot_file_limit_reached`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### 503
unavailable: `service_unavailable`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X POST 'https://api.whatsable.app/v1/ai-bots/{id}/files' \
-H 'Authorization: Bearer ' \
-F 'file=@./your-file'
```
Source: /api-reference/v1/ai-bots/upload-ai-bot-file
# Change a sendable file's name, description or switch
`PATCH https://api.whatsable.app/v1/ai-bots/{id}/files/{file_id}`
Required scope: `ai:configure`.
Changes the name, description or `active` switch of a file that an AI bot may send. The change takes effect on the bot's next reply, also while the bot answers customers.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The bot id. At most 64 characters.
- `file_id` (path) string, required. The sendable file id. It must belong to this bot. At most 64 characters.
## Request body
`application/json`, required.
- `display_name` string, optional. The name the bot knows the file by. Defaults to the filename. At most 120 characters.
- `description` string, optional. When the bot should send this file. The bot chooses files by this sentence and nothing else. At most 1000 characters.
- `active` boolean, optional. Whether the bot may send it. An inactive file stays stored.
## Responses
### 200
The updated file.
- `object` `"ai_bot_file"`, required.
- `id` string, required. At most 64 characters.
- `bot_id` string, required. At most 64 characters.
- `filename` string, required.
- `display_name` string, required. The name the bot knows the file by. Defaults to the filename.
- `kind` string, required. One of: `"image"`, `"video"`, `"audio"`, `"document"`.
- `mime_type` string, required.
- `size_bytes` integer, required. Minimum 0.
- `description` string, required. When the bot should send this file. The bot chooses files by this sentence and nothing else.
- `active` boolean, required. Whether the bot may send it. An inactive file stays stored.
- `created_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `ai_bot_file_not_found`, `ai_bot_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X PATCH 'https://api.whatsable.app/v1/ai-bots/{id}/files/{file_id}' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{
"description": "Our full catalog with prices. Send it only after the customer asks for prices."
}'
```
Source: /api-reference/v1/ai-bots/update-ai-bot-file
# Remove a file a bot may send
`DELETE https://api.whatsable.app/v1/ai-bots/{id}/files/{file_id}`
Required scope: `ai:configure`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The bot id. At most 64 characters.
- `file_id` (path) string, required. The sendable file id. It must belong to this bot. At most 64 characters.
## Responses
### 200
The file was removed.
- `object` `"ai_bot_file"`, required.
- `id` string, required. At most 64 characters.
- `deleted` `true`, required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `ai_bot_file_not_found`, `ai_bot_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X DELETE 'https://api.whatsable.app/v1/ai-bots/{id}/files/{file_id}' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/ai-bots/delete-ai-bot-file
# Choose the bot a number answers with
`PUT https://api.whatsable.app/v1/numbers/{id}/ai-bot`
Required scope: `ai:write`.
Sets the default AI bot of a number. It answers every conversation on the number that has no bot of its own. An `archived` bot cannot be assigned.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The number id. At most 64 characters.
## Request body
`application/json`, required.
- `bot_id` string or null, required. The bot that answers on this number by default, or null for none: a conversation on the number with no bot of its own then gets no AI. At most 64 characters.
## Responses
### 200
The number's bot.
- `object` `"number_ai_bot"`, required.
- `number_id` string, required. At most 64 characters.
- `bot_id` string or null, required. The number's default bot. Null when none is assigned. At most 64 characters.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `ai_bot_not_found`, `number_not_found`.
Body: the error body, under "Error body" below.
### 422
unprocessable: `ai_bot_archived`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X PUT 'https://api.whatsable.app/v1/numbers/{id}/ai-bot' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{
"bot_id": "cm2v8b1a00001qz8h3j4k5l6m"
}'
```
Source: /api-reference/v1/ai-bots/set-number-ai-bot
# Switch the AI or choose its bot in a conversation
`PATCH https://api.whatsable.app/v1/conversations/{id}/ai`
Required scope: `ai:write`.
Switches the AI off or back on in one conversation, chooses which bot answers there, or both. `bot_id: null` falls back to the number's default bot. An `archived` bot cannot be chosen.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The conversation id. At most 64 characters.
## Request body
`application/json`, required.
- `status` string, optional. `off` stops the AI in this conversation; `active` lets it answer again, also after a person took over or the bot handed off. Left out, the status is kept. One of: `"active"`, `"off"`.
- `bot_id` string or null, optional. The bot that answers in this conversation, or null to fall back to the number's default bot. It must be a bot of this organization that is not archived. Left out, the bot is kept. At most 64 characters.
## Responses
### 200
The conversation, with its `ai`.
- `object` `"conversation"`, required.
- `id` string, required. At most 64 characters.
- `number_id` string, required. The business number of the conversation. At most 64 characters.
- `contact_id` string, required. At most 64 characters.
- `contact_name` string or null, required. The contact's name. Null when nobody named them.
- `last_message_preview` string or null, required. The last message in one line, as the inbox list shows it. Null before the first message.
- `last_message_at` string (date-time) or null, required. The last message in either direction. Null before the first message. A list puts such a conversation last.
- `last_inbound_at` string (date-time) or null, required. The customer's last message. Null when they never wrote.
- `last_outbound_at` string (date-time) or null, required. The business's last message. Null when it never wrote.
- `awaiting_reply` boolean, required. The customer wrote last: `last_inbound_at` is later than `last_outbound_at`, or nothing was sent since.
- `window_expires_at` string (date-time) or null, required. When the 24-hour customer-service window closes. Null when it never opened.
- `window_open` boolean, required. Whether a session message (any type but `template`) can be sent now. Check it before a session send.
- `unread_count` integer, required. Inbound messages nobody has read in the inbox. Reading through the API does not change it. Minimum 0.
- `marked_unread` boolean, required. Someone marked it unread in the inbox.
- `figures_to_check` integer, required. AI messages with a figure nobody has checked yet. Minimum 0.
- `ai` object or null, required.
- `bot_id` string, required. The bot that applies: the conversation's own, else its number's default. At most 64 characters.
- `status` string, required. `active` means not suppressed, not that a bot answers. `paused_by_human` (a person took over), `handed_off` (the bot gave it to a person) and `off` stop the bot. One of: `"active"`, `"paused_by_human"`, `"handed_off"`, `"off"`.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `ai_bot_not_found`, `conversation_not_found`.
Body: the error body, under "Error body" below.
### 422
unprocessable: `ai_bot_archived`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X PATCH 'https://api.whatsable.app/v1/conversations/{id}/ai' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{
"status": "off"
}'
```
Source: /api-reference/v1/ai-bots/update-conversation-ai
# Cancel a pending AI retry in a conversation
`POST https://api.whatsable.app/v1/conversations/{id}/ai/retry/cancel`
Required scope: `ai:write`.
Cancels the reply the AI agent was going to retry after an error in this conversation, as the inbox's cancel does. Calling it with no retry pending is safe and answers `cancelled: false`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The conversation id. At most 64 characters.
- `Idempotency-Key` (header) string, optional. Any string up to 255 characters. A repeat with the same key and body answers the stored response; with another body, `409 idempotency_key_reused`. At most 255 characters.
## Responses
### 200
Whether a retry was cancelled, and the conversation.
- `object` `"ai_retry_cancellation"`, required.
- `cancelled` boolean, required. True when a reply the AI agent was going to retry after an error is now cancelled. False when no retry was pending, or it had already started.
- `conversation` object, required. One customer on one of the business numbers. One person writing to two numbers has two conversations.
- `object` `"conversation"`, required.
- `id` string, required. At most 64 characters.
- `number_id` string, required. The business number of the conversation. At most 64 characters.
- `contact_id` string, required. At most 64 characters.
- `contact_name` string or null, required. The contact's name. Null when nobody named them.
- `last_message_preview` string or null, required. The last message in one line, as the inbox list shows it. Null before the first message.
- `last_message_at` string (date-time) or null, required. The last message in either direction. Null before the first message. A list puts such a conversation last.
- `last_inbound_at` string (date-time) or null, required. The customer's last message. Null when they never wrote.
- `last_outbound_at` string (date-time) or null, required. The business's last message. Null when it never wrote.
- `awaiting_reply` boolean, required. The customer wrote last: `last_inbound_at` is later than `last_outbound_at`, or nothing was sent since.
- `window_expires_at` string (date-time) or null, required. When the 24-hour customer-service window closes. Null when it never opened.
- `window_open` boolean, required. Whether a session message (any type but `template`) can be sent now. Check it before a session send.
- `unread_count` integer, required. Inbound messages nobody has read in the inbox. Reading through the API does not change it. Minimum 0.
- `marked_unread` boolean, required. Someone marked it unread in the inbox.
- `figures_to_check` integer, required. AI messages with a figure nobody has checked yet. Minimum 0.
- `ai` object or null, required.
- `bot_id` string, required. The bot that applies: the conversation's own, else its number's default. At most 64 characters.
- `status` string, required. `active` means not suppressed, not that a bot answers. `paused_by_human` (a person took over), `handed_off` (the bot gave it to a person) and `off` stop the bot. One of: `"active"`, `"paused_by_human"`, `"handed_off"`, `"off"`.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `conversation_not_found`.
Body: the error body, under "Error body" below.
### 409
conflict: `idempotency_key_reused`, `idempotency_request_in_progress`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### 503
unavailable: `service_unavailable`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X POST 'https://api.whatsable.app/v1/conversations/{id}/ai/retry/cancel' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/ai-bots/cancel-conversation-ai-retry
# Switch the AI's follow-ups to a contact off or on
`PATCH https://api.whatsable.app/v1/contacts/{id}/follow-ups`
Required scope: `ai:write`.
`off` stops the AI's follow-ups to this person on every number, and the bot keeps answering when they write. Sending `off` again is safe. `on` lets follow-ups start again from the next outbound message. It needs a key that may use every number the contact has a conversation on, or it answers `403 number_not_allowed_for_key`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `id` (path) string, required. The contact id. At most 64 characters.
## Request body
`application/json`, required.
- `status` string, required. `off` stops the AI's follow-ups to this person on every number; the bot still answers when they write. `on` lets them start again. One of: `"on"`, `"off"`.
## Responses
### 200
The contact, with its `follow_ups`.
- `object` `"contact"`, required.
- `id` string, required. At most 64 characters.
- `phone` string or null, required. Null when WhatsApp withheld the number and only a user id is known.
- `wa_user_id` string or null, required. The Business-Scoped User ID, when WhatsApp gave one.
- `username` string or null, required. The WhatsApp username, without `@`.
- `name` string or null, required.
- `note` string or null, required. The contact's note, as the inbox shows it.
- `automation_note` string or null, required. A note kept for automations, separate from `note`.
- `labels` array of object, required.
- `id` string, required. At most 64 characters.
- `name` string, required.
- `conversations` array of object, required. One per number the person has talked to, among the numbers this key may use.
- `id` string, required. At most 64 characters.
- `number_id` string, required. At most 64 characters.
- `follow_ups` string, required. The inbox's Follow up switch. `off`: the AI never follows up with this person, on any number, until it is switched back on. `on` does not mean a follow-up is coming: that also depends on the bot's follow-up settings and the conversation's AI status. One of: `"on"`, `"off"`.
- `created_at` string (date-time), required.
- `updated_at` string (date-time), required.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `number_not_allowed_for_key`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `contact_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X PATCH 'https://api.whatsable.app/v1/contacts/{id}/follow-ups' \
-H 'Authorization: Bearer ' \
-H 'Content-Type: application/json' \
-d '{
"status": "off"
}'
```
Source: /api-reference/v1/ai-bots/update-contact-follow-ups
# Count the messages of a period
`GET https://api.whatsable.app/v1/analytics/messages`
Required scope: `messages:read`.
Counts the messages sent, delivered, read, failed and received from `from` to `to`, by day or by week. The numbers are the ones the Analytics page of the dashboard shows.
A key on every number may leave out `number_id` and counts the whole organization. A key limited to some numbers must name one of them in `number_id`, otherwise `403 number_not_allowed_for_key`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `from` (query) string, required. The first day, YYYY-MM-DD, in `time_zone`.
- `to` (query) string, required. The last day, YYYY-MM-DD, in `time_zone`. At most 90 days after `from`, counting both.
- `time_zone` (query) string, required. The IANA time zone the days are read in, such as `America/Argentina/Buenos_Aires`. At most 64 characters.
- `number_id` (query) string, optional. Only this number. A key limited to some numbers must name one of them; a key on every number may leave it out for the whole organization. At most 64 characters.
## Responses
### 200
The counts of the period.
- `object` `"message_analytics"`, required.
- `from` string, required. The first day, as requested.
- `to` string, required. The last day, as requested.
- `time_zone` string, required.
- `number_id` string or null, required. The number counted, or null for every number of the organization. At most 64 characters.
- `granularity` string, required. `day` up to 31 days, else `week`: buckets start on Monday, and the first one on `from`. One of: `"day"`, `"week"`. New values may appear within v1.
- `counts` object, required.
- `total_sent` integer, required. Every outbound message, failed ones included. Minimum 0.
- `sent` integer, required. Outbound messages WhatsApp accepted: sent, delivered or read. Minimum 0.
- `delivered` integer, required. Outbound messages delivered or read. Minimum 0.
- `read` integer, required. Minimum 0.
- `failed` integer, required. Minimum 0.
- `received` integer, required. Inbound messages. Minimum 0.
- `read_rate` number or null, required. `read` divided by `sent`, from 0 to 1. Null when nothing was sent. Minimum 0. Maximum 1.
- `delivery_rate` number or null, required. `delivered` divided by `sent`, from 0 to 1. Null when nothing was sent. Minimum 0. Maximum 1.
- `series` array of object, required. One entry per day or week, oldest first.
- `date` string, required. The bucket's first day, YYYY-MM-DD.
- `sent` integer, required. Minimum 0.
- `delivered` integer, required. Minimum 0.
- `read` integer, required. Minimum 0.
- `failed` integer, required. Minimum 0.
- `received` integer, required. Minimum 0.
- `by_sender` array of object, required. Outbound messages by sender, most first. The counts add up to `counts.total_sent`.
- `sent_by` string, required. Who sent it. `other` is an outbound message with no sender recorded. One of: `"operator"`, `"api"`, `"bot"`, `"broadcast"`, `"proactive"`, `"whatsapp_app"`, `"other"`. New values may appear within v1.
- `count` integer, required. Minimum 0.
- `top_failures` array of object, required. The five most frequent failure codes, most first.
- `meta_code` integer or null, required. The WhatsApp error code, or null when there was none. Minimum -9007199254740991.
- `count` integer, required. Minimum 0.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `number_not_allowed_for_key`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `number_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/analytics/messages?from=&to=&time_zone=' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/analytics/get-message-analytics
# Count the template sends of a period
`GET https://api.whatsable.app/v1/analytics/templates`
Required scope: `templates:read`.
Counts the messages sent with each template from `from` to `to`: sent, delivered, read and failed, with the read rate. The numbers are the ones the Analytics page of the dashboard shows.
A key on every number may leave out `number_id` and counts the whole organization. A key limited to some numbers must name one of them in `number_id`, otherwise `403 number_not_allowed_for_key`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `from` (query) string, required. The first day, YYYY-MM-DD, in `time_zone`.
- `to` (query) string, required. The last day, YYYY-MM-DD, in `time_zone`. At most 90 days after `from`, counting both.
- `time_zone` (query) string, required. The IANA time zone the days are read in, such as `America/Argentina/Buenos_Aires`. At most 64 characters.
- `number_id` (query) string, optional. Only this number. A key limited to some numbers must name one of them; a key on every number may leave it out for the whole organization. At most 64 characters.
## Responses
### 200
The templates sent in the period.
- `object` `"template_analytics"`, required.
- `from` string, required. The first day, as requested.
- `to` string, required. The last day, as requested.
- `time_zone` string, required.
- `number_id` string or null, required. The number counted, or null for every number of the organization. At most 64 characters.
- `templates` array of object, required. Each template sent in the period, most sent first. A deleted template's messages are not counted.
- `template_id` string, required. At most 64 characters.
- `name` string, required.
- `language` string, required.
- `total_sent` integer, required. Every message sent with the template, failed ones included. Minimum 0.
- `sent` integer, required. Accepted by WhatsApp: sent, delivered or read. Minimum 0.
- `delivered` integer, required. Minimum 0.
- `read` integer, required. Minimum 0.
- `failed` integer, required. Minimum 0.
- `read_rate` number or null, required. `read` divided by `sent`, from 0 to 1. Null when nothing was sent. Minimum 0. Maximum 1.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `number_not_allowed_for_key`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `number_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/analytics/templates?from=&to=&time_zone=' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/analytics/get-template-analytics
# Count the conversations of a period
`GET https://api.whatsable.app/v1/analytics/conversations`
Required scope: `messages:read`.
Counts the conversations and contacts that started from `from` to `to`, and how fast the team or the bot answered the customer first. The numbers are the ones the Analytics page of the dashboard shows.
A key on every number may leave out `number_id` and counts the whole organization. A key limited to some numbers must name one of them in `number_id`, otherwise `403 number_not_allowed_for_key`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `from` (query) string, required. The first day, YYYY-MM-DD, in `time_zone`.
- `to` (query) string, required. The last day, YYYY-MM-DD, in `time_zone`. At most 90 days after `from`, counting both.
- `time_zone` (query) string, required. The IANA time zone the days are read in, such as `America/Argentina/Buenos_Aires`. At most 64 characters.
- `number_id` (query) string, optional. Only this number. A key limited to some numbers must name one of them; a key on every number may leave it out for the whole organization. At most 64 characters.
## Responses
### 200
The conversations of the period.
- `object` `"conversation_analytics"`, required.
- `from` string, required. The first day, as requested.
- `to` string, required. The last day, as requested.
- `time_zone` string, required.
- `number_id` string or null, required. The number counted, or null for every number of the organization. At most 64 characters.
- `granularity` string, required. `day` up to 31 days, else `week`: buckets start on Monday, and the first one on `from`. One of: `"day"`, `"week"`. New values may appear within v1.
- `new_conversations` integer, required. Conversations that started in the period. Minimum 0.
- `customer_started` integer, required. Of those, the ones the customer wrote first in. Minimum 0.
- `new_contacts` integer, required. Contacts added in the period. Minimum 0.
- `unanswered` integer, required. Customer-started conversations nobody has answered yet. Minimum 0.
- `first_response` object, required. Over the customer-started conversations. An away message or a keep-alive is not an answer.
- `median_ms` integer or null, required. The median time to the first answer, in milliseconds. Null when no conversation was answered. Minimum 0.
- `within_5m_rate` number or null, required. The share of customer-started conversations answered within 5 minutes, from 0 to 1. An unanswered one counts against it. Minimum 0. Maximum 1.
- `within_1h_rate` number or null, required. The same within an hour. Minimum 0. Maximum 1.
- `first_responder` object, required. Who answered first: a person of the team, the AI bot, or anything else.
- `human` integer, required. Minimum 0.
- `bot` integer, required. Minimum 0.
- `other` integer, required. Minimum 0.
- `response_times` object, required. Customer-started conversations by time to the first answer.
- `under_1m` integer, required. Minimum 0.
- `1m_to_5m` integer, required. Minimum 0.
- `5m_to_15m` integer, required. Minimum 0.
- `15m_to_1h` integer, required. Minimum 0.
- `1h_to_24h` integer, required. Minimum 0.
- `over_24h` integer, required. Minimum 0.
- `unanswered` integer, required. Minimum 0.
- `series` array of object, required. One entry per day or week, oldest first.
- `date` string, required. The bucket's first day, YYYY-MM-DD.
- `new_conversations` integer, required. Minimum 0.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `number_not_allowed_for_key`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `number_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/analytics/conversations?from=&to=&time_zone=' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/analytics/get-conversation-analytics
# Count what the AI bots did in a period
`GET https://api.whatsable.app/v1/analytics/ai`
Required scope: `ai:read`.
Counts what the AI bots did from `from` to `to`: their turns, handoffs to a person, reply times, the labels they applied and their follow-ups. The numbers are the ones the Analytics page of the dashboard shows.
A key on every number may leave out `number_id` and counts the whole organization. A key limited to some numbers must name one of them in `number_id`, otherwise `403 number_not_allowed_for_key`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `from` (query) string, required. The first day, YYYY-MM-DD, in `time_zone`.
- `to` (query) string, required. The last day, YYYY-MM-DD, in `time_zone`. At most 90 days after `from`, counting both.
- `time_zone` (query) string, required. The IANA time zone the days are read in, such as `America/Argentina/Buenos_Aires`. At most 64 characters.
- `number_id` (query) string, optional. Only this number. A key limited to some numbers must name one of them; a key on every number may leave it out for the whole organization. At most 64 characters.
## Responses
### 200
What the AI bots did in the period.
- `object` `"ai_analytics"`, required.
- `from` string, required. The first day, as requested.
- `to` string, required. The last day, as requested.
- `time_zone` string, required.
- `number_id` string or null, required. The number counted, or null for every number of the organization. At most 64 characters.
- `turns` object, required.
- `total` integer, required. Every time the AI bot ran: to answer a message, or to follow up. Minimum 0.
- `finished` integer, required. Turns that are over. A turn still running is not finished. Minimum 0.
- `by_trigger` object, required. Turns by what started them, such as `inbound` or `proactive`.
- `by_status` object, required. Turns by how they ended, such as `sent`, `handed_off`, `discarded` or `failed`.
- `handoffs` object, required.
- `count` integer, required. Turns where the bot handed the conversation to a person. Minimum 0.
- `rate` number or null, required. `count` divided by `turns.finished`, from 0 to 1. Minimum 0. Maximum 1.
- `reasons` array of object, required. The handoffs by reason, most first. A null reason is a handoff with none recorded.
- `reason` string or null, required.
- `count` integer, required. Minimum 0.
- `reply_time` object, required.
- `median_ms` integer or null, required. The median time from a customer message to the bot's reply, in milliseconds. Minimum 0.
- `p95_ms` integer or null, required. 95% of replies took this long or less, in milliseconds. Minimum 0.
- `target_ms` integer, required. The time a reply should take at most, in milliseconds.
- `quality` array of object, required. Replies the bot wrote and did not send, by reason, most first.
- `reason` string or null, required.
- `count` integer, required. Minimum 0.
- `knowledge_used_rate` number or null, required. The share of sent replies that used the bot's knowledge documents, from 0 to 1. Minimum 0. Maximum 1.
- `labels_applied` array of object, required. Labels the bot applied, most first.
- `label_id` string, required. At most 64 characters.
- `name` string or null, required. Null when the label was deleted since.
- `count` integer, required. Minimum 0.
- `follow_ups` object, required.
- `sequences_armed` integer, required. Follow-up sequences that started in the period. Minimum 0.
- `sent` integer, required. Follow-ups sent. Minimum 0.
- `outcomes` array of object, required. Follow-ups by how they ended, such as `sent` or `customer_replied`, most first.
- `outcome` string, required.
- `count` integer, required. Minimum 0.
- `replied` integer, required. Sent follow-ups the customer answered. Minimum 0.
- `awaiting_reply` integer, required. Sent follow-ups whose time to answer has not run out yet. Minimum 0.
- `reply_rate` number or null, required. `replied` over the sent follow-ups whose time to answer has run out, from 0 to 1. Minimum 0. Maximum 1.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `number_not_allowed_for_key`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `number_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/analytics/ai?from=&to=&time_zone=' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/analytics/get-ai-analytics
# List the broadcasts of a period and how each did
`GET https://api.whatsable.app/v1/analytics/broadcasts`
Required scope: `broadcasts:read`.
Lists the broadcasts started from `from` to `to`, newest first and at most 200, with their recipients and their sent, failed and read counts. The table is the one the Analytics page of the dashboard shows.
A key on every number may leave out `number_id` and counts the whole organization. A key limited to some numbers must name one of them in `number_id`, otherwise `403 number_not_allowed_for_key`.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Parameters
- `from` (query) string, required. The first day, YYYY-MM-DD, in `time_zone`.
- `to` (query) string, required. The last day, YYYY-MM-DD, in `time_zone`. At most 90 days after `from`, counting both.
- `time_zone` (query) string, required. The IANA time zone the days are read in, such as `America/Argentina/Buenos_Aires`. At most 64 characters.
- `number_id` (query) string, optional. Only this number. A key limited to some numbers must name one of them; a key on every number may leave it out for the whole organization. At most 64 characters.
## Responses
### 200
The broadcasts of the period.
- `object` `"broadcast_analytics"`, required.
- `from` string, required. The first day, as requested.
- `to` string, required. The last day, as requested.
- `time_zone` string, required.
- `number_id` string or null, required. The number counted, or null for every number of the organization. At most 64 characters.
- `broadcasts` array of object, required. The broadcasts started in the period, newest first. Their counts are as of now, not as of `to`.
- `broadcast_id` string, required. At most 64 characters.
- `name` string, required.
- `status` string, required. One of: `"scheduled"`, `"running"`, `"paused"`, `"completed"`, `"cancelled"`. New values may appear within v1.
- `started_at` string (date-time), required.
- `recipient_count` integer, required. Minimum 0.
- `sent_count` integer, required. Minimum 0.
- `failed_count` integer, required. Minimum 0.
- `read_count` integer, required. Minimum 0.
- `read_rate` number or null, required. `read_count` divided by `sent_count`, from 0 to 1. Null when nothing was sent. Minimum 0. Maximum 1.
- `truncated` boolean, required. True when the period started more broadcasts than the 200 listed. `GET /v1/broadcasts` pages through all of them.
### 400
invalid_request: `validation_failed`.
Body: the error body, under "Error body" below.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `number_not_allowed_for_key`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 404
not_found: `number_not_found`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/analytics/broadcasts?from=&to=&time_zone=' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/analytics/get-broadcast-analytics
# List the team: its members and pending invitations
`GET https://api.whatsable.app/v1/members`
Required scope: `members:read`.
Returns everyone in the organization, with their role and the numbers they may use, and the invitations not yet accepted. The Team page of Settings shows the same.
> **Read only.** Inviting someone, changing a role and removing someone need a signed-in person, because a seat is billed and a role grants privileges. Use Settings > Team in WhatsAble.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Responses
### 200
The team.
- `object` `"team"`, required.
- `members` array of object, required. Everyone in the organization, owners first.
- `object` `"member"`, required.
- `id` string, required. At most 64 characters.
- `name` string or null, required.
- `email` string, required.
- `role` string, required. One of: `"owner"`, `"admin"`, `"member"`. New values may appear within v1.
- `number_access` string, required. `all`: every number, including numbers added later. `selected`: only `number_ids`. An owner or an admin is always `all`. One of: `"all"`, `"selected"`. New values may appear within v1.
- `number_ids` array of string, required. The numbers a `selected` person may use. Empty for `all`.
- `created_at` string (date-time), required. When the person joined the organization.
- `invitations` array of object, required. Invitations not yet accepted, as the Team page shows them.
- `object` `"invitation"`, required.
- `id` string, required. At most 64 characters.
- `email` string, required.
- `role` string, required. One of: `"owner"`, `"admin"`, `"member"`. New values may appear within v1.
- `number_access` string, required. `all`: every number, including numbers added later. `selected`: only `number_ids`. An owner or an admin is always `all`. One of: `"all"`, `"selected"`. New values may appear within v1.
- `number_ids` array of string, required. The numbers a `selected` person may use. Empty for `all`.
- `expires_at` string (date-time), required. When the invitation expires, unless it is sent again.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/members' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/members/list-members
# List the inbox's saved replies
`GET https://api.whatsable.app/v1/saved-replies`
Required scope: `messages:read`.
Returns the replies the team saved in the inbox, most used first, then by title. An organization holds at most 200, so the list is never paginated: `has_more` is always false.
To send one, send its `body` as a text message. A send through the API does not count as a use, so it does not move the reply up the list. Saved replies are written under Settings > Saved replies in WhatsAble.
## Authorization
`Authorization: Bearer ` (HTTP bearer, `bearerAuth`). The key looks like `nfy_live_<32 characters>`. An API key from Settings > API keys, sent as `Authorization: Bearer `.
## Responses
### 200
Every saved reply, most used first.
- `object` `"list"`, required.
- `data` array of object, required.
- `object` `"saved_reply"`, required.
- `id` string, required. At most 64 characters.
- `title` string, required. The name the team picks it by. It is not sent.
- `body` string, required. The text to send, as the inbox inserts it.
- `has_more` boolean, required. True when another page follows this one.
- `next_cursor` string or null, required. Pass as `cursor` to read the next page. Null on the last page. Valid for 24 hours.
### 401
authentication: `api_key_in_wrong_place`, `api_key_missing`, `invalid_access_token`, `invalid_api_key`, `legacy_api_key_not_accepted`.
Body: the error body, under "Error body" below.
### 403
permission: `feature_not_in_plan`, `insufficient_scope`, `plan_inactive`.
Body: the error body, under "Error body" below.
### 429
rate_limit: `rate_limited`.
Body: the error body, under "Error body" below.
### 500
internal: `internal_error`.
Body: the error body, under "Error body" below.
### Error body
Every 4xx and 5xx response above has this body.
- `error` object, required.
- `type` string, required. The class of the error. Each type has exactly one HTTP status, such as `invalid_request` for 400. One of: `"invalid_request"`, `"authentication"`, `"permission"`, `"not_found"`, `"conflict"`, `"precondition_failed"`, `"unprocessable"`, `"rate_limit"`, `"internal"`, `"unavailable"`.
- `code` string, required. The stable code a program branches on. Open: new codes are added under an existing status. One of: `"validation_failed"`, `"invalid_address"`, `"template_variable_missing"`, `"invalid_cursor"`, `"from_conflicts_with_conversation"`, `"media_too_large"`, `"media_type_unsupported"`, `"api_key_missing"`, `"invalid_api_key"`, `"api_key_in_wrong_place"`, `"legacy_api_key_not_accepted"`, `"invalid_access_token"`, `"insufficient_scope"`, `"number_not_allowed_for_key"`, `"plan_inactive"`, `"feature_not_in_plan"`, `"organization_not_live"`, `"number_over_plan"`, `"number_not_found"`, `"template_not_found"`, `"contact_not_found"`, `"conversation_not_found"`, `"message_not_found"`, `"label_not_found"`, `"media_not_found"`, `"route_not_found"`, `"scheduled_message_not_found"`, `"broadcast_not_found"`, `"ai_bot_not_found"`, `"knowledge_file_not_found"`, `"ai_bot_file_not_found"`, `"conversation_note_not_found"`, `"idempotency_key_reused"`, `"idempotency_request_in_progress"`, `"template_name_conflict"`, `"template_waba_not_connected"`, `"template_used_by_broadcast"`, `"label_name_conflict"`, `"ai_bot_name_conflict"`, `"precondition_failed"`, `"session_window_closed"`, `"template_not_approved"`, `"template_wrong_waba"`, `"template_not_supported"`, `"template_rejected_by_meta"`, `"number_not_sending"`, `"contact_has_no_address"`, `"label_limit_reached"`, `"free_tier_limit"`, `"ai_bot_limit_reached"`, `"scheduled_message_not_pending"`, `"broadcast_not_cancellable"`, `"broadcast_not_pausable"`, `"broadcast_not_resumable"`, `"ai_bot_not_archived"`, `"ai_bot_archived"`, `"ai_bot_file_limit_reached"`, `"ai_bot_text_too_long"`, `"label_not_available_on_number"`, `"reply_target_not_quotable"`, `"message_has_no_figures"`, `"rate_limited"`, `"internal_error"`, `"service_unavailable"`. New values may appear within v1.
- `title` string, required. A short summary for a person. Wording may change.
- `message` string, required. What happened, for a person. Wording may change.
- `how_to_fix` string, required. What to change so the request succeeds.
- `param` string or null, required. The offending field in dotted path form (`template.variables.2`), or null.
- `source` string, required. Who returned the error: `meta` (WhatsApp) or `whatsable`. One of: `"meta"`, `"whatsable"`.
- `owner` string, required. Who must act: `caller` (change the request or the account), `whatsable`, or `meta`. One of: `"caller"`, `"whatsable"`, `"meta"`.
- `retryable` boolean, required. Whether the same request may succeed later without a change.
- `docs_url` string, required. The docs page for this code.
- `details` object, required. Structured facts for this code, such as `required_scope` or `meta_code`. Empty when there are none.
- `request_id` string, required. The `X-Request-Id` of this response. Quote it to support.
## Example request
```bash
curl -X GET 'https://api.whatsable.app/v1/saved-replies' \
-H 'Authorization: Bearer '
```
Source: /api-reference/v1/saved-replies/list-saved-replies