On this page

#WhatsApp

WhatsApp on Vatio is two things: the number the agent answers on, and the people on the team, each with their own WhatsApp.

#The number

The agent answers on one of two numbers:

NumberSetupWho it answersWith which version
Vatio's shared numberNone: no Meta accountThe team, and the workspace's customer phonesThe newest, which your team has at once (environment: "preview" in the API)
Your business's own numberConnected through Meta, on the inbox's WhatsApp pageEveryone who writes, your customersThe one everyone has (environment: "live")

A change reaches your team at once and everyone once the tests that pass today pass on it, a few minutes later (Deployments), so the two numbers differ only while a change is on its way or held.

Your own number is connected on the inbox's WhatsApp page whenever you are ready (the MCP's get_whatsapp gives the link as connect_url); see Connect your business number. Conversations on Vatio's shared number are in Conversations, marked Team.

#The team on WhatsApp

Everyone on the team has an email, a role and their own WhatsApp. A person's WhatsApp is verified once, on their Vatio account, in any of three ways:

From that phone, on either number, the agent knows who is writing and offers them the tools for their role (access: supervisor, developer or owner). On Vatio's shared number the same phone reaches the agent of their workspace with nothing else to set up. Who it reaches there:

RoleReaches the agent on Vatio's shared number
Owner, developerOn every workspace they work on
Team (supervisor)Only on workspaces whose own number is not answering yet (none connected, or Live off on it)
Viewer (a read-only role kept from before, no longer offered when inviting)Never

The inbox's WhatsApp page lists the team read-only under Who writes to it: name, role and the last four digits of each person's WhatsApp, or WhatsApp not verified until they verify it. The MCP's list_team, the owner's, shows the same digits for each person, as whatsapp, null for someone who has not verified theirs.

#Someone on several teams

A person on the team of several workspaces who writes to Vatio's shared number gets a WhatsApp list, Which agent do you want to talk to?, with up to 10 of those workspaces, the one they wrote to last first. The message they wrote goes to the agent they pick, and they stay with that agent: their next messages go to it with no question.

To switch, send /new. It starts over, as it does for anyone (see below), and for someone on several teams it shows the list again.

#Talk to your agent on the shared number

You do not need a Meta account.

  1. Open Conversations → Try the agent → WhatsApp in the inbox.
  2. If your WhatsApp is not verified yet, scan the QR code with your phone. WhatsApp opens on Vatio's shared number with a message already written that carries a 6-character code of letters and digits; send it. With no camera at hand, send that code to the number yourself: the page shows both. That message proves the phone is yours: it becomes your verified WhatsApp, as if you had verified it under Account. Vatio confirms it on WhatsApp right away, and the page updates by itself.
  3. If it is verified already, the page shows it, and whether it talks to this agent, to another workspace's, or has not picked one yet; Use here brings it to this one, with no code. Open WhatsApp, or the QR code, opens the chat with the number.
  4. Write to the agent from that phone, and read the conversation in Conversations, marked Team. Under each of the agent's replies is what it did: the tools it called and what they returned, and the knowledge it read.

To start over, send /new. The next message begins a new conversation, signed out, instead of continuing the current one until it has been quiet for eight hours; for someone on several teams, /new also shows the list of agents again. It works only on Vatio's shared number.

A phone on Vatio's shared number talks to the newest version, the one your team has, and its conversations are your team's, never your customers'. Your customers write to your own number.

run_tests replays every case as the newest phone that talks to the workspace on Vatio's shared number, or else as the verified WhatsApp of someone on its team, the owner first: a tool that looks people up by $contact.phone_number gets that number, in every replay. A replay sends nothing to the phone.

#Customer phones

To see what a customer sees, talk from a phone that is not anyone on the team's: a customer phone. The agent treats it as a customer, with no tools for a role.

In Conversations → Try the agent → WhatsApp, under Customer phones, choose Add a customer phone. It shows a QR code and a code, as above; whoever holds the phone scans it, or sends the code to the number, and needs no Vatio account. The same panel lists the workspace's customer phones and removes them. A workspace has up to five.

A code lasts 15 minutes and works once; the QR code on the page renews itself. A customer phone talks to one workspace at a time: sending another workspace's code from it moves it there. The MCP's chat_with_agent with as_phone: "+56912345678" speaks as one of the workspace's customer phones (Talking to the agent).

#Connect your business number

For your customers, open WhatsApp in the inbox and choose Connect the business's WhatsApp. Complete Meta's signup in the window that opens. This step is the inbox's alone: Meta's consent screen only opens in a browser, so the MCP cannot connect a number. It can do everything after:

MCP toolWhat it does
get_whatsappThe number, whether it is live, its issue if Meta refuses its sends, and connect_url while there is none
update_whatsapplive: true starts the agent's replies on the number, false pauses them; repair: true is Verify: checks the number with Meta and resubscribes it, and with pin registers it first; team_template sets the template that opens WhatsApp with the team for the agent's questions (the owner's). What is left out stays as it is
disconnect_whatsappDeletes the integration
invite_whatsapp_connectorAsks whoever manages the number to connect it (below)
list_whatsapp_templates, create_whatsapp_template, delete_whatsapp_templateThe templates the number sends outside the 24-hour window; listing fetches them from Meta first, so one made in Meta's own tools is listed too
list_failed_messagesMessages that failed for good, with Meta's error

A newly connected number is paused: it keeps working exactly as before until you switch Live on, which is what starts its replies, with the version everyone has. If Meta has not registered it on the WhatsApp Cloud API yet, the page asks for its two-step verification PIN once (see below). The same page says whether Meta is delivering the number's messages; Verify runs that check again and resubscribes the number. With Live on, the agent answers everyone who writes to the number; switching Live off pauses replies, so it answers nobody; deleting the integration removes the connection. Renew access reconnects the same number. Delete the integration first to change numbers.

#When Meta stops the number sending

Some errors from Meta fail every send from the number, not one recipient's: the number is not registered on the WhatsApp Cloud API (133010, 131045), Meta no longer accepts Vatio's access token (0, 190), a permission is missing (3, 10, 131005, 200–299), the account is locked (131031), blocked for a policy violation (368) or has a payment problem (131042), the display name is not approved (131037), or Vatio can no longer reach the number (100 with subcode 33: Vatio's app was removed from the WhatsApp Business Account, or the number was deleted or moved out of it; reconnect it with Renew access, choosing the same business and number). Verify also asks Meta for the number's health status, and a number Meta says cannot send counts the same.

The first such error opens an issue on the number. Until it closes:

  • the server API refuses messages from the number with 409 whatsapp_number_unhealthy instead of answering 202 and failing later, and messages waiting for a retry fail with that code;
  • the agent's replies on the number do not go out;
  • the owner and every developer get one email, and your webhooks one channel.issue, except for a number that was connected a moment ago and is not registered yet;
  • the WhatsApp page and the MCP's get_whatsapp (as issue) show since when, Meta's code and message, and the fix.

Vatio asks Meta again every 15 minutes, and Verify, or the MCP's update_whatsapp with repair: true, asks at once. When a check passes, the issue closes, sends resume and your webhooks hear channel.recovered. A message Meta delivers after the issue opened closes it too.

A number that is not registered (133010) was just connected for the first time, or was registered again in the WhatsApp app or with another provider. Register it on the Cloud API with its 6-digit two-step verification PIN: in the PIN field the WhatsApp page shows for this issue, or with the MCP's update_whatsapp:

{ "workspace": "acme", "repair": true, "pin": "123456" }

If the number has no PIN, the 6 digits you choose become its PIN. If you forgot it, set a new one in WhatsApp Manager under the number's Two-step verification. Vatio passes the PIN to Meta and does not keep it.

#When someone else manages the number

The number often belongs to someone else, such as the business you build the agent for, under a Facebook account you do not have. Ask them to connect it: on the inbox's WhatsApp page, Ask whoever manages it (next to Connect the business's WhatsApp, or under Details once a number is connected) opens a field for their email. Only the owner can ask. The MCP's invite_whatsapp_connector does the same, with code or recovery_code when the owner has a second factor:

{ "workspace": "acme", "email": "maria@example.com", "code": "123456" }

They get an email, "{your name} asks you to connect {workspace}'s WhatsApp so its agent can answer", with a link to a page where they complete Meta's signup from their own Facebook account; the same page renews the access token later. They join the workspace as a supervisor (someone already on the team keeps their role). The email's link opens that page with no sign-in for 7 days, and only that page: the inbox still asks them to sign in. After that they sign in, or you ask them again for a fresh link.

Below it, the page shows how far each person you asked has got: email sent, connect page reached, in Meta's signup, left it without finishing (and at which step), or connected, with the full history a click away. You get an email once the number is connected. It arrives paused: you switch Live on on the inbox's WhatsApp page (or with the MCP's update_whatsapp), and Verify and deleting the integration stay there too. The link under that list opens the connect page for anyone already on your team, and for nobody else.

The connection flow supports keeping your WhatsApp Business phone app. A reply sent from that app starts human takeover on the conversation; release the chat in the inbox when the agent should resume.

#Talking to your agent from the app

The team's conversations work the other way. In a chat with someone on the team, by the WhatsApp verified on their account (see The team on WhatsApp), what you send from the WhatsApp Business app is a message to the agent, as if it came from that number: the agent answers it, a voice note is transcribed, a forwarded message keeps its label, and it never starts a takeover. If the business's own number belongs to a verified team member, Message yourself works the same way: forward it anything you get and ask the agent what to do with it, or have it hand the work to Claude Code.

These conversations are the team's, so they are the only ones that get a tool with a team access (supervisor, developer or owner): the agent can update stock, confirm a payment or read today's orders for you, from WhatsApp, while every customer on the same number never sees those tools. A photo you send from Message yourself is one the agent can pass to a tool, to add a product with its picture, say.

An edit, by the contact or from that app, within WhatsApp's 15 minutes, rewrites the message in place: the inbox marks it Edited and the agent reads the new text from then on. It is not a new message, so the agent does not answer it and it starts no takeover. A message deleted for everyone, by the contact within WhatsApp's two days or from that app, is deleted from Vatio too: it leaves the inbox and the agent's history.

A forwarded message keeps WhatsApp's label: the inbox marks it Forwarded, or Forwarded many times past five forwards. The agent knows the words came from another chat, so it takes them as something the contact is showing it rather than their own request, and does not vouch for what a chain message claims.

A link the agent gives as a button (button: true under links, or a URL a tool returns in a field of respond.buttons) goes out as an interactive message: the reply's text, and one button under it that opens the link, with the link's domain shown beneath it. The button says what the agent wrote, up to WhatsApp's 20 characters, or "Open link" in the contact's language when that is longer. Every other link stays in the text.

A private tool needs the contact signed in. With an identify_url set (set_auth), Vatio first asks your backend who the number is, and one of your users starts the conversation already signed in. Otherwise, with a sign_in_url set, Vatio sends them a Sign in button that opens your site, and the conversation carries on once they are back. See On WhatsApp and Instagram.

#Ratings

When a conversation wraps up, Vatio asks the contact how it went: a question in the agent's own words with three buttons, Good, So-so and Bad, a few seconds after the agent's last message if the contact closed the topic, or two minutes after it if they went quiet once the agent had given them what they asked for (see the widget's two moments). It asks once per conversation, at most once every 30 days per contact, and not if the contact writes again first. On the live number nobody on the team is asked: a teammate writing from their own verified number is working with the agent, not rating it. An agent with ask_for_rating: false never asks.

The button the contact taps is their answer to the agent: it goes into the conversation as their message, and the agent replies to it knowing the rating. Say what it should do in its instructions. With nothing there, it thanks them, and on So-so or Bad asks what could have gone better. To ask happy customers for a review, add a line to the instructions and the two links with the MCP's update_agent:

{
"workspace": "acme",
"instructions": "…\nWhen a contact rates the conversation Good, thank them and ask them to review the app: the app_store link for an iPhone, play_store for Android, both when you do not know which they use.",
"links": {
"app_store": "https://apps.apple.com/app/id000000000",
"play_store": "https://play.google.com/store/apps/details?id=com.example"
}
}

instructions and links each replace what is there, so pass the whole text with the new line added and every link the agent keeps (Agents).

A tool that knows the contact's phone can pick the store for them instead. Where the agent does not answer the contact (the number is paused), Vatio sends a fixed thanks. The rating lands in the inbox, next to the widget's, and reaches your backend as a feedback.submitted webhook.

#What Meta charges

Meta bills the business for the messages its number delivers, directly and in the account's own currency; Vatio charges nothing per message. Since October 1, 2026 that includes the agent's replies: every number gets 1,000 free replies a month, and the rest cost Meta's rate for the recipient's country. Templates are charged by category (marketing, utility, authentication), and everything sent in the window that opens when someone writes from a Click to WhatsApp ad is free. Meta's pricing page has the rules and the rates.

Analytics estimates it (its WhatsApp cost tab, and the whatsapp_cost query): it counts the messages Meta reported as billed, leaves out each number's first 1,000 replies of the month, and prices the rest at Meta's list rate for the recipient's country, in USD, along with how many of this month's free replies are used. While a number is within them, its replies add nothing. Meta's own invoice can come out lower, because utility and authentication get cheaper on volume. Messages on Vatio's shared number are never yours to pay.

#Send from your backend

Your backend can also start a conversation, two ways:

  • Wake the agent with POST /api/server/v1/:slug/events: a number and what happened, such as "order #1042 shipped today". The agent looks it up and writes the message, or nothing when nothing is worth saying; with required: true it always writes.
  • Send as written with POST /api/server/v1/:slug/messages: your own text, or a template.

Free-form text, the agent's or yours, goes out only if the person wrote in the last 24 hours. Otherwise WhatsApp only delivers an approved template, so send one along and Vatio uses it; create it with the MCP's create_whatsapp_template:

{
"workspace": "acme",
"name": "order_shipped",
"language": "es",
"category": "utility",
"body": "Hola {{1}}, tu pedido {{2}} va en camino.",
"examples": ["Ana", "#1042"]
}

Meta reviews it; list_whatsapp_templates shows its status. When the person answers, the agent has what was sent and why in front of it, and your backend hears about it through a webhook.

Last updated:

Latest release: 0.144.0 · Changelog · The whole contract as Markdown: /docs/docs.md