Numbers

Confirm the code spoken on the verification call

On success the number becomes a permitted pstn target for this account. The code is compared in constant time against the stored digest and is burned on use. Wrong codes decrement attemptsRemaining; the challenge locks at zero and a new verification must be started.

post/api/numbers/verify/confirm

Request

  • Base URL: https://api.wordis-bond.com
  • URL: https://api.wordis-bond.com/api/numbers/verify/confirm
  • Auth: HTTP bearer

Request body

numberstring required
codestring required
labelstring

Optional label stored with the verified number.

Example request

{
  "number": "+15045204977",
  "code": "135790"
}

Response

The number is verified

Example response

{
  "data": {
    "number": "+15045204977"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.