Skip to main content
POST
Create account invitation

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

account_id
string<uuid>
required

Body

application/json
email
string<email>
required
Maximum string length: 254
role
enum<string>
default:admin
Available options:
admin

Response

Invitation created; the token is returned only here

id
string<uuid>
required
account_id
string<uuid>
required
email
string
required
role
enum<string>
required
Available options:
owner,
admin
status
enum<string>
required

Pending invitations are reported as expired after expires_at.

Available options:
pending,
accepted,
revoked,
expired
expires_at
string
required
invited_by_user_id
string<uuid> | null
required
accepted_by_user_id
string<uuid> | null
required
resolved_at
string | null
required
created_at
string
required
token
string
required

Raw acceptance token. Returned exactly once; the server stores only its hash.