Skip to content
POST /auth/verify-email/resend

Mails a new verification link for the account a dead verification link belonged to, to that account's own address. Called by the dashboard's "link expired" page with the token its redirect carries. The token only names the account; it proves nothing.

Protected by Turnstile (cf_token), a per-IP limit (20 a minute) and one link per account a minute (429).

Request Body

cf_tokenstring

The Turnstile token from the page.

tokenstring

The trtvfy_{user_id}_{secret} token of the dead link.

Response Body

expires_ininteger

Seconds until the account is removed if it is still not verified: 24 hours after the first signup, which a new link does not move. At most 86400.

successboolean

Errors

StatusDescription
400A missing or invalid field, a cf_token Turnstile refused, or a token that names no account waiting for verification (an account not verified within 24 hours is removed).
404Self-serve signup is not offered here.
409The email is already verified (code email_already_verified). Sign in instead.
429A link was sent for this account in the last 60 seconds (it still works), or too many requests from this IP.
503The mail could not be sent. Retry.
curl -X POST 'https://api.truto.one/auth/verify-email/resend' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json' \
  -d '{
  "cf_token": "your_cf_token",
  "token": "your_token"
}'
const body = {
  "cf_token": "your_cf_token",
  "token": "your_token"
};

const response = await fetch('https://api.truto.one/auth/verify-email/resend', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify(body),
});

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

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

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