auth

Verify email (token in path)

IdP convenience route: calls IdP auth route verifyEmail with the token. Registration emails typically use IdP’s own verify URL (/api/auth/verify-email, hidden in Scalar); this path supports legacy or custom links. With return_to or redirect_uri (deprecated), redirects on success/error with auth_action=verify_email query params. On success, domain users.verified is updated (afterEmailVerification).

get/auth/verify/{token}

Request

  • Base URL: https://api.leisurevans.com
  • URL: https://api.leisurevans.com/auth/verify/{token}
  • Auth: none declared

Path parameters

tokenstring required

Query parameters

return_tostring uri-reference

Safe in-app URL for redirect after verify (IdP allowlist).

redirect_uristring uri-reference

Response

JSON success when no redirect target is supplied.

successboolean required
messagestring required

Example response

{
  "success": true,
  "message": "Your email has been verified successfully."
}

Changes

No recorded changes to this operation across all 1 revision of this API.