cd /news/developer-tools/send-your-first-whatsapp-template-me… · home › topics › developer-tools › article
[ARTICLE · art-175374] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Send your first WhatsApp template message with a test key

Quikpair published developer documentation for a WhatsApp API test key that lets developers build and validate template message sends before connecting a WhatsApp Business number. Test keys, prefixed qp_wa_test_, can call POST /messages, GET /account, GET /templates and webhook routes, returning a 202 and firing message.status webhooks marked as test without reaching WhatsApp or incurring charges. The docs note that test sends skip live-only checks such as the 24-hour window, opt-outs and monthly quota, so passing in test mode does not guarantee a live send will succeed.

key takeaway

Quikpair's test keys (qp_wa_test_) validate POST /messages payloads and fire message.status webhooks without sending or charging, but skip the 24-hour window, opt-out and quota checks, so test success does not prove a live send will pass.

by read2 min views2 publishedNov 24, 2026

Disclosure: I publish this from the Quikpair account. Quikpair makes the WhatsApp API described here, so I have a stake in the topic. This post was AI-generated and checked against Quikpair's public developer docs and Meta's public pricing page.

Quikpair's WhatsApp API docs describe a test key: you can build and test message sends before your WhatsApp number is connected. This post covers what a test key does and what it does not do, using the public docs.

In the app, open WhatsApp, then API & Webhooks, create a key and choose type Test. Test keys start with qp_wa_test_. Store the key like any secret and keep it out of browser or mobile code. In the examples below I use an obviously fake placeholder.

The body of POST /messages follows Meta's Cloud API message object. Set type, then an object with the same name. Add an Idempotency-Key header so a retry never sends twice.

curl -X POST https://backend.quikpair.com/api/v1/whatsapp/messages \
  -H "Authorization: Bearer qp_wa_test_PLACEHOLDER_NOT_A_REAL_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: order-1042-ready" \
  -d '{"to":"YOUR_TEST_RECIPIENT","type":"template",
       "template":{"name":"order_shipped","language":{"code":"en"},
         "components":[{"type":"body","parameters":[
           {"type":"text","text":"Rahul"},{"type":"text","text":"#1042"}]}]}}'

Phone numbers are international digits without the plus sign. Per the docs, a test send returns 202, checks the request body the way a live send does, and fires message.status webhooks (sent, delivered, read) marked "test": true. Nothing reaches WhatsApp and nothing is charged. Send to a number ending in 0000 to get a failed status and test your error handling.

Test keys can call POST /messages, GET /account, GET /templates (once a number is connected) and the webhook routes. Other calls, such as template changes, media upload and reading messages, return 403 test_key_not_allowed. Test sends also skip the live-only checks: the 24-hour window, opt-outs, paid-message settings and your monthly quota. So passing in test mode does not prove a live send will pass those checks.

Register an HTTPS endpoint under API & Webhooks, or with POST /webhook-endpoints. Events include message.received and message.status. The signing secret is shown once, so save it when you create the endpoint and verify each request with it.

The docs list the remaining steps: connect your own WhatsApp Business number (the API never uses a shared number), create templates that Meta reviews, add a payment method in Meta if you will send paid messages and turn on Allow paid messages, then create a Live key and swap it in.

Quikpair's docs say Meta bills paid messages to your own WhatsApp Business account and that Quikpair does not charge per message. Meta's own pricing page says that since July 1, 2025 it charges per delivered template message, with rates that depend on the template category and the recipient's country calling code, and that non-template messages sent inside an open customer service window are free. Check Meta's current rate card for your country before you plan volume, and check your Quikpair plan for any monthly API message limit.

Docs: https://www.quikpair.com/developers/whatsapp/

Meta pricing: https://developers.facebook.com/docs/whatsapp/pricing/

── more in #developer-tools 4 stories · sorted by recency
── more on @quikpair 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/send-your-first-what…] indexed:0 read:2min 2026-11-24 · —