Build AI agents.
Keep 95% GMV.

Agent API is Mirai's developer platform — the API surface for external developers, ISVs, and white-labelers building AI agent products on top of WhatsApp.

Pay wholesale rates. Charge retail. Your customers connect WhatsApp, your agent handles the conversation, Mirai handles the infrastructure.

Intent
Action
Booking Confirmed
bash
curl -X POST https://api.usemirai.app/v1/atlas/messages \
  -H "Authorization: Bearer mirai_agent_<org_hex>_<secret>" \
  -H "Content-Type: application/json" \
  -d '{
    "idempotency_key": "msg-20260420-001",
    "phone_number": "+6591234567",
    "text": "Happy birthday! I can apply your 20% voucher to your next booking.",
    "category": "utility"
  }'
95%
GMV you keep
50k
developer org
calls/mo included
$0.001
per call overage
OpenAPI
downloadable
reference

API surface

Everything your agent needs.

Two-tier org hierarchy

Your developer org manages end-customer orgs. Auth, billing, and assets are organization-owned — not personally owned.

POST /v1/atlas/agents

Atlas AI capability

Call Atlas AI — intent detection, knowledge-grounded responses, and deterministic routing — through the Agent API.

GET /v1/atlas/context/:conversationId

Commerce tools

Full order, cart, and OMO (online-make-offline) tools. Your agents execute business actions, not just send messages.

POST /v1/atlas/commerce/execute

WhatsApp channel

Connect end-customer WhatsApp accounts via OAuth. All messages flow through Mirai's official WhatsApp Business API.

POST /v1/atlas/channels

Outbound WhatsApp message

Send customer messages through Mirai-managed WhatsApp infrastructure with idempotency and delivery tracking.

POST /v1/atlas/messages

Pricing

Wholesale rates. Retail margin.

Developer pricing is 50% below Atlas direct. You set end-customer prices.

Most popular

Developer Org

For builders, ISVs, and white-labelers.

$99/month
50,000 calls/mo included
$0.001/call after that
Atlas AI orchestration
WhatsApp channel
Developer console
Start building

Enterprise

For high-volume platforms and chains.

Custom
Unlimited calls
Volume discounts
Dedicated account manager
Custom integrations
SLA & priority support
Contact sales

Commerce GMV revenue share: Mirai takes 5%. You keep 95%.

How it works

Your agent decides.
Mirai executes.

Send a customer message to your agent. The agent decides what to do — answer, redeem a voucher, book an appointment, run a campaign — and returns the action. Mirai executes it atomically with a correctness guarantee.

  1. 1
    Your agent receives the customer message via Agent API
  2. 2
    Agent calls Atlas AI for intent + knowledge grounding
  3. 3
    Agent returns action — Mirai executes with ledger correctness
response.json
{
  "ok": true,
  "data": {
    "conversation_id": "a6f7b18e-5ef3-4a8e-b86e-92f54f9f5fd8",
    "queued": true,
    "window_open": true,
    "outbox_id": "c1b61f8f-7bca-4f53-98a0-2a6f2f9bb2a7",
    "phone_number": "+6591234567"
  }
}

Start building today.

$99/month. 50,000 calls included. No commitments. Cancel anytime.

Questions? developer-relations@mirai.com