CallMePing

How to create, use and revoke API keys

API keys are created by the account owner on the Developer API page. A key acts as your linked WhatsApp number, so keep it secret.

Create a key

  1. Open Developer API in the sidebar.
  2. In the API keys card, type a label such as Zapier or my website.
  3. Press Create key.
  4. Press Copy key, store the key safely, then press Done.

The key is shown only once. If you lose it, revoke it and create a new one.

Use the key

Send the key in the Authorization header as a Bearer token. An X-Api-Key header also works. Keys start with wa_live_.

Authorization header
curl -X GET "https://callmeping.com/api/v1/me" \
  -H "Authorization: Bearer YOUR_API_KEY"
X-Api-Key header
curl -X GET "https://callmeping.com/api/v1/me" \
  -H "X-Api-Key: YOUR_API_KEY"

Revoke a key

  1. Open Developer API.
  2. Find the key by its first characters and label in the API keys card.
  3. Press Revoke and confirm.

Anything using a revoked key stops working immediately.

Key rules

  • You can have up to 10 active keys. Revoke one before creating more.
  • Each key has its own limit of 120 calls per minute. Sending limits are per WhatsApp number, so more keys do not let you send more.
  • Only the account owner can create or revoke keys. A key cannot be used to create or revoke other keys.
  • A key can do everything in your account, so only share it with people and tools you trust with full access.
Was this article helpful?

Common questions

I get 401 Missing API key. What is wrong?

The request has no key. Send it as Authorization: Bearer YOUR_API_KEY. Check that your tool does not drop the header.

I get 401 Invalid or revoked API key.

The key was mistyped, cut short when copied, or revoked. Create a new key and try again.

I see You can have at most 10 active keys. Revoke one first.

Revoke a key you no longer use in the API keys card, then press Create key again.

My teammate cannot create a key. Why?

Only the account owner can create or revoke keys. Team members see Only the account owner can do this.

Related articles