WhatsApp Analytics

WhatsApp Analytics

Retrieve WhatsApp conversation analytics

get

Fetch conversation analytics for a specified WhatsApp business account

Path parameters
whatsapp_business_account_idstringRequired

ID of the WhatsApp business account

Query parameters
startinteger · int64Optional

The start date for the date range you are retrieving analytics for.

Example: 1724101200
endinteger · int64Optional

The end date for the date range you are retrieving analytics for.

Example: 1724706000
granularitystring · enumOptional

The granularity by which you would like to retrieve the analytics.

Example: DAILYPossible values:
phone_numbersstring[]Optional

An array of phone numbers for which you would like to retrieve analytics.

Example: ["966920019103"]
dimensionsarray · enumOptional

List of breakdowns you would like to apply to your metrics.

Example: ["CONVERSATION_CATEGORY","CONVERSATION_TYPE","COUNTRY"]Possible values:
Responses
200

Analytics were fetched Successfully.

application/json
get
/api/whatsapp/analytics/conversations/{whatsapp_business_account_id}

Retrieve WhatsApp conversation analytics

get

Fetch conversation analytics for a specified WhatsApp business account

Path parameters
whatsapp_business_account_idstringRequired

ID of the WhatsApp business account

Query parameters
startinteger · int64Optional

The start date for the date range you are retrieving analytics for.

Example: 1724101200
endinteger · int64Optional

The end date for the date range you are retrieving analytics for.

Example: 1724706000
granularitystring · enumOptional

The granularity by which you would like to retrieve the analytics.

Example: DAILYPossible values:
phone_numbersstring[]Optional

An array of phone numbers for which you would like to retrieve analytics.

Example: ["966920019103"]
dimensionsstring · enumOptional

List of breakdowns you would like to apply to your metrics.

Example: CONVERSATION_CATEGORY, CONVERSATION_TYPE, COUNTRYPossible values:
Responses
200

Analytics were fetched Successfully.

No content

get
/api/whatsapp/analytics/conversations-data-points/{whatsapp_business_account_id}

No content

Retrieve WhatsApp message analytics data points

get

Fetch message analytics data points for a specified WhatsApp business account

Path parameters
whatsapp_business_account_idstringRequired

ID of the WhatsApp business account

Query parameters
startinteger · int64Optional

The start date for the date range you are retrieving analytics for.

Example: 1724101200
endinteger · int64Optional

The end date for the date range you are retrieving analytics for.

Example: 1724706000
granularitystring · enumOptional

The granularity by which you would like to retrieve the analytics.

Example: DAYPossible values:
Responses
200

Analytics were fetched Successfully.

application/json
get
/api/whatsapp/analytics/messages-data-points/{whatsapp_business_account_id}

Retrieve template analytics

get

Fetches analytics data for specified templates within a date range.

Path parameters
whatsapp_business_account_idstringRequired

WhatsApp Business Account ID

Query parameters
startinteger · int64Optional

Start timestamp (UTC midnight)

endinteger · int64Optional

End timestamp (UTC midnight)

granularitystring · enumOptional

Data granularity (e.g., DAILY)

Possible values:
template_idsinteger[]Required

Array of template IDs

product_typestring · enumOptional

Product type

Possible values:
Responses
200

Successful operation

application/json
get
/api/whatsapp/{whatsapp_business_account_id}/template-analytics

Last updated