provider user_interview_topics POST /api/projects/{project_id}/user_interview_topics/{id}/preview_invite/
@utdk/posthog /api/projects/{project_id}/user_interview_topics/{id}/preview_invite/
user_interview_topics_preview_invite_create
Render the invite email exactly as a specific targeted interviewee would receive it — personalized subject and body — without sending anything and without creating or reading any share links. Pass `interviewee_identifier` to preview for a particular person, or omit it to preview for the first targeted interviewee. The body always shows an illustrative placeholder link (`is_preview_link: true`), never a live interview URL.
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
userInterviewTopicsPreviewInviteCreate
POST/api/projects/{project_id}/user_interview_topics/{id}/preview_invite/
Render the invite email exactly as a specific targeted interviewee would receive it — personalized subject and body — without sending anything and without creating or reading any share links. Pass `interviewee_identifier` to preview for a particular person, or omit it to preview for the first targeted interviewee. The body always shows an illustrative placeholder link (`is_preview_link: true`), never a live interview URL.

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/.

Input

Which targeted interviewee to render the preview for (an email or PostHog distinct ID already on the topic). Leave blank to preview for the first targeted interviewee.

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