Skip to content

WhatsApp API

WhatsApp API how-to guides, with code you can run

Step-by-step guides for sending and receiving WhatsApp messages through InfiQ's API, with cURL, Node.js, Python and PHP examples. The request bodies are the ones Meta's WhatsApp Cloud API defines, so what you learn here carries over.

Send messages

Receive messages and statuses

By language

By message type

Each message type has a glossary page with its JSON body, limits and code. Send them through the same endpoint as the guides above.

Also useful: WhatsApp API error codes, the Cloud API request builder and the InfiQ API reference.

FAQ

Frequently asked questions

Which API do these guides use?

InfiQ's WhatsApp API: one endpoint, https://api.infiq.in/v1/messages, that takes the same message body as Meta's WhatsApp Cloud API and returns Meta's response with an InfiQ_traceid. You authenticate with an InfiQ API key instead of managing Meta tokens.

Can I try the examples without a live WhatsApp number?

Yes. A sandbox key (isk_test_…) accepts the same requests and simulates the delivery lifecycle, so your code and webhook receiver work before your number is verified.

Where are the guides for images, lists, buttons and OTPs?

Each message type has its own glossary page with the JSON body, limits and code, listed under “By message type” on this page.

Meta Business Partner

Send your first WhatsApp message from code today.

Get a sandbox key, run any guide on this page, and switch to a live key when your number is verified.

7-day free trial Enterprise-grade reliability Live in 2 hours Built for Indian businesses