Skip to content

Invite a member

POST
/api/v1/invitations

Requires the admin role.

Media typeapplication/json
object
invitation
object
name
required
string
email
required
string format: email
role
string
default: viewer
Allowed values: admin member viewer

201

The invitation (the invite secret is never returned)

Response body
Media typeapplication/json
object
id
string
name
string
email
string format: email
role
string
Allowed values: admin member viewer
invited_by
string | null

Name of the member who sent the invitation

created_at
string format: date-time

403

Insufficient scope, role, or credits

Response body
Media typeapplication/json
object
error
object
code
string

A stable machine-readable code

message
string
details
Array<string>

Present on validation errors; one entry per failed validation

422

The record could not be saved

Response body
Media typeapplication/json
object
error
object
code
string

A stable machine-readable code

message
string
details
Array<string>

Present on validation errors; one entry per failed validation