Skip to main content
POST
Create invitation

Authorizations

Authorization
string
header
required

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

Path Parameters

project_reference
string
required

Project slug, UUID, or domain that identifies the project.

Body

application/json
email
string<email>
required

Recipient email, stored in lowercase. Existing users are added or have their role changed; otherwise a pending invitation is created. An available collaboration seat is required.

Maximum string length: 100
role
enum<string>
required

Role to grant: admin, editor or viewer.

Available options:
admin,
editor,
viewer

Response

An existing user was added to the project

outcome
enum<string>
required

member_added when the email already belongs to a user, who is added to the project (or has their role changed); invitation_created when a pending invitation was stored.

Available options:
member_added,
invitation_created
invitation
object | null
required

The pending invitation; null when outcome is member_added.

user_id
string<uuid> | null
required

The added user; set only when outcome is member_added.

email_sent
boolean
required

Whether the email service accepted the notification send. False when sending is unavailable or fails; it does not confirm inbox delivery.