Verify

Verify verification code by ID

Checks the supplied code, or the supplied status for a custom-code verification, against the verification identified by ID. The response indicates whether the verification was accepted or rejected.

post/verifications/{verification_id}/actions/verify

Path parameters

verification_idstring uuid required
Example:12ade33a-21c0-473b-b055-b3c836e1c292

The identifier of the verification to retrieve.

Request body

codestring

This is the code the user submits for verification.

status'accepted' | 'rejected'

Identifies if the verification code has been accepted or rejected. Only permitted if custom_code was used for the verification.

Example request

{
  "code": "17686",
  "status": "accepted"
}

Response

Expected verify response to a valid request.

Example response

{
  "data": {
    "phone_number": "+13035551234",
    "response_code": "accepted"
  }
}

Changes

Changed in 3 of the 99 revisions of this API.321

  • a6a61a29ecdd11See the full diff
    • ▲

      the // response's property type changed from string to integer, and format from no format to int32 for status

      response-property-type-changed

    • ●

      removed the optional property /// from the response with the status

      response-optional-property-removed

    This revision also has 34 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 1571b0380bd711See the full diff
    • ▲

      the // response's property type changed from integer to string, and format from int32 to no format for status

      response-property-type-changed

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ▲

      the // response's property type changed from string to integer, and format from no format to int32 for status

      response-property-type-changed

    • ●

      removed the optional property /// from the response with the status

      response-optional-property-removed

    This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 99 revisions, 1 has no diff computed.