Skip to content

Verify email + set the login password (mailbox owner)

Public token route (token in path). The mailbox owner sets the login password here, atomically with marking the account verified — overwriting any register-time provisional password. On success sets the session cookie and logs the user in.

token
required
string

Email-verification token from the emailed link

Media typeapplication/json
object
password
required
string
>= 8 characters
Examplegenerated
json
{
"password": "example"
}

Verified & logged in; Set-Cookie trackly_session

Media typeapplication/json
object
ok
boolean

Password too short

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

Token invalid/expired/used

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

Session secret not configured

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}