Skip to main content
POST
Create an invitation

Authorizations

Authorization
string
header
required

Supabase-issued session JWT; required for org, invite, and key management.

Path Parameters

organization_id
string
required

Body

application/json
email
string<email>
required
role
enum<string>
default:member

Custom roles are out of scope; the set is closed. billing is a restricted role that cannot manage members, invitations, or organization settings.

Available options:
owner,
member,
billing

Response

Invitation created; body carries the token once

invitation
object
required
token
string
required

Shown exactly once. Belongs in the URL fragment of an invite link, never in a path or query string.