Product Channels Pricing Documentation
Connection

Connect OTPilot through the REST API, hosted page, or widget.

Start with the documented REST API and OpenAPI contract. For a ready code-entry interface, create a one-time hosted session on your backend and open the hosted page or mount it with embed.js.

REST

Core API

Start and check verifications, inspect status and account balance, and receive webhooks through one HTTP contract.

POST /v1/verificationsduplicate protection
API

API documentation

Use the interactive guide to inspect request schemas, responses, error models, and authentication.

/api-docsHTTP + JSON

Hosted page and embed.js

Create a one-time hosted session on your backend, then open /v/:token or mount the same flow inside your UI.

/v/:tokenpostMessage
Embed

The verification widget in one line.

First create a hosted session on your backend. Pass its one-time token to embed.js, and the code-entry page renders inside your UI with postMessage events.

embed.js
1<div id="otp-widget"></div>
2<script src="https://otpilot.ru/embed.js"></script>
3<script>
4  OTPilot.mount('#otp-widget', { token: hostedSessionToken });
5  // otpilot:approved · otpilot:failed · otpilot:resize
6</script>

API, hosted flow, and the widget run on one verification contract.

Use REST for backend control. The hosted page and embed.js reuse the same verification flow and require a session created securely by your backend.

View documentation