Endpoints
Check a code
Check the validity of a verification code.
POST
/
v2
/
verification
/
check
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
target
object
requiredThe target. Currently this can only be an E.164 formatted phone number.
code
string
requiredThe OTP code to validate.
Response
200 - application/json
id
string
The verification identifier.
status
enum<string>
The status of the check.
Available options:
success
, failure
, expired
metadata
object
The metadata for this verification.
request_id
string
Was this page helpful?