Send a new event to enrich user data
POST /protect/event/send
Send a new event to enrich user data and optionally get a Trust Index score for the event.
Request Body
Required
Request object for /protect/event/send
Parameters
client_id
Your Plaid API
client_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.
secret
Your Plaid API
secret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.
timestamp
Timestamp of the event. Might be the current moment or a time in the past. In ISO 8601 format, e.g.
"2017-09-14T14:42:19.350Z"
event
Event data for Protect events.
timestamp
The timestamp of the event, in ISO 8601 format, e.g.
"2017-09-14T14:42:19.350Z"
protect_session_id
If present, contains the current Protect Session ID from the Plaid Pixel SDK.
app_visit
This event type represents a user visiting the client application.
user_sign_in
This event type represents a user signing in to the application.
user_sign_up
This event type represents a user signing up for the application.
protect_session_id
Protect Session ID should be provided for any event correlated with a frontend user session started via the Protect SDK.
request_trust_index
Whether this event should be scored with Trust Index. The default is false.
Response
Response object for /protect/event/send
Response Properties
event_id
The id of the recorded event.
trust_index
Represents a calculate Trust Index Score.
score
The overall trust index score.
model
The versioned name of the Trust Index model used for scoring.
subscores
Contains sub-score metadata.
device_and_connection
Represents Trust Index Subscore.
score
The subscore score.
bank_account_insights
Represents Trust Index Subscore.
score
The subscore score.
fraud_attributes
Event fraud attributes as an arbitrary set of key-value pairs.
request_id
A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.