Get started
Quickstart
Five minutes from zero to a delivered WhatsApp message.
#1. Create an API key
Head to the dashboard and create a test key. Test keys route through the same API but don't charge your wallet — perfect for local development.
You'll see the key exactly once
Keys are hashed at rest. Copy the plaintext value into your secrets manager the moment it's shown — we can't recover it for you.
#2. Install the SDK
#3. Send your first message
send-welcome.tsYou must use a pre-approved WhatsApp template for the first message to a user, or be inside an open 24-hour window from a user-initiated conversation. For free-form replies, use zaptick.messages.sendText.
#4. Handle errors
Every method throws typed errors. You can discriminate them by class or error.code:
TypeScript
#5. Listen for delivery events
Register a webhook to receive status updates, incoming replies, and campaign completion events.
TypeScript