Quick start
About five minutes from sign-up to a message on a phone.
1. Create an account
Sign up for free. The Starter plan is active straight away.
2. Connect a device
In Devices, create one and scan the QR code from WhatsApp, Linked devices. Note its numeric id.
3. Get an API key
Create a key in your profile. It starts with wa_. Keep it secret and store it in an environment variable.
4. Send
curl -X POST https://quackapi.com/v1/messages/chat \
-H "Content-Type: application/json" \
-H "x-api-key: $QUACKAPI_KEY" \
-d '{"deviceId":1,"to":"923001234567","body":"Hello from QuackAPI"}'Common first-run mistakes
- Number with a plus sign, spaces or a leading zero. Use digits only with the country code first.
- Missing x-api-key header, which gives a 401.
- Using a device that is still pending or disconnected, which gives a 403 or 409.
- Putting the API key in front-end code. Keep it on your server.
Where to go next
Set a webhook to receive replies, read the errors reference for retry rules, and use the free request builder to get a ready request in your language.
FAQ
Do I need a card to start?
No. Starter has a 30-day free trial and then stays free with a small daily allowance.
How long does setup take?
About five minutes: create the account, scan the QR code, make a key and send the first request.
Which languages have examples?
cURL, JavaScript, Python, PHP, Java, C#, Go, Ruby, Rust, Kotlin, Swift, Dart and PowerShell.
Related
Last reviewed 2026-11-09. QuackAPI is an unofficial linked-device service. Acceptable use