Skip to content

Get invitation details by token

GET
/api/v1/invitations/{token}
curl --request GET \
--url http://localhost:3000/api/v1/invitations/example

Retrieves invitation details using the token from the invitation email. No authentication required.

token
required
string

Invitation token from the email

Invitation details retrieved successfully

Media type application/json
object
token
required

Invitation token

string
email
required

Email address the invitation was sent to

string format: email
organizationName
required

Name of the organization being invited to

string
organizationSlug
required

URL-friendly slug of the organization

string
invitedByName

Name of the user who sent the invitation

string
expiresAt
required

When the invitation expires

string format: date-time
userExists
required

True when a user with this email already exists. The accept form should skip the password field in that case — credentials are preserved and the existing user is just added to the new tenant.

boolean
Example
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"email": "newuser@example.com",
"organizationName": "Acme Corporation",
"organizationSlug": "acme-corporation",
"invitedByName": "Admin User",
"expiresAt": "2024-06-27T10:30:00Z",
"userExists": false
}

Invalid or expired token

Invitation not found