Guides
Introduction
The WhatsApp Cloud API simulator in Mimicr answers on the same Graph API paths so you can build and test without a real number or phone.
The simulator reproduces Meta's WhatsApp Cloud API: sending messages (text, template, media, interactive, location, contacts and reactions), read receipts, templates with review, media upload, phone numbers, business profile, blocking, Flows, Facebook Login with Embedded Signup and webhooks signed with X-Hub-Signature-256. It answers at https://whatsapp.mimicr.dev with the same versioned Graph API paths (/v24.0/...), the same bodies and the same error envelope.
On the other side of the conversation are test customers: numbers with a persona that deliver, read and reply the way you configure, and that you can also drive through the control API.
Host swap
| Meta | Mimicr |
|---|---|
https://graph.facebook.com/v24.0/{phone-number-id}/messages | https://whatsapp.mimicr.dev/v24.0/{phone-number-id}/messages |
https://graph.facebook.com/v24.0/{waba-id}/message_templates | https://whatsapp.mimicr.dev/v24.0/{waba-id}/message_templates |
https://graph.facebook.com/v24.0/{media-id} | https://whatsapp.mimicr.dev/v24.0/{media-id} |
https://graph.facebook.com/v24.0/oauth/access_token | https://whatsapp.mimicr.dev/v24.0/oauth/access_token |
https://www.facebook.com/v24.0/dialog/oauth | https://whatsapp.mimicr.dev/v24.0/dialog/oauth |
https://connect.facebook.net/en_US/sdk.js | https://whatsapp.mimicr.dev/en_US/sdk.js |
The access token, phone-number-id, waba-id, App ID and app secret are those of your Mimicr sandbox. Any version from v18.0 on works in the path.
What the simulator covers
- Sending messages with Meta's validations (text limits, buttons, lists, template parameters) and asynchronous
sent,delivered,readandfailedstatuses. - The 24-hour customer service window: a free-form message outside the window fails with
131047. MARKETING,UTILITYandAUTHENTICATIONtemplates, with review, quality, recategorization and the webhook of each event.- Media by upload or link, with a temporary download URL.
- Phone numbers: registration, two-step verification PIN, verification code, business profile and user blocking.
- Several businesses (WABAs) in the same app, with tokens that only see their own WABA.
- Facebook Login, Embedded Signup (including coexistence) and the replacement
sdk.js. messages,user_preferences, template, phone number quality and account webhooks, with signature,hub.challengehandshake and retries.
What Mimicr adds
With Meta you don't control the customer's phone. In Mimicr, each sandbox has test numbers with personas (fast responder, OTP receiver, no WhatsApp, marketing saturated, opt-out), modes (manual, mixed, auto), OTP scenarios, audience rules for campaigns, its own clock and chaos (duplicate, out-of-order or delayed webhooks, throughput limit). All of it is in the console, the control API (https://api.mimicr.dev/v1/whatsapp), the CLI (npx mimicr) and the MCP server.
Where a behaviour is Mimicr's own decision, the guides say so with "In Mimicr, ...". That is not a promise about Meta's production behaviour.
Where to start
- Quickstart: from the sandbox to the first webhook.
- Authentication, Environment and Sandbox testing.
- Messages: send messages, interactive, templates and media.
- Webhooks: set up, incoming messages, delivery statuses and signature.
- Sandbox control: every route to act as the customer and as Meta.
- Reference: start with Send a message and Create a template.