Facebook
On-Premises API - Documentation - Meta for Developers

We are sunsetting On-Premises API. Refer to our On-Premises API Sunset document for details, and to learn how to migrate to our next-generation Cloud API.

On-Premises API

Your business can host the On-Premises API on your own servers.

Documentation Contents

Overview

Learn about the On-Premises API and making calls to the WhatsApp servers.

Get Started

Learn how to set up the On-Premises API, register your phone number, update your settings, and send a test message.

Guides

Learn how to send messages, sell products and services, set up and maintain your client, and more.

Reference

A list of all endpoints for the On-Premises API.

Webhooks

Get notifications related to your messages and their status.

FAQs

Frequently asked questions related to the On-Premises API.

Troubleshooting

Learn how to solve problems you may encounter while using the API.

Error Codes

Understand how error messages are structured and see all available error codes.

Payments API

Leverage this on-prem feature to have customers complete an order without leaving the WhatsApp app.

Build a Mobile Site
View Site in Mobile | Classic
Share by: