{
  "info": {
    "_postman_id": "72bb3bda-c56f-403e-a1d7-1b3e313c37a5",
    "name": "PostHog actions hog_function_templates API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T11:06:47.000Z",
    "updatedAt": "2026-07-28T11:06:48.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-72bb3bda-c56f-403e-a1d7-1b3e313c37a5"
  },
  "item": [
    {
      "name": "api",
      "item": [
        {
          "name": "projects",
          "item": [
            {
              "name": "{project_id}",
              "item": [
                {
                  "name": "hog_function_templates",
                  "item": [
                    {
                      "name": "{template_id}",
                      "item": [
                        {
                          "name": "hog function templates retrieve",
                          "id": "05ad2fa1-2d97-43da-93fe-fd19a26fa05e",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "auth": {
                              "type": "noauth"
                            },
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/projects/:project_id/hog_function_templates/:template_id/",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "projects",
                                ":project_id",
                                "hog_function_templates",
                                ":template_id",
                                ""
                              ],
                              "variable": [
                                {
                                  "id": "af9ebde2-a8cf-46df-8e00-cacbb6b8019f",
                                  "key": "project_id",
                                  "value": "<string>",
                                  "description": "(Required) Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
                                },
                                {
                                  "id": "21c315e9-18ce-4236-ba4e-1bb131edcd73",
                                  "key": "template_id",
                                  "value": "<string>",
                                  "description": "(Required) "
                                }
                              ]
                            }
                          },
                          "response": [
                            {
                              "id": "11b7d18c-7efb-44a1-b5a0-f794a2c61974",
                              "name": "New Response",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/api/projects/:project_id/hog_function_templates/:template_id/",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "api",
                                    "projects",
                                    ":project_id",
                                    "hog_function_templates",
                                    ":template_id",
                                    ""
                                  ],
                                  "variable": [
                                    {
                                      "key": "project_id"
                                    },
                                    {
                                      "key": "template_id"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"code\": \"<string>\",\n  \"id\": \"<string>\",\n  \"inputs_schema\": {\n    \"description\": \"Schema defining configurable inputs for functions created from this template.\"\n  },\n  \"name\": \"<string>\",\n  \"type\": \"<string>\",\n  \"description\": \"<string>\",\n  \"code_language\": \"<string>\",\n  \"status\": \"<string>\",\n  \"category\": {\n    \"description\": \"Category tags for organizing templates.\"\n  },\n  \"free\": \"<boolean>\",\n  \"icon_url\": \"<string>\",\n  \"filters\": {\n    \"nullable\": true,\n    \"description\": \"Default event filters.\"\n  },\n  \"masking\": {\n    \"nullable\": true,\n    \"description\": \"Default PII masking configuration.\"\n  },\n  \"mapping_templates\": [\n    {\n      \"name\": \"<string>\",\n      \"include_by_default\": \"<boolean>\",\n      \"use_all_events_by_default\": \"<boolean>\",\n      \"filters\": {\n        \"nullable\": true,\n        \"description\": \"Event filters specific to this mapping.\"\n      },\n      \"inputs\": {\n        \"nullable\": true,\n        \"description\": \"Input values specific to this mapping.\"\n      },\n      \"inputs_schema\": {\n        \"nullable\": true,\n        \"description\": \"Additional input schema fields specific to this mapping.\"\n      }\n    },\n    {\n      \"name\": \"<string>\",\n      \"include_by_default\": \"<boolean>\",\n      \"use_all_events_by_default\": \"<boolean>\",\n      \"filters\": {\n        \"nullable\": true,\n        \"description\": \"Event filters specific to this mapping.\"\n      },\n      \"inputs\": {\n        \"nullable\": true,\n        \"description\": \"Input values specific to this mapping.\"\n      },\n      \"inputs_schema\": {\n        \"nullable\": true,\n        \"description\": \"Additional input schema fields specific to this mapping.\"\n      }\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T11:06:48.000Z",
                              "updatedAt": "2026-07-28T11:06:48.000Z",
                              "uid": "35240-11b7d18c-7efb-44a1-b5a0-f794a2c61974"
                            }
                          ],
                          "createdAt": "2026-07-28T11:06:48.000Z",
                          "updatedAt": "2026-07-28T11:06:48.000Z",
                          "uid": "35240-05ad2fa1-2d97-43da-93fe-fd19a26fa05e"
                        }
                      ],
                      "id": "25b09a24-095c-4116-adf4-2f0fe257bf8d",
                      "createdAt": "2026-07-28T11:06:48.000Z",
                      "updatedAt": "2026-07-28T11:06:48.000Z",
                      "uid": "35240-25b09a24-095c-4116-adf4-2f0fe257bf8d"
                    },
                    {
                      "name": "hog function templates list",
                      "id": "0d21bb61-d376-4cc3-b403-d844a33c07d8",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "noauth"
                        },
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/api/projects/:project_id/hog_function_templates/?limit=<integer>&offset=<integer>&template_id=<string>&type=<string>&types=<string>",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "projects",
                            ":project_id",
                            "hog_function_templates",
                            ""
                          ],
                          "query": [
                            {
                              "description": "Number of results to return per page.",
                              "key": "limit",
                              "value": "<integer>"
                            },
                            {
                              "description": "The initial index from which to return the results.",
                              "key": "offset",
                              "value": "<integer>"
                            },
                            {
                              "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.",
                              "key": "template_id",
                              "value": "<string>"
                            },
                            {
                              "description": "Filter by template type (e.g. destination, email, sms_provider, broadcast). Defaults to destination if neither type nor types is provided.",
                              "key": "type",
                              "value": "<string>"
                            },
                            {
                              "description": "Comma-separated list of template types to include (e.g. destination,email,sms_provider).",
                              "key": "types",
                              "value": "<string>"
                            }
                          ],
                          "variable": [
                            {
                              "id": "4a9bf34c-e180-4a47-a96c-03bec7e411ef",
                              "key": "project_id",
                              "value": "<string>",
                              "description": "(Required) Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
                            }
                          ]
                        }
                      },
                      "response": [
                        {
                          "id": "18ea313f-da0e-416e-9bd1-807b53f00ff6",
                          "name": "New Response",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/projects/:project_id/hog_function_templates/?limit=<integer>&offset=<integer>&template_id=<string>&type=<string>&types=<string>",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "projects",
                                ":project_id",
                                "hog_function_templates",
                                ""
                              ],
                              "query": [
                                {
                                  "description": "Number of results to return per page.",
                                  "key": "limit",
                                  "value": "<integer>"
                                },
                                {
                                  "description": "The initial index from which to return the results.",
                                  "key": "offset",
                                  "value": "<integer>"
                                },
                                {
                                  "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.",
                                  "key": "template_id",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Filter by template type (e.g. destination, email, sms_provider, broadcast). Defaults to destination if neither type nor types is provided.",
                                  "key": "type",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Comma-separated list of template types to include (e.g. destination,email,sms_provider).",
                                  "key": "types",
                                  "value": "<string>"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "project_id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"count\": \"<integer>\",\n  \"results\": [\n    {\n      \"code\": \"<string>\",\n      \"id\": \"<string>\",\n      \"inputs_schema\": {\n        \"description\": \"Schema defining configurable inputs for functions created from this template.\"\n      },\n      \"name\": \"<string>\",\n      \"type\": \"<string>\",\n      \"description\": \"<string>\",\n      \"code_language\": \"<string>\",\n      \"status\": \"<string>\",\n      \"category\": {\n        \"description\": \"Category tags for organizing templates.\"\n      },\n      \"free\": \"<boolean>\",\n      \"icon_url\": \"<string>\",\n      \"filters\": {\n        \"nullable\": true,\n        \"description\": \"Default event filters.\"\n      },\n      \"masking\": {\n        \"nullable\": true,\n        \"description\": \"Default PII masking configuration.\"\n      },\n      \"mapping_templates\": [\n        {\n          \"name\": \"<string>\",\n          \"include_by_default\": \"<boolean>\",\n          \"use_all_events_by_default\": \"<boolean>\",\n          \"filters\": {\n            \"nullable\": true,\n            \"description\": \"Event filters specific to this mapping.\"\n          },\n          \"inputs\": {\n            \"nullable\": true,\n            \"description\": \"Input values specific to this mapping.\"\n          },\n          \"inputs_schema\": {\n            \"nullable\": true,\n            \"description\": \"Additional input schema fields specific to this mapping.\"\n          }\n        },\n        {\n          \"name\": \"<string>\",\n          \"include_by_default\": \"<boolean>\",\n          \"use_all_events_by_default\": \"<boolean>\",\n          \"filters\": {\n            \"nullable\": true,\n            \"description\": \"Event filters specific to this mapping.\"\n          },\n          \"inputs\": {\n            \"nullable\": true,\n            \"description\": \"Input values specific to this mapping.\"\n          },\n          \"inputs_schema\": {\n            \"nullable\": true,\n            \"description\": \"Additional input schema fields specific to this mapping.\"\n          }\n        }\n      ]\n    },\n    {\n      \"code\": \"<string>\",\n      \"id\": \"<string>\",\n      \"inputs_schema\": {\n        \"description\": \"Schema defining configurable inputs for functions created from this template.\"\n      },\n      \"name\": \"<string>\",\n      \"type\": \"<string>\",\n      \"description\": \"<string>\",\n      \"code_language\": \"<string>\",\n      \"status\": \"<string>\",\n      \"category\": {\n        \"description\": \"Category tags for organizing templates.\"\n      },\n      \"free\": \"<boolean>\",\n      \"icon_url\": \"<string>\",\n      \"filters\": {\n        \"nullable\": true,\n        \"description\": \"Default event filters.\"\n      },\n      \"masking\": {\n        \"nullable\": true,\n        \"description\": \"Default PII masking configuration.\"\n      },\n      \"mapping_templates\": [\n        {\n          \"name\": \"<string>\",\n          \"include_by_default\": \"<boolean>\",\n          \"use_all_events_by_default\": \"<boolean>\",\n          \"filters\": {\n            \"nullable\": true,\n            \"description\": \"Event filters specific to this mapping.\"\n          },\n          \"inputs\": {\n            \"nullable\": true,\n            \"description\": \"Input values specific to this mapping.\"\n          },\n          \"inputs_schema\": {\n            \"nullable\": true,\n            \"description\": \"Additional input schema fields specific to this mapping.\"\n          }\n        },\n        {\n          \"name\": \"<string>\",\n          \"include_by_default\": \"<boolean>\",\n          \"use_all_events_by_default\": \"<boolean>\",\n          \"filters\": {\n            \"nullable\": true,\n            \"description\": \"Event filters specific to this mapping.\"\n          },\n          \"inputs\": {\n            \"nullable\": true,\n            \"description\": \"Input values specific to this mapping.\"\n          },\n          \"inputs_schema\": {\n            \"nullable\": true,\n            \"description\": \"Additional input schema fields specific to this mapping.\"\n          }\n        }\n      ]\n    }\n  ],\n  \"next\": \"<uri>\",\n  \"previous\": \"<uri>\"\n}",
                          "createdAt": "2026-07-28T11:06:48.000Z",
                          "updatedAt": "2026-07-28T11:06:48.000Z",
                          "uid": "35240-18ea313f-da0e-416e-9bd1-807b53f00ff6"
                        }
                      ],
                      "createdAt": "2026-07-28T11:06:48.000Z",
                      "updatedAt": "2026-07-28T11:06:48.000Z",
                      "uid": "35240-0d21bb61-d376-4cc3-b403-d844a33c07d8"
                    }
                  ],
                  "id": "c77167d9-a7d0-4e11-b5bb-356703978f98",
                  "createdAt": "2026-07-28T11:06:48.000Z",
                  "updatedAt": "2026-07-28T11:06:48.000Z",
                  "uid": "35240-c77167d9-a7d0-4e11-b5bb-356703978f98"
                }
              ],
              "id": "8ed0dcef-03a4-4194-8553-a9ae252695d2",
              "createdAt": "2026-07-28T11:06:48.000Z",
              "updatedAt": "2026-07-28T11:06:48.000Z",
              "uid": "35240-8ed0dcef-03a4-4194-8553-a9ae252695d2"
            }
          ],
          "id": "9f6c1166-6f92-4930-bab9-db6749f0582e",
          "createdAt": "2026-07-28T11:06:48.000Z",
          "updatedAt": "2026-07-28T11:06:48.000Z",
          "uid": "35240-9f6c1166-6f92-4930-bab9-db6749f0582e"
        },
        {
          "name": "public_hog_function_templates",
          "item": [
            {
              "name": "public hog function templates list",
              "id": "356f4a74-3bc3-4252-a959-d45d7530b640",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "auth": {
                  "type": "noauth"
                },
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/api/public_hog_function_templates/?limit=<integer>&offset=<integer>&template_id=<string>&type=<string>&types=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "api",
                    "public_hog_function_templates",
                    ""
                  ],
                  "query": [
                    {
                      "description": "Number of results to return per page.",
                      "key": "limit",
                      "value": "<integer>"
                    },
                    {
                      "description": "The initial index from which to return the results.",
                      "key": "offset",
                      "value": "<integer>"
                    },
                    {
                      "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.",
                      "key": "template_id",
                      "value": "<string>"
                    },
                    {
                      "description": "Filter by template type (e.g. destination, email, sms_provider, broadcast). Defaults to destination if neither type nor types is provided.",
                      "key": "type",
                      "value": "<string>"
                    },
                    {
                      "description": "Comma-separated list of template types to include (e.g. destination,email,sms_provider).",
                      "key": "types",
                      "value": "<string>"
                    }
                  ]
                }
              },
              "response": [
                {
                  "id": "e5c7be1a-e07d-413c-a241-0cba0a7356bf",
                  "name": "New Response",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/api/public_hog_function_templates/?limit=<integer>&offset=<integer>&template_id=<string>&type=<string>&types=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "api",
                        "public_hog_function_templates",
                        ""
                      ],
                      "query": [
                        {
                          "description": "Number of results to return per page.",
                          "key": "limit",
                          "value": "<integer>"
                        },
                        {
                          "description": "The initial index from which to return the results.",
                          "key": "offset",
                          "value": "<integer>"
                        },
                        {
                          "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.",
                          "key": "template_id",
                          "value": "<string>"
                        },
                        {
                          "description": "Filter by template type (e.g. destination, email, sms_provider, broadcast). Defaults to destination if neither type nor types is provided.",
                          "key": "type",
                          "value": "<string>"
                        },
                        {
                          "description": "Comma-separated list of template types to include (e.g. destination,email,sms_provider).",
                          "key": "types",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"count\": \"<integer>\",\n  \"results\": [\n    {\n      \"code\": \"<string>\",\n      \"id\": \"<string>\",\n      \"inputs_schema\": {\n        \"description\": \"Schema defining configurable inputs for functions created from this template.\"\n      },\n      \"name\": \"<string>\",\n      \"type\": \"<string>\",\n      \"description\": \"<string>\",\n      \"code_language\": \"<string>\",\n      \"status\": \"<string>\",\n      \"category\": {\n        \"description\": \"Category tags for organizing templates.\"\n      },\n      \"free\": \"<boolean>\",\n      \"icon_url\": \"<string>\",\n      \"filters\": {\n        \"nullable\": true,\n        \"description\": \"Default event filters.\"\n      },\n      \"masking\": {\n        \"nullable\": true,\n        \"description\": \"Default PII masking configuration.\"\n      },\n      \"mapping_templates\": [\n        {\n          \"name\": \"<string>\",\n          \"include_by_default\": \"<boolean>\",\n          \"use_all_events_by_default\": \"<boolean>\",\n          \"filters\": {\n            \"nullable\": true,\n            \"description\": \"Event filters specific to this mapping.\"\n          },\n          \"inputs\": {\n            \"nullable\": true,\n            \"description\": \"Input values specific to this mapping.\"\n          },\n          \"inputs_schema\": {\n            \"nullable\": true,\n            \"description\": \"Additional input schema fields specific to this mapping.\"\n          }\n        },\n        {\n          \"name\": \"<string>\",\n          \"include_by_default\": \"<boolean>\",\n          \"use_all_events_by_default\": \"<boolean>\",\n          \"filters\": {\n            \"nullable\": true,\n            \"description\": \"Event filters specific to this mapping.\"\n          },\n          \"inputs\": {\n            \"nullable\": true,\n            \"description\": \"Input values specific to this mapping.\"\n          },\n          \"inputs_schema\": {\n            \"nullable\": true,\n            \"description\": \"Additional input schema fields specific to this mapping.\"\n          }\n        }\n      ]\n    },\n    {\n      \"code\": \"<string>\",\n      \"id\": \"<string>\",\n      \"inputs_schema\": {\n        \"description\": \"Schema defining configurable inputs for functions created from this template.\"\n      },\n      \"name\": \"<string>\",\n      \"type\": \"<string>\",\n      \"description\": \"<string>\",\n      \"code_language\": \"<string>\",\n      \"status\": \"<string>\",\n      \"category\": {\n        \"description\": \"Category tags for organizing templates.\"\n      },\n      \"free\": \"<boolean>\",\n      \"icon_url\": \"<string>\",\n      \"filters\": {\n        \"nullable\": true,\n        \"description\": \"Default event filters.\"\n      },\n      \"masking\": {\n        \"nullable\": true,\n        \"description\": \"Default PII masking configuration.\"\n      },\n      \"mapping_templates\": [\n        {\n          \"name\": \"<string>\",\n          \"include_by_default\": \"<boolean>\",\n          \"use_all_events_by_default\": \"<boolean>\",\n          \"filters\": {\n            \"nullable\": true,\n            \"description\": \"Event filters specific to this mapping.\"\n          },\n          \"inputs\": {\n            \"nullable\": true,\n            \"description\": \"Input values specific to this mapping.\"\n          },\n          \"inputs_schema\": {\n            \"nullable\": true,\n            \"description\": \"Additional input schema fields specific to this mapping.\"\n          }\n        },\n        {\n          \"name\": \"<string>\",\n          \"include_by_default\": \"<boolean>\",\n          \"use_all_events_by_default\": \"<boolean>\",\n          \"filters\": {\n            \"nullable\": true,\n            \"description\": \"Event filters specific to this mapping.\"\n          },\n          \"inputs\": {\n            \"nullable\": true,\n            \"description\": \"Input values specific to this mapping.\"\n          },\n          \"inputs_schema\": {\n            \"nullable\": true,\n            \"description\": \"Additional input schema fields specific to this mapping.\"\n          }\n        }\n      ]\n    }\n  ],\n  \"next\": \"<uri>\",\n  \"previous\": \"<uri>\"\n}",
                  "createdAt": "2026-07-28T11:06:48.000Z",
                  "updatedAt": "2026-07-28T11:06:48.000Z",
                  "uid": "35240-e5c7be1a-e07d-413c-a241-0cba0a7356bf"
                }
              ],
              "createdAt": "2026-07-28T11:06:48.000Z",
              "updatedAt": "2026-07-28T11:06:48.000Z",
              "uid": "35240-356f4a74-3bc3-4252-a959-d45d7530b640"
            }
          ],
          "id": "6d9d1dcb-a745-4a62-999b-56708b6ca2d1",
          "createdAt": "2026-07-28T11:06:48.000Z",
          "updatedAt": "2026-07-28T11:06:48.000Z",
          "uid": "35240-6d9d1dcb-a745-4a62-999b-56708b6ca2d1"
        }
      ],
      "id": "c0c44006-e43d-47b2-bb98-87bbf548daf3",
      "createdAt": "2026-07-28T11:06:48.000Z",
      "updatedAt": "2026-07-28T11:06:48.000Z",
      "uid": "35240-c0c44006-e43d-47b2-bb98-87bbf548daf3"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "/"
    }
  ]
}