Template Comparison | Developer Documentation
Template Comparison
Updated: Nov 14, 2025
You can compare two templates by examining how often each one is sent, which one has the lower ratio of blocks to sends, and each template’template's top reason for being blocked.
Requirements
Limitations
Comparing templates
Request Syntax
GET /<WHATSAPP_MESSAGE_TEMPLATE_ID>/compare
?template_ids=[<TEMPLATE_IDS]
&start=<START>
&end=<END>
Query parameters
| |
| |
| |
|
Timeframes
604800259200051840007776000Response
{ "data": [ { "metric": "BLOCK_RATE", "type": "RELATIVE", "order_by_relative_metric": [<ORDER_BY_RELATIVE_METRIC>] }, { "metric": "MESSAGE_SENDS", "type": "NUMBER_VALUES", "number_values": [<NUMBER_VALUES>] }, { "metric": "TOP_BLOCK_REASON", "type": "STRING_VALUES", "string_values": [<STRING_VALUES>] } ] }
Response contents
| |
| |
| |
Example request
curl -X GET 'https://graph.facebook.com/v25.0/5289179717853347/compare?template_ids=[1533406637136032]&start=1674844791182&end=1674845395982' \
-H 'Authorization: Bearer EAAJB...'
Example response
{ "data": [ { "metric": "BLOCK_RATE", "type": "RELATIVE", "order_by_relative_metric": [ "1533406637136032", "5289179717853347" ] }, { "metric": "MESSAGE_SENDS", "type": "NUMBER_VALUES", "number_values": [ { "key": "5289179717853347", "value": 1273 }, { "key": "1533406637136032", "value": 1042 } ] }, { "metric": "TOP_BLOCK_REASON", "type": "STRING_VALUES", "string_values": [ { "key": "5289179717853347", "value": "UNKNOWN_BLOCK_REASON" }, { "key": "1533406637136032", "value": "UNKNOWN_BLOCK_REASON" } ] } ] }