M4C / DEVELOPERS

APIs developers
actually enjoy.

Consistent REST endpoints for every channel, typed SDKs, signed webhooks and a sandbox that mirrors production.

M4C SDK code editor sending a WhatsApp message, with API reference panel and channel icons

Your first message in minutes.

  1. 01
    Create an accountGet sandbox keys instantly.
  2. 02
    Install the SDKnpm, pip, composer, maven or go get.
  3. 03
    Send a messageOne call, any channel.
  4. 04
    Listen for webhooksDelivery, read and reply events.
terminal
$ npm install @m4c/sdk
+ @m4c/sdk
index.js
import M4C from '@m4c/sdk';
const m4c = new M4C(process.env.M4C_KEY);

const msg = await m4c.messages.send({
  to: '+91XXXXXXXXXX',
  channels: ['whatsapp', 'sms'],
  template: 'welcome'
});

console.log(msg.status); // "accepted"

SDKs & tools

Node.jsnpm i @m4c/sdk
Pythonpip install m4c
PHPcomposer require m4c/sdk
Javain.m4c:sdk
Gogo get m4c.in/sdk
.NETdotnet add M4C
Postmancollection
OpenAPIopenapi.yaml
SANDBOX

Test without sending

Build against real API responses with sandbox keys. No messages are sent to real phones or inboxes.

Start in the sandbox →
POSTMAN · OPENAPI

Postman collection & OpenAPI spec

Explore every endpoint in Postman, or generate a client in your own stack from the OpenAPI spec.

See SDKs & tools →
SUPPORT

Talk to an engineer

Integration help from people who built the API.

Get help →