#API Reference
Base URL: https://vatio.ai. Request bodies are JSON; send
Content-Type: application/json on requests with a body.
Your customers do not use this API. A browser or an app talks to Vatio through the SDK with a publishable key, over a separate surface that exposes one conversation and nothing else about the workspace.
#What your backend can call
#Secret keys and scopes
These endpoints take a secret key: a live key, vsk_live_…, or a test key,
vsk_preview_…, that only reaches your team on Vatio's shared number (see
Secret keys). A secret key is created in the
inbox, under Settings → API keys, and nowhere else: its value is shown
once, to a person, and a chat transcript with a coding agent is no place for
it. The MCP lists keys (list_api_keys) and revokes them (revoke_api_key),
but does not create a secret one.
Each key has scopes that say which endpoints it may call:
| Scope | What it calls |
|---|---|
messages | Send and read messages, list templates, and post events |
instagram | Read the comments on your Instagram posts |
chats | Read a conversation |
status | Read the WhatsApp number and the agent's health (Status): never a conversation's words or a contact |
team | Add, list and remove team members |
A key made with the inbox's New key form has messages, instagram,
chats and status. team is never given unless asked for: the workspace
owner, and only the owner, ticks Also let it add and remove people on the
team in the same form, and confirms it is them. A call outside the key's
scopes answers 403 insufficient_scope.
#Everything else is the MCP and the inbox
The agent, its tests, where a change stands and undoing it, secrets, knowledge bases, schedules, the publishable key the app takes, channels and your team's own conversations with the agent, the team, keys and where each is used from, webhooks, quiet hours and the business are done through the MCP, from your coding agent or any MCP client, and in the inbox.
The inbox alone does three things, because the MCP cannot:
- Creating a secret key or a webhook endpoint. Its secret is shown once, to a person.
- Connecting WhatsApp or Instagram. Meta's consent screen only opens in a browser.
- Paying for a plan. The checkout is the payment provider's page.
The HTTP endpoints behind the MCP and the inbox are internal to them: they are not a supported surface, they are not documented, and they can change without notice. Do not build on them.