Skip to content
GET /auth/verify-email

The link POST /auth/signup emails. Opening it verifies the address, sets the session cookie and redirects to the dashboard. The link works once, for 24 hours; a dead link redirects to the dashboard's "link expired" page (/auth/error?reason=verification_link_expired). That redirect adds state=verified when the link's account is verified, or token (the dead token) when its signup still waits for verification, for POST /auth/verify-email/resend.

Query Parameters

tokenstring
required·

The trtvfy_{user_id}_{secret} token from the email.

curl -X GET 'https://api.truto.one/auth/verify-email' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.truto.one/auth/verify-email', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
import requests

url = "https://api.truto.one/auth/verify-email"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}

response = requests.get(url, headers=headers, params=params)
print(response.json())