Skip to content

Get invitation details by token

GET
/_torii/auth/invitation/details
curl --request GET \
--url 'https://your-app.toriiauth.eu/_torii/auth/invitation/details?token=example'

Returns the invited email, app name, and (for organization invitations) the organization name for rendering the invitation sign-up surface. No authentication required.

token
required
string
Host
string

OK

Media typeapplication/json
object
email
required
string
environmentName
required
string
organizationName
string | null
roleName
string | null
accountExists
required
boolean
expired
required
boolean
accepted
required
boolean
revoked
required
boolean
Examplegenerated
{
"email": "example",
"environmentName": "example",
"organizationName": "example",
"roleName": "example",
"accountExists": true,
"expired": true,
"accepted": true,
"revoked": true
}