Robot Check

Are you a robot?

A lightweight challenge API and clean drop-in widget for websites that need quick human verification before form submission.

Widget
1 script tag
API
/v1/robot/*
Tokens
5 min TTL
Live demo /v1/robot/challenge
Token waiting for verification

Widget

Embed it in any website.

Open designer

HTML

<form method="post" action="/contact">
  <input name="email" type="email" required>

  <div class="tex-robot-check"
       data-field-name="tex_robot_token"
       data-preset="dark"></div>

  <button type="submit">Send</button>
</form>

<script src="https://tex-api.com/robot-check/widget.js" async></script>

Custom design

<div class="tex-robot-check"
     data-preset="minimal"
     data-accent="#0f766e"
     data-background="#ffffff"
     data-text="#111827"
     data-radius="6px"></div>

Browser callback

document.addEventListener("texrobot:verified", (event) => {
  console.log(event.detail.token);
});

Backend

Verify the token server-side.

Node example

const response = await fetch("https://tex-api.com/v1/robot/siteverify", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    token: req.body.tex_robot_token
  })
});

const result = await response.json();
if (!result.success) {
  throw new Error("Robot check failed");
}

API

Use the endpoints directly.

POST /v1/robot/challenge

Create a short-lived passive checkbox challenge.

POST /v1/robot/verify

Score interaction signals or submit the fallback answer.

POST /v1/robot/siteverify

Validate and consume a token from your backend.