Get a WhatsApp API key and send your first message
Published
Create an API key, find your Client ID and number ID, test the key with /api/v1/me/, then send your first WhatsApp message with cURL.
Transcript
That's a WhatsApp message sent from your own code. Here's how, in two minutes.
Connect your number, then open API keys under Integrations. Only workspace Owners see it.
Click Create key, name it after the app that will use it, such as n8n, and click Create key again. Copy it now: the full key isn't shown again, but Copy key copies it later.
Above your keys is the Client ID. With the Bearer header, you can skip it. Each number's ID, such as ID 101, is on the WhatsApp numbers page: that's whatsapp_client.
First, test it: POST /api/v1/me/ with your key in the header. Status 1, Okay: it works, and nothing is sent.
Now send, with the same header: the number's ID, the phone with its country code, and your text. Status 1, Created, and a message ID. It's queued and goes out from your number within moments.
See it in Reports, under Message history: Waiting while it's queued, then Sent.
On their phone, it arrives from your own number. No templates to approve.
One key per app. Keep it on your server, never in a website or mobile app. If one leaks, create a new key, then delete the old one: it stops working at once.
Try it free at wbiztool.com.

