provider subscriptionssubscriptions GET /api/environments/{environment_id}/subscriptions/
@utdk/posthog /api/environments/{environment_id}/subscriptions/
environments_subscriptions_list
created_by query
Filter by creator user UUID.
string
dashboard query
Filter by dashboard ID.
integer
dashboard_tiles query
Filter to subscriptions on insights that are tiles of the given dashboard ID.
integer
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
insight query
Filter by insight ID.
integer
insights query
Filter by a comma-separated list of insight IDs.
string
limit query
Number of results to return per page.
integer
offset query
The initial index from which to return the results.
integer
ordering query
Which field to use when ordering the results.
string
resource_type query
Filter by subscription resource: insight, dashboard export, or AI report.
enum: ai_prompt, dashboard, insight
search query
A search term.
string
target_type query
Filter by delivery channel (email or Slack).
enum: email, slack

Try it

Authentication
Configure credentials for PostHog API
environmentsSubscriptionsList
GET/api/environments/{environment_id}/subscriptions/

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

Filter by creator user UUID.

Filter by dashboard ID.

Filter to subscriptions on insights that are tiles of the given dashboard ID.

Filter by insight ID.

Filter by a comma-separated list of insight IDs.

Number of results to return per page.

The initial index from which to return the results.

Which field to use when ordering the results.

Filter by subscription resource: insight, dashboard export, or AI report.

A search term.

Filter by delivery channel (email or Slack).

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.environmentsSubscriptionsList()