Skip to content
Torii docs

Sign up from an invitation ticket

POST
/_torii/auth/invitation/password-signup
curl --request POST \
--url 'https://your-app.torii.so/_torii/auth/invitation/password-signup?_is_native=false' \
--header 'Content-Type: application/json' \
--data '{ "token": "example", "password": "example", "legalConsentAccepted": true }'

Creates a verified end-user from an invitation token and accepts the invitation, returning a session.

Host
string
_is_native
boolean
Media type application/json
object
token
required
string
>= 1 characters
password
required
string
>= 1 characters
legalConsentAccepted
required
boolean
Example generated
{
"token": "example",
"password": "example",
"legalConsentAccepted": true
}

OK

Media type application/json
object
Example generated
{}