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

{
  "data": [
    {
      "id": "uuid",
      "app_id": "uuid",
      "name": "hsm_odontologia_v0",
      "category": "UTILITY",
      "language": "es_MX",
      "status": "APPROVED",
      "header_type": "TEXT",
      "gupshup_template_id": "string",
      "gupshup_status": "APPROVED",
      "gupshup_quality": "GREEN",
      "button_count": 2,
      "created_at": "2026-02-18T00:00:00.000Z",
      "updated_at": "2026-02-18T00:00:00.000Z"
    }
  ],
  "pagination": {
    "nextCursor": "base64cursor",
    "hasMore": true,
    "limit": 20
  },
  "meta": {
    "timestamp": "2026-02-18T00:00:00.000Z"
  }
}

Errors

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