POST
/
auth
/
reset-password
curl --request POST \
  --url https://scribe-api.puppilot.co/auth/reset-password \
  --header 'Content-Type: application/json' \
  --header 'X-API-Version: <x-api-version>' \
  --data '{
  "token": "jsmith@example.com",
  "new_password": "<string>"
}'
{
  "message": "Password has been reset successfully."
}

Overview

Use a valid password reset token to securely set a new password.

Request Body

  • token (string) - The password reset token sent to the user’s registered email.
  • new-password (string) - The user’s new desired password.

Example Request

{
  "token": "password_reset_token",
  "new_password": "Str0ngP@ssw0rd!"
}

Headers

X-API-Version
string
required

API versioning is required. Include the header X-API-Version with current version value in all requests.

Example:

"v1"

Body

application/json
token
string
required
new_password
string
required

Response

200 - application/json
message
string
Example:

"Password has been reset successfully."