provider marketing_analytics GET /api/environments/{environment_id}/marketing_analytics/conversion_goals/
@utdk/posthog /api/environments/{environment_id}/marketing_analytics/conversion_goals/
List conversion goals
Read the configured conversion goals for the current project — each with its kind, target, last-30d count, integrated vs non-integrated split, and a misconfiguration flag. Read-only.
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsMarketingAnalyticsConversionGoalsRetrieve
GET/api/environments/{environment_id}/marketing_analytics/conversion_goals/
Read the configured conversion goals for the current project — each with its kind, target, last-30d count, integrated vs non-integrated split, and a misconfiguration flag. Read-only.

Parameters

required

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

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