The Voomerr Send OTP API allows users to send an OTP (One-Time Password) to their email address. This accepts a user ID and email address and sends an OTP to the specified email address.
The Voomerr Send OTP endpoint is
Request Parameters #
The following parameters are required to send an OTP to a user’s email address:
|user_id||integer||Yes||The ID of the user to send the OTP to.|
|string||Yes||The email address to send the OTP to.|
Example Request #
The response from the API will contain a JSON object with the following fields:
|success||boolean||Whether the request was successful or not.|
|message||string||A message describing the result of the request.|
If the request is successful, the ‘success’ field will be ‘true’, and the ‘message’ field will contain a success message. If the request fails, the ‘success’ field will be ‘false’, and the ‘message’ field will contain an error message.
Example Response #
"message": "OTP sent successfully."