Skip to main content
This guide takes you from zero to your first WhatsApp message sent through the API.
1

Get your API key

The API key is issued from the dashboard, under Settings โ†’ API. It has the sk_1to1_ prefix.
The API key grants full access to your businessโ€™s conversations. Treat it as a secret โ€” never put it in client-side code or commit it to a repository.
2

Identify your business

Every endpoint hangs off a base URL that includes your businessโ€™s {slug}:
The {slug} is also in the API settings. The key and the slug must belong to the same business.
3

Send your first message

A POST to the text endpoint, with the conversation identified by phone:
4

Handle the response

A 201 response confirms the send:
Errors return { code, message } with a 4xx or 5xx status. Both fields are guaranteed. Switch on code (stable), never on message (human text, may be refined between API versions):
Rate limit: two independent buckets of 60 requests/min per API key โ€” one general (reads, tags, mailbox, notes, files) and one for messages (text, quick-reply, template). When exceeded you get a 429 with the Retry-After header. See Rate limits.

Next steps

Conversations

How to identify a conversation and the 24h window.

Messages

The four ways to send a message.