SendOtpRequest
- clientType: stringrequired
OAuth client ID provided by the business. Required to identify the client application for sending OTP. The OAuth application must have the Advance Auth scope enabled.
- codeType: string
_challenge requiredThe base64url-encoded SHA-256 hash of the
code_verifier, a random string generated by the mobile or online app. See PKCE Flow for details. - privacyType: boolean
_policy requiredIndicates whether the user has agreed to the business's privacy policy. Possible values: true, false. This parameter must be set to "true" for a successful API call. If the parameter is not specified or set to "false", the API returns a 422 error with the message: "Please agree on given privacy policy".
- termsType: boolean
_and _conditions requiredIndicates whether the user has accepted the business's terms and conditions. Possible values: true, false. This parameter must be set to "true" for a successful API call. If the parameter is not specified or set to "false", the API returns a 422 error with the message: "Please agree on given terms and conditions".
- emailType: string
Email address of the user where the OTP will be sent. Either
emailorphoneis required. - phoneType: string
_ext Value represents the country code enabling support for international phone numbers. It should be preceded by a +, i.e. +1 (Country code for the US and Canada).
- phoneType: string
_number Phone number of the user where the OTP will be sent. Either
emailorphoneis required. Providing an incorrect phone number results in an undelivered SMS message. - validationType: string
_method Method used to validate the user. Possible values: otp
