TD
TrustDigits Docs
Base URL: https://sandbox.api.trustdigits.io
API Key:

Verify OTP

Verify the OTP code entered by the user.

After the user receives the OTP, submit the code together with the `request_id` returned from `/send`.

**Request fields**

- `request_id` *(required)* — Returned from Send OTP

- `code` *(required)* — OTP code entered by user

bash
curl -X POST https://sandbox.api.trustdigits.io/v1/otp/verify
-H "Authorization: Bearer YOUR_API_KEY"
-H "Content-Type: application/json"
-d '{"request_id": "req_123", "code": "123456"}'