validateNotifyCodeVerification
abstract suspend fun validateNotifyCodeVerification(input: ValidateNotifyCodeVerificationRequest): ValidateNotifyCodeVerificationResponse
Validates a one-time passcode that a recipient submitted. Validation succeeds when the passcode matches, the validity period has not elapsed, and the maximum number of attempts has not been exceeded.
Samples
// Validate a submitted one time passcode
val resp = endUserMessagingClient.validateNotifyCodeVerification {
destinationIdentity = "+14255550100"
referenceId = "signup-flow-42"
code = "123456"
}Content copied to clipboard