hog_function_templates
public_hog_function_templates

get/api/public_hog_function_templates/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/public_hog_function_templates/
  • Auth: none required

Query parameters

limitinteger

Number of results to return per page.

offsetinteger

The initial index from which to return the results.

template_idstring

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.

typestring

Filter by template type (e.g. destination, email, sms_provider, broadcast). Defaults to destination if neither type nor types is provided.

typesstring

Comma-separated list of template types to include (e.g. destination,email,sms_provider).

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100"
}

Changes

No recorded changes to this operation across all 1 revision of this API.