Resend a code
Resends the OTP for the verification identified by session_id over the specified channel. Previously sent codes are invalidated.
Authorizations
Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.
Path Parameters
The unique ID of the 2FA verification session.
"2953d4308f2e11ecb75fcdafd6d2d687"
Body
Channel to resend the OTP over.
Channel used to resend the verification code. One of sms (sent as a text message) or voice (read aloud over a phone call).
sms, voice "voice"
Response
Returns the resend result, including the channel used.
Indicates whether the verification code was successfully sent
true
Indicates whether the code was sent via an SMS or a voice call
"voice"
The destination phone number the code was sent to
"447919433768"
Date and time the code was sent
"2022-02-16T13:41:38.000Z"