Pactlyst™ logo

Embed a review check

Run a document review right here, or paste the check into your own product. Either way you get a score, a verdict in plain language, and a signed PactCheck Receipt™ — through the same scoring and metering path as the API. Your document text is sent to the review service and is not stored.

Step 1 — Start a secure embed session

Your API key is exchanged for a short-lived session token (10 minutes, embed checks only). After the exchange, this page uses only the token.

Put this check on your own page

Mint a session token on your server (your key stays there), then paste:

<script src="https://pactlyst.ai/pactlyst-embed.js"
        data-token="<embed session token>"></script>

Or point the widget at an endpoint on your own server that mints a fresh token per page load, using data-token-endpoint instead of data-token. Never put your API key itself in the page — the token is the only credential the browser needs.