Skip to content

Accept invitation (public, no auth)

POST
/invitations/{token}/accept

Accepts an invitation using its token. No authentication required. If the email matches an existing user, the password is verified. If the email is new, a new user account is created. The user is added to the tenant with the role specified in the invitation. A verification email is sent to newly created users.

token
required
string

Invitation token

Email and password for accepting the invitation

Request to accept an invitation.

object
email
required

Email address (must match invitation or be new).

string
password
required

Password (for new users or login verification).

string
Example
{
"email": "[email protected]",
"password": "securepassword123"
}

Invitation accepted successfully

Invitation already accepted or expired

Invalid credentials for existing user

Invitation not found

User is already a member of this tenant

Server error