provider subscriptionssubscriptions GET
/api/projects/{project_id}/subscriptions/ @utdk/posthog
/api/projects/{project_id}/subscriptions/ 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
- 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
- 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
- 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
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.subscriptionsList()