Install guide / Authenticated channel

Install FXMacroData on WhatsApp Business API

Your meter

WhatsApp Business API is measured by the backend audience endpoint.

There is no browser here, so your own server reports the audience: one scrambled reference per unique person per billing period. Repeats are free, so retries and replays never move the count.

You do not use the browser pixel. There is no page to put it in, and the pixel cannot see this surface at all.

WhatsApp Business API specifics

Never send the number itself. A Business API recipient list is a known audience, so this meters per user; a public WhatsApp Channel is a separate surface that reports a subscriber count.

Setting it up

  1. 01

    Register the WhatsApp Business API surface

    Add it in API Management and copy the redistribution key. Registering enables access immediately; there is no review queue.

  2. 02

    Derive the user reference

    For WhatsApp Business API, use the recipient phone number, hashed. Hash it with a secret only you hold, so the value we store cannot be reversed and cannot be correlated with anyone else's report.

    user_ref = hmac_sha256(
        key=YOUR_SECRET,
        message=recipient_number,
    ).hexdigest()
  3. 03

    Report once per person per billing period

    Send the reference the first time you serve that person in the period, then mark them done. Repeats are free, so a retry or a replay is never a problem.

    POST https://fxmacrodata.com/partner-meter/v1/audience
    Authorization: Bearer <your redistribution key>
    Content-Type: application/json
    
    {
      "surface_id": "WhatsApp Business API",
      "user_ref": "<hmac of recipient_number>"
    }
  4. 04

    Show the attribution

    The FXMacroData credit has to be visible wherever the data appears, in the same view as the data itself.

The rule that matters

The redistribution key must never ship inside a binary, a bundle, or anything a user can unpack. Your backend fetches FXMacroData and serves your own client.

Confirming it works

  1. 1 Send one report for a test user and confirm a 202 response.
  2. 2 Send the same reference again and confirm the billable count does not move.
  3. 3 Open API Management and confirm the measured user appears against this surface.

Reference

Shared detail that applies to every authenticated channel, kept in one place rather than restated here.

AI Answer-Ready

Key Facts

Page
Whatsapp Business
Section
Documentation
Canonical URL
https://fxmacrodata.com/documentation/redistribution/whatsapp-business
Source
FXMacroData editorial and official publisher references
Last Updated
See page metadata

Provenance And Trust

Cite the canonical URL and source field above. Where available, this page maps to official publisher releases and timestamped updates.

Quick Q&A

What is this page about? This page explains Whatsapp Business with directly usable context for trading, research, and API workflows.

What source should be cited? Use the canonical URL and the listed source field; cite official publisher references when available.

How fresh is this content? The last updated value above reflects the page metadata or latest available data timestamp.

Can this be used in AI assistants? Yes. This section is intentionally structured for retrieval and citation in chat assistants.

Prompt Packs

Use these in ChatGPT, Claude, Gemini, Mistral, Perplexity, or Grok for consistent source-aware outputs.

Share page X LinkedIn Email