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 ID of the generated OTP record.
"5d162e6f-20ed-4a8c-b7bb-44a53b6f7d8a"
Confirmation message that the OTP has been sent.
"OTP sent successfully"
The email to which the OTP was sent.