The Phone Validation object

Attributes


project- String - Required

Project previously created, you need to add the param _id that you receive after a project flow is fully generated.


projectFlow- String - Required

Project flow previously created, you need to add the param _id that you receive after a project flow is fully generated.


phone- Object- Required

Phone that will be enter in the validation proccess.


countryCode- Object- Required

Prefix o the country where the phone belongs to.


type- String - Required

Type of proccess that you are going to do, can be "login" or "onboarding".


validationMethod- String - Required

This defines how the provided email will be validated, in this case can be "sms", "whatsapp" or "none".


language- String - Required

Language on how the validation OTP will be send, can be "en" for english or "es" for spanish.


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

Last updated