v1

latestOpenAPI 3.1.02026-07-2458221215.8 KB
Templates

Fetch template aggregated analytics

Returns aggregated engagement counts and rates for multiple templates within the specified date range. Request body specifies template IDs and from/to. Each result includes template_id and the analytics object with period, absolute counts, and rates. Missing or inaccessible template IDs are omitted from results.

get/analytics/templates

Query parameters

fromstring date-time required
Example:2022-03-10T16:15:50Z

Start of the analytics time range as an ISO 8601 timestamp.

template_idsstring[] required

List of template IDs to fetch analytics for.

tostring date-time required
Example:2022-03-10T16:15:50Z

End of the analytics time range as an ISO 8601 timestamp.

Response

OK

urlstring

The URL of the analytics resource

Example response

{
  "period": {
    "from": "2022-03-10T16:15:50Z",
    "to": "2022-03-10T16:15:50Z"
  }
}