curl --request POST \
--url https://api.example.com/invitations/details \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>"
}
'{
"organization_name": "<string>",
"role": "viewer"
}Resolve an invite token to org name and role.
No authentication required — used by the frontend to preview what organization/role an invite link grants.
curl --request POST \
--url https://api.example.com/invitations/details \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>"
}
'{
"organization_name": "<string>",
"role": "viewer"
}