Skip to main content
POST
Invite an existing account to the company

Authorizations

Authorization
string
header
required

Session JWT (from register/login) or API key (pk_...). X-API-Key: <token> is accepted as an alternative header.

Headers

Idempotency-Key
string

Alternative to the idempotency_key body field.

Body

application/json
email
string<email>
required
role
enum<string>
required
Available options:
operator,
viewer

Response

Invitation created (pending).

invite_id
string<uuid>
company_account_id
string<uuid>
company_name
string
email
string
role
enum<string>
Available options:
operator,
viewer
status
enum<string>
Available options:
pending,
accepted,
declined,
revoked,
expired
invited_by
string
delivery
enum<string>
Available options:
link,
inbox
expires_at
string<date-time>
decided_at
string<date-time>
created_at
string<date-time>