Documentation menu
Presence documentation
Build a presence check
Create a session, verify the participant, and consume a signed decision record. Start with the sandbox or jump directly to the contract you need.
Quickstart
First signed verdict
Install and configure
terminal
pnpm add @decionis/presence-nodeexport PRESENCE_API_KEY='pr_live_••••••••'Run a sandbox verdict
quickstart.mjs
import { randomUUID } from "node:crypto";import { PresenceClient } from "@decionis/presence-node"; const presence = new PresenceClient({ baseUrl: "https://presence.decionis.com", apiKey: process.env.PRESENCE_API_KEY,}); const result = await presence.runSandboxScenario("allow", randomUUID());console.log(result.policy_verdict);console.log(result.decision.verification_bundle?.dossier_id);Explore the docs
Quickstart
Run a deterministic sandbox decision and inspect its signed record.
API reference
Sessions, decisions, challenges, dossiers, and enforcement outcomes.
Web SDK
Intent display, WebAuthn, camera evidence, and capture-agent attestation.
Supabase Auth Hooks
Fail-closed sign-up verification and JWT assurance claims for Supabase Auth and Postgres RLS.
Vercel integration
A connectable-account OAuth installation plus fail-closed enforcement for consequential writes — as Edge Middleware or per-route withPresence wrappers.
Kong Gateway plugin
A native Lua plugin that verifies Presence at the gateway, mints browser-safe sessions, and fails closed.
Postman collection
A generated collection for sessions, decisions, dossiers, accounts, and deterministic sandbox scenarios.
Webhooks
Signed delivery for every decision, including shadow-mode results.
Policy signals
Thresholds, evidence quality, and the distinction between measured and unavailable.
Test vectors
Pinned canonical bytes and signatures for cross-language verification.
Offline verifier
Dependency-free Ed25519 and chain-hash verification with stable exit codes.