Skip to content
Z-API Omni

WhatsApp API and MCP for AI agents: your agent on WhatsApp in minutes

Scan a QR Code, add the MCP server to your AI client and your agent can read and send WhatsApp messages. Prefer code? The same number answers a plain REST API.

No Meta setup. Your agent sends its first message today.

From prompt to message, no glue code

The MCP server exposes WhatsApp as tools your agent can call. Describe what you want; the agent does the sending.

No Meta onboarding to get stuck in

No business verification and no template approval for the QR Code connection. Weekend projects stay weekend projects.

Cheap enough to experiment

US$29 per number per month, no per-message fees, so a chatty agent does not turn into a surprise bill.

How it works

1

Scan

Create your account and scan the QR Code with a number you control. A spare number is a good idea while you experiment.

2

Connect

Copy your token, then add the MCP server to Claude, Cursor or another MCP client, or call the REST API directly.

3

Send

Ask your agent to send a message, or run one curl command. All inside your 2-day free trial.

Two ways in: MCP or REST

Use the MCP server when an AI client does the work. Use the REST API when your own code does.

MCP client configjson
{
  "mcpServers": {
    "z-api-omni": {
      "url": "https://mcp.omni.z-api.io/mcp",
      "headers": { "Authorization": "Bearer YOUR_TOKEN" }
    }
  }
}
Send a message with curlbash
curl -X POST "https://api.omni.z-api.io/v1/channels/${CHANNEL_ID}/messages" \
  -H "Authorization: Bearer ${OMNI_SECRET_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "recipient": { "identifier": "5511999999999" },
    "content": { "type": "TEXT", "body": { "message": "Hello from my agent" } }
  }'

Example prompt

Send a WhatsApp message to my test number saying the build passed.

QR Code connection: your questions answered

What does the QR Code connection mean for an AI project?

Your agent uses a real WhatsApp number, linked the same way WhatsApp Web is. No Meta developer app, no business verification, no templates. The official API is also available on Z-API Omni if your project grows into it.

Do I need a Meta developer account or approved templates?

No. That is the point of the QR Code connection: you skip Meta's onboarding entirely and send free-form messages.

Can an AI agent get my number blocked?

Yes, if it behaves like a spammer. Keep a human in the loop for outbound messages, rate-limit your agent, only message people who contacted you or opted in, and test on a spare number first. No provider can promise a number will never be blocked.

Can I use my personal number?

For experiments, a separate number keeps your personal chats out of your agent's reach.

What does it cost to keep an agent running?

US$29 per number per month, with no per-message or per-request fees, so agent loops do not multiply the bill. The first 2 days are free. No credit card required.

When should my project move to the official API?

When you start sending marketing to large lists, need a verified badge, or a client requires Meta's official channel. You can switch numbers on Z-API Omni without rewriting your agent.

Give your agent a WhatsApp number tonight

Scan, add the MCP server, send. 2 days free, then US$29 per number per month.