The Voomerr Verify Email allows users to verify their email address using an OTP (One-Time Password). This accepts an email address and an OTP and verifies that the OTP matches the one sent to the specified email address.
Endpoint #
The Voomerr Verify Email endpoint is POST https://admin.voomerr.com/api/verify_email.php
.
Request Parameters #
The following parameters are required to verify an email address:
Parameter | Type | Required | Description |
---|---|---|---|
string | Yes | The email address to verify. | |
otp | string | Yes | The OTP sent to the email address. |
Example Request #
POST https://admin.voomerr.com/api/verify_email.php
{
"email": "john.doe@example.com",
"otp": "123456"
}
Response #
The response from the API will contain a JSON object with the following fields:
Field | Type | Description |
---|---|---|
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 indicating that the email address has been verified. If the request fails, the ‘success’ field will be ‘false’, and the ‘message’ field will contain an error message indicating that the email address verification has failed.
Example Response #
{
"success": true,
"message": "Email address verified successfully."
}