Skip to content

POST /util/check-email-adn-phone

Description

This endpoint allows a user to check if an email or phone number exists

Body

NameTypeDescriptionRequiredDefaultExample
emailstringEmail addressyesnull"email@example.com"
phoneNumberstringPhone numberyesnull"123456789"

Response

json
{
  "status": 200,
  "message": "Email or phone number is valid"
}

Error response

json
{
  "status": 400,
  "message": "Email or phone number is required"
}

Released under the MIT License.