v1

latestOpenAPI 3.0.32026-07-268345159.5 KB
Template Comparison

Template Comparison API

Using this api you can compare templates

get/partner/app/{appId}/template/analytics/{templateId}/compare

Path parameters

appIdstring required

Unique identifier of the app.

templateIdstring required

Query parameters

templateListstring required
endinteger required
startinteger required

Headers

tokenstring required

Your app token, please refer Get access token api to get the token from partner documentation.

Response

Successful response

statusstring

Example response

{
  "data": [
    {
      "metric": "BLOCK_RATE",
      "order_by_relative_metric": [
        "eb955f0b-837c-4b2f-a761-a0d71c3b8a0e",
        "7ee65d64-a3d5-49a5-9e05-0a75d5f7f8f6"
      ],
      "type": "RELATIVE"
    },
    {
      "metric": "MESSAGE_SENDS",
      "number_values": [
        {
          "key": "7ee65d64-a3d5-49a5-9e05-0a75d5f7f8f6",
          "value": 1116
        },
        {
          "key": "eb955f0b-837c-4b2f-a761-a0d71c3b8a0e",
          "value": 1666
        }
      ],
      "type": "NUMBER_VALUES"
    },
    {
      "metric": "TOP_BLOCK_REASON",
      "string_values": [
        {
          "key": "7ee65d64-a3d5-49a5-9e05-0a75d5f7f8f6",
          "value": "UNKNOWN_BLOCK_REASON"
        },
        {
          "key": "eb955f0b-837c-4b2f-a761-a0d71c3b8a0e",
          "value": "UNKNOWN_BLOCK_REASON"
        }
      ],
      "type": "STRING_VALUES"
    }
  ],
  "status": "success"
}