2FA
Create a 2FA Verification
Creates a 2FA verification and sends a real one-time password (OTP) to the destination phone number over the selected channel; this bills the account per OTP sent. Requires a 2FA service configured in the Wavix portal; the service is reused to generate and validate OTPs.
The verification proceeds through three steps:
- Create a verification to generate and send an OTP.
- Resend the OTP on the same verification if needed.
- Validate the OTP through the check endpoint.
POST
Create a 2FA Verification
Authorizations
Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.
Body
application/json
Attributes for the new 2FA verification.
Response
Returns the created 2FA verification.