Skip to main content
GET
Broadcast Analytics
Retrieve broadcast analytics for your organization. Supports individual broadcast deep-dives (with per-button tracking, opt-out detection, and revenue attribution) or overall date-range aggregations.

Two Modes

The endpoint supports two query modes based on which parameters you provide:

Individual Broadcast Analytics

Pass a broadcast_id to get detailed metrics for a single broadcast, including delivery stats, per-button click tracking, opt-out detection, and Shopify revenue attribution.

Response Fields

Per-Button Tracking

All quick reply buttons on the template are tracked individually. The response includes an allButtons array with each button’s text, click count, and conversion rate:

Opt-Out Detection

Opt-outs are detected from customer responses within 48 hours of the broadcast using multilingual keyword matching:

Revenue Attribution

Revenue is automatically attributed by tracing the broadcast’s shortcode through to Shopify orders:
  1. Broadcast button parameter contains a shortcode
  2. Shortcode resolves to a redirect URL with a utm_campaign parameter
  3. Shopify orders with utm_source=whatsapp and a matching utm_campaign are summed
The utmCampaigns array breaks down revenue per UTM variant, so you can see exactly how much came from the main link vs the “View More” button (_vm suffix). Each order also includes its own utmCampaign field.
Revenue attribution also matches UTM campaign suffix variants: _viewmore, _view_more, and _vm (case-insensitive). This captures orders from “View More” button clicks on the same campaign.

Overall Broadcast Analytics

Pass start_date and end_date to get aggregated analytics across all broadcasts in the date range.

Response Fields


POST Method

The same analytics are also available via POST, with parameters in the request body instead of query string:

Integration Example


Revenue Attribution

Revenue attribution requires your broadcast template to use a FlowIQ shortcode link (via URL redirects) with a utm_campaign parameter, and your Shopify store to be connected. Orders are matched where utm_source=whatsapp in the landing site URL.

Authorizations

Authorization
string
header
required

Bearer token for authentication. Format: Bearer fiq_YOUR_API_KEY

Query Parameters

broadcast_id
string<uuid>

UUID of a specific broadcast to get detailed analytics for. If provided, start_date and end_date are ignored.

start_date
string<date>

Start date for overall analytics (inclusive). Required when broadcast_id is not provided.

end_date
string<date>

End date for overall analytics (inclusive). Required when broadcast_id is not provided.

Response

Analytics data returned successfully

success
boolean
Example:

true

data
object

Analytics data. Structure varies by mode (individual vs overall).