provider user_interview_topics POST /api/projects/{project_id}/user_interview_topics/{id}/generate_links/
@utdk/posthog /api/projects/{project_id}/user_interview_topics/{id}/generate_links/
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.
id path required
A UUID string identifying this user interview topic.
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

Try it

Authentication
Configure credentials for PostHog API
userInterviewTopicsGenerateLinksCreate
POST/api/projects/{project_id}/user_interview_topics/{id}/generate_links/
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.

Parameters

required

A UUID string identifying this user interview topic.

required

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

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