Skip to main content

Overview

Enterprise accounts can run multiple WhatsApp numbers and manage them through the API: create an instance for each number, connect it with a QR code, and monitor or restart it. These methods live under hs.enterprise. (learn more about the Enterprise API) Unlike the other clients, Enterprise methods work across all your instances, so you pass the instance ID on each call instead of setting it in your environment. Set your Enterprise API key in your .env file:

List Instances

List the WhatsApp instances on your account, optionally filtered. (learn more)

Create an Instance

Create a new WhatsApp instance. The response includes a QR code to scan with the phone. (learn more)

Check Instance Health

Check whether an instance is connected and working. (learn more)

Request a New QR Code

Get a fresh WhatsApp QR code when the previous one expired or the phone was disconnected. (learn more)

Restart an Instance

Restart an instance that is stuck or not responding. (learn more)
Last modified on November 24, 2026