Skip to main content
POST
Submit Journey Event
The User Journey API tracks critical steps in a user’s transaction flow through defined checkpoints. It validates that expected events occur in the correct sequence and flags suspicious or out-of-order behaviour in real time.

Submit Event

Submit a user journey event for fraud assessment.

Endpoint

Headers

Body Parameters

201 Created


Get Session State

Retrieve the current state and event history for a session.

Endpoint

Path Parameters

200 OK


Clear Session

Delete all stored data for a session.

Endpoint

Path Parameters

204 No Content


User Analytics

Retrieve fraud and risk statistics for a user across all sessions.

Endpoint

Path Parameters

200 OK


Health Check

Check the service health and dependency status.

Endpoint

200 OK


Error Codes

Authorizations

x-access-token
string
header
required

Your Adhere API secret key

Body

application/json
user_id
string
required
session_id
string
required
event
enum<string>
required
Available options:
LOGIN,
OTP_VERIFY,
PAYMENT_INIT,
PAYMENT_COMPLETE,
LOGOUT
timestamp
string<date-time>
required
device_id
string
ip_address
string
metadata
object

Response

Event processed