Skip to main content
POST
/
two-fa
/
verification
/
{session_uuid}
Resend a verification code
curl --request POST \
  --url https://api.wavix.com/v1/two-fa/verification/{session_uuid} \
  --header 'Content-Type: application/json' \
  --data '{
  "channel": "voice"
}'
{
  "success": true,
  "channel": "voice",
  "destination": "447919433768",
  "created_at": "2022-02-16T13:41:38.000Z"
}

Authorizations

appid
string
query
required

An API key to authorize your request

Path Parameters

session_uuid
string
required

Wavix 2FA Verification ID

Example:

"2953d4308f2e11ecb75fcdafd6d2d687"

Body

application/json
channel
enum<string>
required

The communication channel you want to use. Can be either sms or voice.

Available options:
sms,
voice
Example:

"voice"

Response

success
boolean
required

Indicates whether the verification code was successfully sent

Example:

true

channel
string
required

Indicates whether the code was sent via an SMS or a voice call

Example:

"voice"

destination
string
required

The destination phone number the code was sent to

Example:

"447919433768"

created_at
string<date-time>
required

Date and time the code was sent

Example:

"2022-02-16T13:41:38.000Z"

I