provider hog_function_templateshog_function_templates GET /api/projects/{project_id}/hog_function_templates/
@utdk/posthog /api/projects/{project_id}/hog_function_templates/
hog_function_templates_list
limit query
Number of results to return per page.
integer
offset query
The initial index from which to return the results.
integer
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string
template_id query
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.
string
type query
Filter by template type (e.g. destination, email, sms_provider, broadcast). Defaults to destination if neither type nor types is provided.
string
types query
Comma-separated list of template types to include (e.g. destination,email,sms_provider).
string

Try it

Authentication
Configure credentials for PostHog API
hogFunctionTemplatesList
GET/api/projects/{project_id}/hog_function_templates/

Parameters

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Number of results to return per page.

The initial index from which to return the results.

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.

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

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

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.hogFunctionTemplatesList()