Skip to content

Authentication

All API requests are authenticated with a personal API key that is tied to your Watzy account.

Getting your API key

  1. Log in to your Watzy dashboard.
  2. Navigate to Profile → API Key.
  3. Your key is displayed as a masked prefix (e.g. wzy_abc123...).
  4. If you've never generated one or want a fresh key, click Regenerate Key.
  5. Copy the key immediately — the full plaintext is only shown once.

Important: Treat your API key like a password. Never commit it to source control or share it publicly.

Sending your key

Include your key in every request via the standard Authorization header using the Bearer scheme:

http
Authorization: Bearer wzy_your_key_here

Example — curl

bash
curl https://whatsapp-backend.developnetwork.net/api/v1/accounts \
  -H "Authorization: Bearer wzy_your_key_here"

Example — JavaScript (fetch)

js
const res = await fetch('https://whatsapp-backend.developnetwork.net/api/v1/accounts', {
  headers: {
    'Authorization': 'Bearer wzy_your_key_here',
    'Content-Type': 'application/json',
  },
})
const data = await res.json()

Example — Python (requests)

python
import requests

headers = {'Authorization': 'Bearer wzy_your_key_here'}
r = requests.get(
    'https://whatsapp-backend.developnetwork.net/api/v1/accounts',
    headers=headers,
)
print(r.json())

Alternative: X-API-Key header

If your environment doesn't support custom Authorization headers, you can use the X-API-Key header instead:

http
X-API-Key: wzy_your_key_here

Rate limits

WindowMax requests
1 minute120

When you exceed the limit you'll receive a 429 Too Many Requests response. Wait until the next minute window and retry.

Revoking a key

Go to Profile → API Key → Regenerate Key. This immediately revokes the old key and creates a new one.

Built with ❤️ on top of the WhatsApp Business API.