Analytics
Updated: Nov 19, 2025 Starting December 1, 2025, the maximum lookback window for messaging, conversation, and pricing analytics is changing from 10 years to 1 year. The lookback window for template and template group analytics will be unaffected and will continue to be 90 days. This document describes how to get messaging, conversation, and template analytics, such as the number of messages sent from a business phone number, the number of conversations and their costs for a WhatsApp Business Account (WABA), or the number of times a given template has been read. Only metrics for business phone numbers and templates associated with your WABA at the time of the request will be included in responses.Get data
Use the GET /<WHATSAPP_BUSINESS_ACCOUNT_ID> endpoint to get analytics.Request syntax
Request parameters
| Placeholder | Description | Example Value |
|---|---|---|
<FIELD> | Required. Metric. Value can be one of: analyticsconversation_analyticspricing_analyticstemplate_analyticstemplate_group_analytics | analytics |
<FILTERS> | Required. Metric filtering parameter. Append additional filtering parameters using dots. For possible values, see: Messaging analytics parameters Conversation analytics parameters Template analytics parameters Template group analytics parameters | .start(1543543200).end(1544148000).granularity(DAY) |
Messaging analytics
Theanalytics field provides the number and type of messages sent and delivered by the phone numbers associated with a specific WABA — for conversation metrics, see Conversation Analytics. When calling /<WHATSAPP_BUSINESS_ACCOUNT_ID>?fields=analytics.{filtering-parameters}, you can attach the following parameters.
Messaging analytics parameters
| Name | Description |
|---|---|
starttype: UNIX Timestamp | Required. The start date for the date range for which you are retrieving analytics. |
endtype: UNIX Timestamp | Required. The end date for the date range for which you are retrieving analytics. |
granularitytype: String | Required. The granularity at which you would like to retrieve the analytics. Supported Options: HALF_HOURDAYMONTH |
phone_numberstype: Array | Optional. An array of phone numbers for which you would like to retrieve analytics. If not provided, all phone numbers added to your WABA are included. |
product_typestype: Array | Optional. The types of messages (notification messages and/or customer support messages) for which you want to retrieve notifications. Provide an array and include 0 for notification messages, and 2 for customer support messages. If not provided, analytics will be returned for all messages together. |
country_codestype: Array | Optional. The countries for which you would like to retrieve analytics. Provide an array with 2 letter country codes for the countries you would like to include. If not provided, analytics will be returned for all countries you have communicated with. |
Example
Scenario: You need to get the number of messages sent and delivered by all phone numbers associated with your WABA. Suggested Solution: Assemble the URL you want to call and include the following filtering parameters:start, end, granularity. Then, make a GET request to that URL:
analytics object with the data you have requested:
Conversation analytics
Theconversation_analytics field provides cost and conversation information for a specific WABA. When calling /<WHATSAPP_BUSINESS_ACCOUNT_ID>?fields=conversation_analytics.{filtering-parameters}, you can attach the following parameters.
Conversation analytics parameters
| Name | Description (Click the arrow in the left column for supported options.) |
|---|---|
starttype: UNIX Timestamp | Required. The start date for the date range for which you are retrieving analytics. |
endtype: UNIX Timestamp | Required. The end date for the date range for which you are retrieving analytics. |
granularitytype: String | Required. The granularity at which you would like to retrieve the analytics. Supported Options: HALF_HOURDAILYMONTHLY |
phone_numberstype: Array | Optional. An array of phone numbers for which you would like to retrieve analytics. If not provided, all phone numbers added to your WABA are included. |
metric_types | Optional. List of metrics you would like to receive. If you send an empty list, we return results for all metric types. Supported Options: COST: Includes approximate charges for that time range, in the WABA’s currency.CONVERSATION: Includes the count of conversations for that time range.As of July 1, 2023, COST is no longer shown for businesses who bill through a Solution Partner.To understand your charges, please reach out to your partner. If you bill through a partner, this is the behavior to expect: If no metric_types are specified in your request, only CONVERSATION is returnedIf only CONVERSATION is specified, only CONVERSATION is returnedIf only COST is specified, the following exception is returned: Title: “Cost not available” Message: “Cost is no longer shown for businesses who bill through a partner (i.e., BSP). To understand your charges, please reach out to your partner.” If you query a time period that includes dates on or after July 1, 2023, (for example, May 1, 2023 through August 1, 2023), the response will include the above exception. There is no change for partners when querying the conversation_analytics endpoint. |
conversation_categories | Optional. List of conversation categories. If you send an empty list, we return results for all conversation categories. Supported Options: AUTHENTICATIONMARKETINGSERVICEUTILITY |
conversation_types | Optional. List of conversation types. If you send an empty list, we return results for all conversation types. Supported Options: FREE_ENTRY: Conversations originating from a free entry point.FREE_TIER: Conversations within the monthly free tier.REGULAR: Any conversations that did not originate from a free entry point or are above the monthly free tier allotment. |
conversation_directions | Optional. List of conversation directions. If you send an empty list, we return results for all conversation directions. Supported Options: BUSINESS_INITIATED: Conversations initiated by the business.USER_INITIATED: Conversations initiated by an end user/customer.UNKNOWN: System cannot determine direction. |
dimensions | Optional. List of breakdowns you would like to apply to your metrics. If you send an empty list, we return results without any breakdowns. Supported Options: CONVERSATION_CATEGORYCONVERSATION_DIRECTIONCONVERSATION_TYPECOUNTRYPHONE |
Examples
Given a time range, you can get conversation and cost information associated with your WABA. If you want, you can filter and break down your results. See the code samples below for examples.Get monthly data, using all breakdowns
Scenario: Given a month, you want to retrieve all conversation and cost information for all phone numbers associated with a WABA. Suggested Solution: Assemble the URL you want to call and include the following filtering parameters:start: Start of your time range. In this case, the beginning of the month you want metrics for.
end: End of your time range. In this case, the end of the month you want metrics for.
granularity: How granular you want your data points to be. In the example below, we use MONTHLY, so each datapoint will represent a month’s worth of data.
phone_numbers: Send an empty array and we return information for all phone numbers associated with the WABA.
dimensions: Set it to all available breakdowns: "CONVERSATION_CATEGORY", "CONVERSATION_TYPE", "COUNTRY", and "PHONE".
In this case, you do not need to specify country_codes, metric_types, conversation_types and conversation_categories. If you don’t send us anything for those fields, we return all available options. Once you set up the URL, make a GET request:
conversation_analytics object with the data you have requested. In the following example, the WABA contains only one phone number.
Get data for a specific phone number, using all breakdowns and half hour granularity
Scenario: Given a time range, you want to retrieve all conversation and cost information for a specific phone number associated with a WABA. In the results, you want to use all possible breakdowns. You need each data point to represent half an hour’s worth of data. Suggested Solution: Assemble the URL you want to call and include the following filtering parameters:start: Start of your time range.
end: End of your time range.
granularity: How granular you want your data points to be. In the example below, we use HALF_HOUR, so each datapoint represents half an hour’s worth of data.
phone_numbers: The phone number you need information for.
dimensions: Set it to all available breakdowns: CONVERSATION_CATEGORY, CONVERSATION_TYPE, COUNTRY, and PHONE.
In this case, you do not need to specify country_codes, metric_types, conversation_types, or conversation_categories. If you don’t send us anything for those fields, we return all available options. Once you set up the URL, make a GET request:
conversation_analytics object with the data you have requested:
Get monthly data, using conversation type breakdowns
Scenario: Given a time range, you want to retrieve all conversation and cost information for all phone numbers associated with a WABA. In the results, you want to break down by conversation type. Suggested Solution: Assemble the URL you want to call and include the following filtering parameters:start: Start of your time range.
end: End of your time range.
granularity: How granular you want your data points to be. In the example below, we use MONTHLY, so each datapoint represents half a month’s worth of data.
phone_numbers: Send an empty array and we’ll return information for all phone numbers associated with the WABA.
dimensions: Set it to CONVERSATION_TYPE.
In this case, you do not need to specify country_codes, metric_types, conversation_types, conversation_directions, or conversation_categories. If you don’t send us anything for those fields, we return all available options. Once you set up the URL, make a GET request:
conversation_analytics object with the data you have requested:
Get half-hour data broken down by conversation category
Request:Get half-hour data broken down by conversation category and conversation type
Request:Pricing analytics
Thepricing_analytics field allows you to get pricing breakdowns for any messages delivered within a specified date range.
Request syntax
Pricing analytics parameters
| Filter | Description | Example Value |
|---|---|---|
<COUNTRY_CODES>Array of strings | Optional. The countries for which you would like to retrieve analytics. Provide an array with 2 letter country codes for the countries you would like to include. If not provided, analytics will be returned for all countries you have communicated with. | [<br />US,<br />BR<br />] |
<DIMENSIONS>Array of strings | Optional. List of breakdowns you would like to apply to your metrics. If you send an empty list, we return results without any breakdowns. Values can be: COUNTRYPHONEPRICING_CATEGORYPRICING_TYPETIER | [<br />PRICING_CATEGORY,<br />PRICING_TYPE,<br />COUNTRY<br />] |
<END>UNIX timestamp | Required. UNIX timestamp indicating the end date for the date range you are retrieving analytics for. | 1728581152 |
<GRANULARITY>String | Required. The granularity at which you would like to retrieve the analytics. Value can be one of: DAILYHALF_HOURMONTHLY | DAILY |
<METRIC_TYPES>Array of strings | Optional. Array of metrics you would like to receive. If you send an empty array, we return results for all metric types. Values can be: COST: Approximate charges for messages delivered in that time range, in your WABA’s currency.VOLUME: Includes the number of messages delivered for that time range. | [COST, VOLUME] |
<PHONE_NUMBERS>Array of strings | Optional. An array of phone numbers for which you would like to retrieve analytics. If not provided, data for all business phone numbers associated with your WABA are included. | [<br />15550783881,<br />15550783882,<br />15550783883<br />] |
<PRICING_CATEGORIES>Array of strings | Optional. Array of pricing categories. If you send an empty array, we return results for all pricing categories. Values can be: AUTHENTICATION: Messages charged the authentication rate.AUTHENTICATION_INTERNATIONAL: Messages charged the authentication-international rate.MARKETING: Messages charged the marketing rate.SERVICE: Messages that were not charged. Includes all non-template messages and utility messages sent inside of a customer service window.UTILITY: Messages charged the utility rate.REFERRAL_CONVERSION: Messages that have been received through a free entry point | [<br />AUTHENTICATION,<br />MARKETING,<br />UTILITY<br />] |
<PRICING_TYPES>Array of strings | Optional. Array of pricing types. If you send an empty array, we return results for all pricing types. Values can be: FREE_CUSTOMER_SERVICE: Free messages. These are non-template messages and utility messages sent within customer service windows.FREE_ENTRY_POINT: All messages sent within free entry point customer service windows.REGULAR: Billable messages. Includes all authentication and marketing template messages, and any utility template messages sent outside of a customer service window. Excludes all messages sent within free entry point customer service windows. | [<br />REGULAR,<br />FREE_CUSTOMER_SERVICE<br />] |
<START>UNIX timestamp | Required. UNIX timestamp indicating the start date for the date range you are retrieving analytics for. | 1726014453 |
<WABA_ID>String | Required. WhatsApp Business Account ID. | 102290129340398 |
Volume tier information
Include theTIER, PRICING_CATEGORY, and COUNTRY parameters in the dimensions array to get volume tier information. Data points representing messages affected by volume tier pricing will have a tier property in the response.
Example response syntax with tier information
tier property value represents a concatenation of the lower and upper bounds for the tier specific to the market–category pair (country and pricing_category) that that data point represents.
<LOWER> – An integer representing the lower bound of the tier (inclusive).
<UPPER> – An integer representing the upper bound of the tier (inclusive), or the string MAX.
Notes
To determine your current volume tier, read the tier, country, and pricing_category values. The tier value’s <UPPER> integer (the integer after the colon) tells you your current tier for the country and pricing_category (for example, (India and utility, respectively).
To determine how many messages you need to send to reach the next tier for a given country and pricing_category, subtract the volume integer from the tier value’s <UPPER> integer.
Volume tiers will only be available for utility and authentication template messages. For marketing template messages (where volume tiers will not apply), tier will be set to 0:MAX.
The tier property will be omitted for data points that represent free messages, since free messages don’t contribute to tiering counts.
Volume tiers will be determined solely by Meta. All insights data is approximate due to small variations in data processing. Undue reliance should not be placed on insights data.
Example request
Example response
Template analytics
Template analytics describe the number of times a template has been sent, delivered, and read, and the number of times URL buttons or Quick Reply buttons in the template have been clicked. Additionally, onboarded MM API for WhatsApp businesses can track offsite conversion metrics. Data is returned with a daily granularity in the default timezone of UTC and WABA’s timezone, with a lookback window of up to 90 days. To show data in the WABA’s configured timezone, pass in the use_waba_timezone param with a value of true. Display data in the WABA’s configured timezone by passing in theuse_waba_timezone param with a value of true.

