---
title: "Resend a code"
method: POST
path: "/v1/two-fa/verification/{session_id}"
tags: ["2FA"]
---

# Resend a code

`POST /v1/two-fa/verification/{session_id}`

Resends the OTP for the verification identified by `session_id` over the specified channel. Previously sent codes are invalidated.

## Path parameters

- `session_id` string, required

## Request body

- TwoFactorVerificationResendRequest
  - `channel` 'sms' | 'voice', required — Channel used to resend the verification code. One of `sms` (sent as a text message) or `voice` (read aloud over a phone call).

## Response `200`

Returns the resend result, including the channel used.

- object
  - `success` boolean, required — Indicates whether the verification code was successfully sent
  - `channel` string, required — Indicates whether the code was sent via an SMS or a voice call
  - `destination` string, required — The destination phone number the code was sent to
  - `created_at` string, date-time, required — Date and time the code was sent

## Other responses

- `400` — Returns a validation error when a required field is missing or invalid.
- `403` — Request failed. The feature is disabled for your account.

---

[API](https://skmtc.net/wavix/apis/wavix-apis.md) · [All operations](https://skmtc.net/wavix/apis/wavix-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wavix/wavix-apis/versions/b22f170488b6/schema)
