Skip to main content
POST/api/ingest
Push banking, payment, or onboarding events to EasyDetect as they happen and get a real-time Allow, Block, or Review verdict. Dojah scores each event against your rules, behavioural signals, and ML in milliseconds.

Base URL

EasyDetect exposes a dedicated ingest host. Send new events to the real-time endpoint; upload historical data with Backfill Events.

Headers

Request body

Every request carries three top-level fields. The event object holds the nested objects below — include as many as apply to your event type for more accurate scoring. Fields marked required must be present; the rest are optional but recommended.
The key in the request body is your Ingest key, which is not the same as the secret key you send in the Authorization header. Find your Ingest key in EasyDetect settings on your dashboard, and see Connect a Flow for where it lives.

Top-level fields

event.transaction — banking, payments

event.user — all types

Other event objects

Request body templates

Each event type expects a different combination of the objects above. Start from the template that matches your use case and drop any field you don’t collect — only key, type, event.transaction.time (banking and payments), and event.user.registration_time are required.

Response

Dojah scores the event and delivers the result to your webhook — an overall score, a decision.action of Allow, Block, or Review, and the behavioral signals that fired (with a description of each). The original event is echoed back for context.

Errors