Skip to main content
POST
/
auth
/
reset-password
curl -X POST "https://api.tktchurch.com/v1/auth/reset-password" \
  -H "Content-Type: application/json" \
  -d '{
    "token": "eyJhbGciOiJIUzI1NiIs...",
    "newPassword": "newSecurePassword123"
  }'
{
  "status": 200,
  "message": "Password reset successfully"
}
This is a public endpoint that does not require authentication. The reset token from the email is used for verification.

Request Body

token
string
required
The password reset token received in the email. This is a JWT token containing the user ID.
newPassword
string
required
The new password for the account. Must meet password requirements.

Response

A successful request returns HTTP 200 OK status, indicating that the password has been successfully updated.

Error Responses

error
object
Error details when the request fails
Common error cases:
  • 400 Bad Request: Invalid or missing token
  • 400 Bad Request: Password validation failed
  • 401 Unauthorized: Expired or invalid token
  • 404 Not Found: User not found
curl -X POST "https://api.tktchurch.com/v1/auth/reset-password" \
  -H "Content-Type: application/json" \
  -d '{
    "token": "eyJhbGciOiJIUzI1NiIs...",
    "newPassword": "newSecurePassword123"
  }'
{
  "status": 200,
  "message": "Password reset successfully"
}