Skip to main content

Method

POST /v1/verify/sms/confirm

Body Parameters

Headers

Authorization
string
Bearer token (e.g. Authorization: Bearer YOUR_API_KEY)
content-type
string
application/json

Request Example

curl -X POST https://api.voyantcloud.com/v1/verify/sms/confirm \
  -H "Authorization: Bearer $VOYANT_API_KEY" \
  -H "content-type: application/json" \
  -d '{ "phone": "+40700000000", "code": "583912" }'

Response

{ "ok": true }
Each code can be used once. Successful confirmations mark the record as consumed; subsequent attempts return the 400 error.