Skip to main content

Flow

1

Send Invitation

Admin sends invitation with email and optional role slug.
2

Email Delivered

Invitation email with acceptance URL sent to the user.
3

User Accepts

User clicks the link and authenticates (sign-up or sign-in with token).
4

Membership Created

A membership is automatically created in the organization.

States

StateDescription
PENDINGInvitation sent, awaiting acceptance
ACCEPTEDUser accepted the invitation
REVOKEDAdmin or inviter revoked
EXPIREDPast expiresAt date

Rules

  • Email must be unique per organization
  • Only PENDING invitations can be revoked or resent
  • Magic link OTP flow can validate and accept invitations
  • Invitations auto-expire based on expiresAt