Skip to content

Developers

The public REST API: authentication, sending messages, starting flows, event webhooks, signatures, limits and errors, and consent.

  1. Send your first message in 5 minutesCreate an API key with the Send WhatsApp messages preset, put it in your environment, and send a WhatsApp message with one request, in curl, Node.js, Python or PHP.
  2. The IconEngage public APIWhat the public REST API lets your own systems do, where it lives, how it is versioned and which resources it offers.
  3. Create and manage API keysCreate an API key for each system that calls IconEngage, start from the Send WhatsApp messages preset or choose its permissions, copy it once, and revoke or replace it.
  4. Authenticate API requestsSend your API key in the Authorization header, understand what the key is allowed to do, and fix 401 and 403 answers.
  5. Send a message with the APISend a text or template WhatsApp message to a phone number, choose the sending number, upload media, avoid duplicate sends with an idempotency key, and check where a message has got to.
  6. Start a flow with the APIStart a published flow for one contact from your own system with POST /flows/{flow_id}/runs, pass its variables, retry safely with an idempotency key, and handle the refusals.
  7. Event webhooksHave IconEngage POST a signed event to your system when a message arrives, a status changes, a template is decided and more; check deliveries, replay them and send test events.
  8. Verify webhook signaturesCheck the X-IconEngage-Signature header on every event webhook delivery, with working Node.js and Python examples.
  9. Rate limits and errorsRead the quota headers on every API response, handle 429s correctly, understand the error format, and fix the refusals you are most likely to meet.
  10. Opt-in and opt-outRecord a customer's opt-in or opt-out from your own system, by phone number or contact id, with the evidence an opt-in needs, and get told when consent changes.

Still need help?

Write to us at [email protected] and tell us what you were trying to do. Already a customer? Sign in to IconEngage — the same articles are under Help in the app.