Preview an invitation by token
Public token route. Returns the invited email/role/expiry and whether an account already exists for the email.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”token
required
string
Responses
Section titled “Responses”Invitation preview
Media typeapplication/json
object
email
string
role
string
expiresAt
string
hasAccount
boolean
Invitation not found / invalid link
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Invitation already used/revoked
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Invitation expired
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}