{
  "opencollection": "1.0.0",
  "info": {
    "name": "PostHog actions hog_function_templates API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "hog_function_templates",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "hog_function_templates_list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/projects/:project_id/hog_function_templates/",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The initial index from which to return the results."
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              },
              {
                "name": "template_id",
                "value": "",
                "type": "query",
                "description": "Filter to a specific template by its template_id. Deprecated templates are excluded from list results; use the retrieve endpoint to look up a template by ID regardless of status."
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Filter by template type (e.g. destination, email, sms_provider, broadcast). Defaults to destination if neither type nor types is provided."
              },
              {
                "name": "types",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of template types to include (e.g. destination,email,sms_provider)."
              }
            ]
          }
        },
        {
          "info": {
            "name": "hog_function_templates_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/projects/:project_id/hog_function_templates/:template_id/",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              },
              {
                "name": "template_id",
                "value": "",
                "type": "path"
              }
            ]
          }
        },
        {
          "info": {
            "name": "public_hog_function_templates_list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/public_hog_function_templates/",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The initial index from which to return the results."
              },
              {
                "name": "template_id",
                "value": "",
                "type": "query",
                "description": "Filter to a specific template by its template_id. Deprecated templates are excluded from list results; use the retrieve endpoint to look up a template by ID regardless of status."
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Filter by template type (e.g. destination, email, sms_provider, broadcast). Defaults to destination if neither type nor types is provided."
              },
              {
                "name": "types",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of template types to include (e.g. destination,email,sms_provider)."
              }
            ]
          }
        }
      ]
    }
  ],
  "bundled": true
}