Skip to content

What's next for business messaging and AI? Watch the Conversations keynote.

Watch now

WhatsApp Business Platform

Drive revenue growth, boost efficiency, and deliver exceptional customer experiences with the WhatsApp Business Platform—our enterprise-grade APIs for messaging and calling.

Get started

Demo the API

Preview an interactive experience showing how Jasper's Market (our demo retail business) connects with customers using the WhatsApp Business Platform.

Demo retail business

Try the demo

Download the sample app

Select language

PythonJavaScriptcURL


import requests  
  
url = "https://graph.facebook.com/<API_VERSION>/<WHATSAPP_BUSINESS_PHONE_NUMBER_ID>/messages"  
headers = {  
    "Authorization": "Bearer <ACCESS_TOKEN>",  
    "Content-Type": "application/json",  
}  
data = {  
    "messaging_product": "whatsapp",  
    "to": "<WHATSAPP_USER_PHONE_NUMBER>",  
    "type": "template",  
    "template": {  
        "name": "hello_world",  
        "language": {"code": "en_US"},  
    }  
}  
                    
response = requests.post(url, headers=headers, json=data, timeout=30)  
print(response.json())

Essentials

Start building conversational experiences that delight your customers

About the platform

Learn more about the key components of the platform and how things work together.

Learn more

Messaging

Learn about the different message types and how to send them.

Learn more

Pricing

Learn how pricing on the WhatsApp Business Platform works.

Learn more

Templates

Learn how to create and manage template messages.

Learn more

Webhooks

Learn what webhooks are and how they are a core component of Business Messaging.

Learn more

Authentication and authorization

Learn how access controls and permissions work on the platform.

Learn more

About the APIs

Learn about the APIs that are part of the WhatsApp Business Platform

Cloud API

Send and receive WhatsApp messages, make WhatsApp calls, and more from your business phone number.

Learn more

Marketing Messages API for WhatsApp

Access new features not available on Cloud API and get automatic optimizations, so high engagement messages can reach more customers.

Learn more

Business Management API

Programmatically manage your WhatsApp business account and its assets.

Learn more

New releases

Explore our newest features and launches

WhatsApp API Calling

Seamless, secure, and personalized voice calling natively within WhatsApp chat to drive superior business outcomes.

Learn more

Groups API

Drive sales and solve customer problems with groups on the WhatsApp Business Platform.

Learn more

API solutions for WhatsApp Business app users

Use both the WhatsApp Business app and API with the same phone number to simplify onboarding and unlock new features to scale your business.

Learn more

Partner resources

Build WhatsApp solutions for your business customers.

Become a Tech Provider

Follow this guide to onboard as a WhatsApp Tech Provider so that you can start providing messaging services to your clients.

Learn more

Onboard customers

Learn how to build Embedded Signup; a flow to onboard customers directly from your website.

Learn more

MM API for WhatsApp Partner Guide

Learn how to integrate with MM API for WhatsApp and onboard your customers to send marketing messages with optimizations.

Learn more

Not a developer?

View the Partner Showcase to find a partner tailored to fit your business needs.

Find a partner

Unofficial mirror for reference/search purposes. All content originates from developers.facebook.com — see the source link at the top of each page. Machine-readable indexes: llms.txt · llms-full.txt · About