Skip to Content
Zero-Knowledge Verification (v2)

Trigger OTP Failover to SMS with Fresh Nonce (v2)

View Markdown (.md)
POST
/api/v2/public/otp/failover

Immediately resends OTP via priority SMS channel and rotates the challenge nonce for subsequent zero-knowledge proof generation.

Authorization

headerX-Api-Key<token>

SMS Pro API Key (sk_live_... or sk_test_...)

Request Body

application/json
  1. body
phoneNumber*string

Response Body

OTP failover resent via SMS

application/json
  1. response
status?string
message?string
data?
Example Request
curl -X POST 'https://api.smspro.com/api/v2/public/otp/failover' \  -H 'Content-Type: application/json' \  -d '{  "phoneNumber": "string"}'
Example Response
{  "status": "string",  "message": "string",  "data": {    "otpId": "string",    "to": "string",    "status": "string",    "expiresAt": "2019-08-24T14:15:22Z",    "resendAfterSeconds": 0,    "channel": "string",    "challengeNonce": "string",    "proofAlgorithm": "string",    "proofFormat": "string"  }}