API and integration

WhatsApp gateway API

Pointing an existing integration at our number without rewriting it.

The system exposes a Maytapi-compatible gateway. If your software is already written against the Maytapi API, changing the base URL and the token is enough — the logic does not need rewriting.

Authentication

Every request carries an x-api-token header. There is no phone or product id in the path — the token already determines which number the call belongs to.

What it can do

AreaOperations
MessagesSend text, read a chat's messages
SessionStatus, QR code, log out
GroupsList, detail, create, add/remove members, promote/demote admins, leave
ContactsCheck whether a number is on WhatsApp, list contacts and conversations

Reference

  • /api/whatsapp/mt/guide — the connection guide
  • /api/whatsapp/mt/docs — interactive API reference (admins only)
  • /api/whatsapp/mt/openapi.json — machine-readable spec (admins only)
The gateway is backed by our real WhatsApp connection — calls send REAL messages. Use a separate test number while developing.