Invite a member
POST
/api/v1/invitationsRequires the admin role.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
invitation
object
name
required
string
email
required
string format: email
role
string
Responses
Section titled “Responses”201
The invitation (the invite secret is never returned)
The invitation (the invite secret is never returned)
Response body
Media typeapplication/json
object
id
string
name
string
email
string format: email
role
string
invited_by
string | null
Name of the member who sent the invitation
created_at
string format: date-time
403
Insufficient scope, role, or credits
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
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