Postman collection

WhatsApp API Postman

To test and debug requests, you can use the Swagger section of the API on your channel page in dashboard or the Postman collection.

Postman Whapi.Cloud API Collection

How to Always Stay Updated with the Latest Postman Collection

To ensure you always have the most up-to-date version of the Whapi.Cloud API collection, follow the steps below.

  1. Open the WhatsApp API Collection in Postman Web.

  2. Click Fork → select your workspace → Fork. You can press the shortcut keys to do this: Ctrl + Alt + F

Create a fork
  1. When creating a Fork, be sure to leave the check mark next to the item: Watch original collection.

3.1. Or, in the top bar of your Fork, enable Watch (to subscribe to updates).

  1. Keep the proposed variable environment

  1. When updates are released, you’ll see Pull changes in your fork — click Pull, then Merge (if prompted). This keeps your fork in your workspace while syncing all new updates.

If You Previously Imported the Collection

If you used Run in Postman or Import, that version will not update automatically. To fix this, delete the old imported collection and create a Fork from the link above, following the steps above.


Environment Variables

The collection uses the variable baseUrl. Create an Environment in Postman and set your preferred baseUrl (e.g., https://gate.whapi.cloud)

Specify your channel token in the authorization header by entering the value of a global variable.

Set Variable

If you automatically create a Fork from our website, don't forget to specify Whapi Env as your primary environment:

Now you can select any API method in the collection and start sending requests. For convenience, all methods are listed in the same order as they are discussed in the API Documentation. You can make any changes to these methods to simplify their testing and response handling.

Test any API Call: Send text message

Last updated

Was this helpful?