provider user_interview_topics POST
/api/environments/{environment_id}/user_interview_topics/{id}/generate_links/ @utdk/posthog
/api/environments/{environment_id}/user_interview_topics/{id}/generate_links/ environments_user_interview_topics_generate_links_create
Generate one public interview link per targeted interviewee. Materializes an IntervieweeContext row for every identifier on the topic (without overwriting existing per-person context), and an enabled SharingConfiguration with a unique access token. The URL resolves to the public interview viewer with no PostHog auth required.
- environment_id path required
- Deprecated. Use /api/projects/{project_id}/ instead.
- string
- id path required
- A UUID string identifying this user interview topic.
- string
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.environmentsUserInterviewTopicsGenerateLinksCreate()