Messenger API

Messenger in your app, with one simple API.

Send replies to your Page's customers, receive new messages on your webhook, and keep your team in the Warid inbox on the same chats. The same API covers WhatsApp and Instagram.

Start freeOfficial Meta Messenger Platform
reply.ts
await fetch(`${API}/api/v1/messages`, {
  method: "POST",
  headers: { Authorization: `Bearer ${key}` },
  body: JSON.stringify({
    contactId, // a WhatsApp, Instagram or Messenger contact
    text: "Your table for 6 is booked for Friday at 8 pm.",
  }),
});
POST /webhooks/warid200
{ "event": "message.updated", "status": "delivered" }

What you get

One API for every Meta channel

  • Send and receive

    POST /api/v1/messages sends text or an image to a Messenger contact. New messages arrive on your webhook.

  • One API, three channels

    The same endpoints and webhooks work for Messenger, WhatsApp and Instagram.

  • Delivery and read updates

    A message.updated webhook tells you when a reply was delivered and read.

  • Window checks built in

    A reply sent more than 24 hours after the customer's last message returns 422 window_closed, so nothing goes out that Meta would reject.

  • MCP for AI assistants

    Connect Claude, ChatGPT, Cursor and others to your inbox through the Warid MCP server.

  • Connect with Warid

    Building for other businesses? Add a Connect with Warid button and work with their chats once they allow it.

How it works

Up and running in three steps

  1. 1

    Connect your Pages

    Log in with Facebook and pick the Pages to connect.

  2. 2

    Create an API key

    Make a key in the dashboard and pick what it can do.

  3. 3

    Send your first reply

    One POST request, and the reply shows up in your inbox too.

Questions

Asked often

  • Yes. Warid connects through Meta's Messenger Platform, with your own Facebook login.

  • No. Messenger only lets a business reply after the customer writes first, so the API sends replies within 24 hours of their last message.

  • Yes. Messages your app sends show up in the inbox, and your team's replies go out from the same Page.

  • The developer guide at warid.chat/docs walks you through keys, sending, webhooks and MCP, with examples you can copy.

Your customers are already writing.

Give your team one calm place to answer them, and an assistant that never sleeps.

Start free

$5 of free credit. No card needed.