Skip to main content

Next.js

Env

Provider (App Router)

Wrap children with KeverdWrapper in app/layout.tsx.

Client collect

Client → /api/login request JSON

visitor.requestId is the collect event_id.

Server verify

Keverd verify request JSON (SDK → API)

Example success response from your route

Example block response from your route

Full Keverd decision object: POST /v2/verify.