Skip to main content

Generate OTP

POST 

/api/v1/auth/generate_otp

Generates a one-time password for two-factor authentication. The OTP is valid for 60 seconds and is required only when 2FA is enabled for the user.

Request

Responses

OTP Generated Successfully