Verification
Resend Verification Code
Changed onResends a verification code to the user (useful if the original code was lost or expired)
post/verification/resend
Request
- Base URL: http://localhost:8080/api/v1
- URL: http://localhost:8080/api/v1/verification/resend
- Auth: API key in cookie jwt
Request body
Example request
{
"user_id": "f20e5948-01ba-4113-b453-db05d8bde3bc",
"method": "totp"
}Response
Verification code resent successfully
Example response
{
"message": "Verification code resent successfully",
"qr_code": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...",
"secret": "JBSWY3DPEHPK3PXP"
}Changes
- ○
endpoint added
- ○