Main
🏠 Home ℹ️ About Us
WhatsApp
💬 WhatsApp Business API (WABA) 🔐 OTP & TAC via WhatsApp 🤖 WhatsApp + AI Chatbot 🔵 Blue Tick Verification 🤖 AI Chatbot & Auto-Response 🎨 Automation Flow Builder 🔘 Interactive Messages 💡 Automation Use Cases 📱 Business App Coexistence
Messenger
📘 Messenger Overview ⚡ Messenger Features 🚀 How to Get Started 💰 Pricing & Credits ⚙️ Messenger API 📩 Contact Sales / Activate
SMS
📱 One-Way Bulk SMS 🔒 Two-Factor Authentication (2FA) 🌏 Global SMS Coverage ⚡ SMS API
Email & API
✉️ Email Service Overview 🔌 Email SMTP API 🛠 REST API Reference
Queue System
🏢 Queue System Overview 💬 WhatsApp QMS ☁️ Cloud QMS ⚡ Cloud + WhatsApp QMS 📖 Cloud & WhatsApp QMS Guide 🎯 Request Free Demo
Pricing
💰 Full SGD Rate List 🛒 Buy SMS Credits
Support
📩 Contact Us ❓ FAQ 📖 End-User Guide ⚠️ Service Advisory
🔑 Login 📝 Register Free

Chapter 44 · Part 5

Meta Messenger API

For developers: send text, files, and enabled template messages from your registered Facebook Page through one JSON endpoint — with webhooks for inbound messages and delivery status.

The essentials

One JSON endpoint

A single HTTP POST (Content-Type: application/json, UTF-8) handles all outbound types.

Up to 20 recipients

Send text and files to as many as 20 recipients per request.

Webhooks

Receive inbound messages and delivery-status updates on your own endpoint.

Three outbound types

  • MESSAGEA free-form text reply, with an optional URL preview.
  • FILEOne publicly accessible image or document URL per send.
  • TEMPLATEAvailable only to accounts with an enabled Messenger template.

Two rules that catch developers out

  • Recipients are PSIDs, not phone numbersMessenger uses Page-scoped IDs: a PSID belongs to one Facebook Page and must not be reformatted. Standard text and file sends should go out while the customer’s reply window is open.
  • Don’t trust HTTP 200 aloneA request is accepted only when the response has statusCode = 0 and a non-empty messageId. Always check both.
The Meta Messenger API developer reference: JSON API overview with MESSAGE, FILE, and TEMPLATE types, the statusCode acceptance rule, the POST endpoint, and a sidebar covering authentication, parameters, responses, error codes, and webhooks.
Fig. 1The developer reference — endpoint, request formats, responses, and webhooks in one place.
The full developer reference — endpoint URL, authentication, every parameter, response and error codes, and webhook payloads — is available in the portal’s Messenger API documentation. Contact us if you need API access enabled on your account.
Need help?
Our team is happy to assist with anything in this guide. Contact us →
💬