VideohatiDocs
API referenceAuthentication

Set a new password with a reset token

Set a new password with a reset token

POST/v1/auth/password-reset/confirm

Rate limit: 30 requests per 60 s per IP.

Error codes: password_too_short (400), password_breached (400), invalid_or_expired_token (400), invalid_input (400).

Authentication

  • This operation needs no authentication.

Parameters

This operation takes no parameters.

Request body

required

Content type: application/json

{
  "token": "3q2hHkz0V8wXbA4tNfYcDmEuJp",
  "newPassword": "a-new-long-password"
}

Responses

StatusMeaning
200Password updated.
400The request body or query failed validation. The per-operation description lists the exact error.code values.
429Rate limit exceeded.

Example request

{
  "token": "3q2hHkz0V8wXbA4tNfYcDmEuJp",
  "newPassword": "a-new-long-password"
}

Try it

POST
/v1/auth/password-reset/confirm
No authentication

API playground

Send a live request to the Videohati API; this operation needs no authentication.

https://api.staging.videohati.com/v1/auth/password-reset/confirm