Resend email verification code

This section provides instructions on using /auth/resend-code endpoint to get verification code resent to the provided email.

Step 1: Prepare Your Request

  • Endpoint: /auth/resend-code

  • Method: POST

  • URL: https://api.talkstackai.com/auth/resend-code

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

Step 2: Create the Request Body

  • email: Email of the user.

Example Request Body:

{
    "email": "example@host.com"
}

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

    {
        "message": "successfully sent verification code to mail",
        "status": "success"
    }

Troubleshooting

  • 400 Bad Request: email is missing in request body or invalid.

  • 404 Not Found: Is the email has not been registered for verification.

  • 500 Internal Server Error: For server errors.

Last updated 17 hours ago

Last updated