Whatsapp Business Platform offers majorly three API products to enable developers to build their own applications. These API products are:

  • WhatsApp Business Account Management API
  • WhatsApp On-Premises API
  • WhatApp Cloud API

WhatsApp Business Account Management API

You can read the official WhatsApp Business Management API documentation here.

This API offers a suite of API endpoints which help you manage the business account, manage the business account settings, manage phone numbers and message templates. As of now, the Wapi.js SDK do not supports this API, but we are working on it and will soon release the support for this API.

WhatsApp On-Premises API

You can read the official WhatsApp On-Premises documentation here.

On-Premises API was a legacy API offered by WhatsApp which requires self-hosting by the users, but it will soon be deprecated and hence users are advised to moved to new WhatsApp Cloud API. You can read the official sunsetting docs of On-Premises API here. Also, read the offifical on-prem API to Cloud API migration guide here.

WhatsApp Cloud API

You can read the official WhatsApp Cloud API documentation here.

This is a newly introduced API by WhatsApp which is cloud hosted and managed by WhatsApp itself. This API offers a suite of API endpoints which help you send messages, webhooks for incoming messages notification, send media messages, send interactive messages and much more.

And this is what Wapi.js SDK majorly focusses on right now, to help developers build their own applications using this API. Wapi.js provides a smart layer of abstraction around this API, which helps developer to build application easily. Developers can easily build chat bots or integrate the SDK in their exisiting appplication using the robust infrastructure for sending and event listening for messages.