Skip to main content
POST
Create Organization Invitation

Authorizations

Authorization
string
header
required

A control-plane management key using the sk-cp- prefix. Inference keys are not accepted by control-plane endpoints.

Path Parameters

org_id
string
required

Organization ID or slug

Body

application/json
email
string
required

Email address that must match the account accepting the invitation

Required string length: 3 - 320
org_role
string
required

Organization role to grant

Pattern: ^(admin|member)$
workspace_id
string<uuid> | null

Optional workspace to join

workspace_role
string | null

Role to grant in the selected workspace

Pattern: ^(admin|member|viewer)$

Response

Successful Response

data
OrgInvitationMintedOut · object
required