provider user_interview_topics POST /api/environments/{environment_id}/user_interview_topics/{id}/add_interviewee/
@utdk/posthog /api/environments/{environment_id}/user_interview_topics/{id}/add_interviewee/
environments_user_interview_topics_add_interviewee_create
Add a single interviewee to this topic. Email-shaped identifiers (including the `Display Name <email@host>` form) are appended to `interviewee_emails`; everything else is appended to `interviewee_distinct_ids`. Idempotent — adding an identifier that's already present leaves the topic unchanged. Returns the updated topic.
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
environmentsUserInterviewTopicsAddIntervieweeCreate
POST/api/environments/{environment_id}/user_interview_topics/{id}/add_interviewee/
Add a single interviewee to this topic. Email-shaped identifiers (including the `Display Name <email@host>` form) are appended to `interviewee_emails`; everything else is appended to `interviewee_distinct_ids`. Idempotent — adding an identifier that's already present leaves the topic unchanged. Returns the updated topic.

Parameters

required

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

required

A UUID string identifying this user interview topic.

Input

required

Email address or PostHog distinct ID for the interviewee. Email-shaped values (including the `Display Name <email@host>` form) are routed to `interviewee_emails`; everything else lands in `interviewee_distinct_ids`.

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