Skip to main content
POST
Dispatch events
Use this endpoint to send custom fraud signals from your application: user actions you label yourself (for example account.banned, payment.chargeback) together with a confidence level. Events let you capture fraud patterns that are specific to your product. They are weighted when Prelude scores traffic alongside network and phone intelligence. Events are not the same as Feedback: feedback is optional and only describes steps in your own phone verification funnel. Many customers use Events alone (plus Predict at gates) without Feedback. Use both when you operate your own verification flow and also emit product fraud labels.

Confidence

Each event must include a confidence value. It says how much the event tells Prelude to trust the end user’s legitimacy, not how sure you are that the event happened. A low value means “do not trust this user” (likely fraud). A high value means “this user is trustworthy”. Allowed values, from lowest to highest trust, are: Prelude weights events when scoring a phone number: it learns to filter out users tied to minimum and low events, and to keep the experience smooth for users tied to high and maximum events. neutral events are not used as evidence in either direction. See Introduction: Event confidence for the full pipeline behavior.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
events
object[]
required

A list of events to dispatch. A maximum of 100 events can be sent in a single request.

Maximum array length: 100

Response

OK

status
enum<string>
required

The status of the events dispatch.

Available options:
success
Example:

"success"

request_id
string
required

A string that identifies this specific request. Report it back to us to help us diagnose your issues.

Example:

"3d19215e-2991-4a05-a41a-527314e6ff6a"