Action required: We're beginning to shutdown our old platform. Please migrate to our new platform ASAP. Instructions available in our migration guide.
cURL
curl --request POST \ --url https://api.contiguity.com/otp/verify \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "otp_id": "otp_1234567890", "otp": "123456" } '
{ "id": "req_xxxxxxxxxxxxxxxx", "timestamp": 1761968887641, "api_version": "v2025.10.31", "object": "response", "data": { "verified": true } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The OTP ID you received when sending the OTP
"otp_1234567890"
The OTP inputted by the user
"123456"
Verify an OTP
"req_xxxxxxxxxxxxxxxx"
1761968887641
"v2025.10.31"
"response"
Show child attributes
Whether the OTP was verified or not
true
Was this page helpful?