API reference
Every route open to API keys, generated from the real service definition, with examples in curl, Node.js, Python and PHP.
| Base URL | https://micuenta.whatsmarketing.es/api/v1 |
|---|---|
| Authentication | Authorization: Bearer wm_live_… |
| Format | JSON · UTF-8 · ISO 8601 |
| Rate limit | 600 / min |
ContactsThe people your organization talks to: details, lifecycle stage, tags, channel identities, consent and notes. A contact can have several ideConversationsReferences to the inbox conversations: who with, through which channel, in what status and who is handling it. Message content lives in the MessagesSend a WhatsApp message to a number and check what happened to it. An approved template goes to any number; free text only if the person wroWhatsApp linesYour WhatsApp numbers and their health at Meta: quality, messaging tier, whether they are paused and why, and whether they still need registCampaignsCampaigns with Meta-approved templates: create, choose the audience, preview the cost before sending, send now, schedule or stagger, pause aAutomationsTrigger, condition and action flows defined in the dashboard. The API lists them and shows their runs.ReportsThe dashboard reports, ready for your own reporting dashboard: sales, lifecycle, campaigns, wallet, team and conversations.WebhooksSubscribe and unsubscribe webhooks from your system, the way Zapier and Make triggers do. Needs `webhooks:write` on a key created by an admiAI agentsYour organization's AI agents and their settings. They are read-only through the API: you create, train and activate them in the panel. TheyMCP serverConnect an AI assistant to your account with the MCP protocol. It uses your API key and only offers the tools that key is allowed to use.WhatsApp templatesYour organization's templates and their status at Meta. They need the `templates:read` permission. To send a template to a number, see `POSTWalletYour organization's balance and transactions. Read-only through the API: you top up in the panel. It needs the `wallet:read` permission.
Scopes
| Scope | Routes it opens |
|---|---|
bots:read | 5 |
webhooks:write | 8 |
contacts:read | 9 |
contacts:write | 9 |
conversations:read | 5 |
messages:send | 5 |
campaigns:read | 7 |
campaigns:write | 10 |
automations:read | 6 |
reports:read | 11 |
templates:read | 5 |
templates:send | 5 |
wallet:read | 5 |
numbers:read | 4 |