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
projectFlow
- String - RequiredProject flow previously created, you need to add the param _id that you receive after a project flow is fully generated.
phone
- Object- Required
phone
- Object- RequiredPhone that will be enter in the validation proccess.
countryCode
- Object- Required
countryCode
- Object- RequiredPrefix o the country where the phone belongs to.
type
- String - Required
type
- String - RequiredType of proccess that you are going to do, can be "login" or "onboarding".
validationMethod
- String - Required
validationMethod
- String - RequiredThis defines how the provided email will be validated, in this case can be "sms", "whatsapp" or "none".
language
- String - Required
language
- String - RequiredLanguage 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