About Meta’s WhatsApp for Business API

What is WhatsApp for Business API?

The WhatsApp Business API is Meta’s specialized API for WhatsApp which allows medium and large businesses to communicate with their customers at scale. Using this API, businesses can build systems that connect thousands of customers with agents or bots, enabling both programmatic and manual communication. Additionally, you can integrate the API with numerous backend systems, such as CRM and marketing platforms.

Conversations on WhatsApp

There are two ways to start a conversation on WhatsApp:

  1. Your customer sends the initial message to you.
  2. Your customer responds to your templated message.
📘

Once a conversation starts, there is a 24-hour window for sending any message content.

Types of WhatsApp Messages

WhatsApp supports Messaging using these messaging types:

FeatureRemarks
Text messagesThe maximum length of a WhatsApp message is 4096 characters and it must be UTF-8 encoded.
Media MessagesMedia name attribute should end in the proper file extension. Only one media file is allowed per message. When the linked media doesn't exist/can't be found, the message will not be sent at all.
Media Messages: imagesMaximum file size for an uploaded image is 5 MB. Supported formats: png, jpeg.
Media Messages: audioMaximum file size for an uploaded audio file is 16 MB. Supported formats: ACC, M4A, MP3, AMR, OGG-OPUS.
Media Messages: videoMaximum file size for an uploaded video file is 16 MB. Supported formats: mpeg4.
Media Messages: documentMaximum file size for an uploaded document file is 100 MB. Supported formats: plaintext, PDF, MS Word, MS PowerPoint, MS Excel.
Interactive messagesSend List Messages (up to 10 options), Reply Button Messages (up to 3 buttons), Call-to-Action URL Button Messages (1 URL button), Location Request Messages, Catalog Messages (entire product catalog), Product Messages (up to 30 items from a business’ inventory), and Flow Messages for structured multi-step interactions like bookings, surveys, or product browsing.
Location messagesSend location messages using the location object.
Contact messagesSend one or more contacts.
Template messagesAvailable Template Categories: Authentication, Marketing, and Utility.