In this section, we are going to explain how to properly make validations using phone, the main logic that the service do is the following:

Request Phone Validation

First thing that you need to do is to request an OTP for email, this can be done using the service for Phone validation request, this is a POST method in which you send some configuration information, this to allow the Email to go correctly to someone in your whitelist, this is an example of the information that you must provide in the Body:

{
    "project": "6266193db77ccc8111730c90",
    "projectFlow": "658ed28b0990f300134d7b78",
	  "phone": "3208364280",
	  "countryCode": "+57",
    "type": "login",
    "validationMethod": "whatsapp",
    "language": "en"
}

Now we will explain each of these parameters and how to send them properly in the request of the API:

Success Criteria

For the service to work correctly, you need to have the following information correctly: