provider organizationsinvites POST /api/organizations/{organization_id}/invites/delegate/
@utdk/posthog /api/organizations/{organization_id}/invites/delegate/
invites_delegate_create
Create an onboarding delegation invite: an admin-level invite flagged as a setup delegation. Sends a single dedicated delegation email and records the inviting user as having delegated.
organization_id path required
ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/.
string

Try it

Authentication
Configure credentials for PostHog API
invitesDelegateCreate
POST/api/organizations/{organization_id}/invites/delegate/
Create an onboarding delegation invite: an admin-level invite flagged as a setup delegation. Sends a single dedicated delegation email and records the inviting user as having delegated.

Parameters

required

ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/.

Input

required

Email of the teammate who should complete setup on the inviter's behalf. Receives a PostHog-branded delegation invite granting admin-level membership on accept.

Optional personal message included in the delegation email (up to 1000 characters).

Onboarding step key the delegator was on when delegating, for analytics only.

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