provider organizationsinvites POST /api/organizations/{organization_id}/invites/bulk/
@utdk/posthog /api/organizations/{organization_id}/invites/bulk/
invites_bulk_create
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
invitesBulkCreate
POST/api/organizations/{organization_id}/invites/bulk/

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
required
required

* `1` - member * `8` - administrator * `15` - owner

required

Check if invite is older than INVITE_DAYS_VALIDITY days.

required
required
required

List of team IDs and corresponding access levels to private 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.invitesBulkCreate({
  "send_email": true,
  "combine_pending_invites": false
})