CRA Risk Level Update

Occurs whenever a user’s CRA risk level is updated

Headers

x-flagright-signaturestringRequired

An HMAC SHA256 signature generated using the webhook payload and a shared signing secret. This is then converted to a hex encoded string.

Payload

The payload of this webhook request is an object.
createdTimestampdoubleRequired

Time at which the event was created. Measured in ms since the Unix epoch.

dataobjectRequired
idstringRequired

Unique identifier for the event

triggeredBy"MANUAL" or "SYSTEM"Required
Allowed values: MANUALSYSTEM

Event triggered by a user or system

type"CRA_RISK_LEVEL_UPDATED"Required

Response

200
any
Return a 200 status to indicate that the data was received successfully.
Payload
1{
2 "createdTimestamp": 1,
3 "data": {
4 "riskLevel": "string",
5 "userId": "string"
6 },
7 "id": "string",
8 "triggeredBy": "MANUAL",
9 "type": "CRA_RISK_LEVEL_UPDATED"
10}