Forgot Password

This section provides instructions on using /auth/forgot-password endpoint to recover your account.

Step 1: Prepare Your Request

  • Endpoint: /auth/forgot-password

  • Method: POST

  • URL: https://api.talkstackai.com/auth/forgot-password

  • Headers: Include Content-Type: application/json.

Step 2: Create the Request Body

  • email: Registered email of the user.

Example Request Body:

{
    "email": "[email protected]"
}

Step 3: Send the Request

Use your preferred HTTP client to send the POST request with the JSON body.

Step 4: Handle the response

Success Response:

Status Code: 200 OK

Body:

{
    "message": "If the email is registered, a reset link has been sent.",
    "status": "success"
}

Troubleshooting

  • 400 Bad Request: If the email is missing or invalid or if you haven't registered using this email.

  • 404 Not Found: If the user is not found.

  • 500 Internal Server Error: For errors in forgot password API.

Last updated 18 hours ago

Last updated