provider user_interview_topics POST
/api/environments/{environment_id}/user_interview_topics/{id}/send_invites/ @utdk/posthog
/api/environments/{environment_id}/user_interview_topics/{id}/send_invites/ environments_user_interview_topics_send_invites_create
Generate (if needed) and email a personalized public interview link to every targeted interviewee on this topic whose identifier is an email address. Distinct-ID-only interviewees are skipped and surfaced in the response. Each invite is keyed on the underlying SharingConfiguration so re-runs after token rotation produce a fresh send.
- 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.environmentsUserInterviewTopicsSendInvitesCreate({
"send_async": true
})