Generates a one-time password for a given email, with an optional expiration time, and sends it via email.
The API key required for accessing protected routes. It should be included in the request headers as x-api-key
.
OTP generated and sent successfully.
The response is of type object
.