Skip to main content

Endpoint

GET https://api.apifycloud.io/api/v1/analytics/{appId}/templates

Authentication

Bearer token required. Scope: analytics:read

Query parameters

  • limit (number, optional): page size
  • cursor (string, optional): cursor for next page
  • search (string, optional): case-insensitive filter by template name
  • status (string, optional): filter by template status
  • category (string, optional): filter by template category
  • language (string, optional): filter by template language

Response

The list returns the full template structure for every item — the same fields as Template Detail, so you don’t need a second request to read a template’s content. Analytics-only fields (such as quick_reply_count) are available only in the detail endpoint. Each entry in body_variables has index, type (e.g. TEXT), example, and — for NAMED templates — name. POSITIONAL templates omit name (use index). Header and button variables are not returned as a separate field — they appear as {{...}} tokens inside header_text and buttons[].text / buttons[].url.

Errors

  • 403 forbidden unauthorized for app or missing scope
  • 400 validation_error invalid query/path parameters
  • 429 rate_limit_exceeded
  • 500 server_error