Validate Reset Token
Deprecated
GET
/auth/reset-password/validate
const url = 'https://example.com/auth/reset-password/validate?token=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/auth/reset-password/validate?token=example'Deprecated: use POST /auth/reset-password/validate, which keeps the token out of the URL.
Kept for one release so old clients keep working; every call logs a warning.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”token
required
Token
string
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
TokenValidityResponse
Response for a public, side-effect-free “is this token still usable” check — lets a link-landing page (reset-password, accept-invite) show an error state immediately instead of rendering a form that is doomed to fail at submit. Never reveals why a token is invalid (unknown vs expired vs already used vs revoked) — that distinction isn’t needed by the caller and would leak more than the caller asked for.
object
valid
required
Valid
boolean
Example generated
{ "valid": true}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}