Resend a code
Changed onResends the OTP for the verification identified by session_id over the specified channel. Previously sent codes are invalidated.
Request
- Base URLhttps://api.wavix.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The unique ID of the 2FA verification session.
Request body
Example request
{
"channel": "voice"
}Response
Returns the resend result, including the channel used.
Example response
{
"success": true,
"channel": "voice",
"destination": "447919433768",
"created_at": "2022-02-16T13:41:38.000Z"
}Changes
- breaking
the response's body type changed from no type to
objectfor status - info
removed
subschema #2from the response bodyallOflist for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- warning
removed the optional property
from the response with the status
- warning