---
title: "Send a new event to enrich user data"
method: POST
path: "/protect/event/send"
tags: ["plaid"]
deprecated: true
---

# Send a new event to enrich user data

`POST /protect/event/send`

> **Deprecated.**

Send a new event to enrich user data and optionally get a Trust Index score for the event.

## Request body

- ProtectEventSendRequest — Request object for /protect/event/send
  - `client_id` string — 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` string — 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` string, date-time — Timestamp of the event. Might be the current moment or a time in the past. In [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format, e.g. `"2017-09-14T14:42:19.350Z"`
  - `event` ProtectEvent, nullable, required — Event data for Protect events.
    - `timestamp` string, date-time, required — The timestamp of the event, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format, e.g. `"2017-09-14T14:42:19.350Z"`
    - `protect_session_id` string — If present, contains the current Protect Session ID from the Protect SDK.
    - `app_visit` ProtectAppVisitEvent, nullable — This event type represents a user visiting the client application.
    - `user_sign_in` ProtectUserSignInEvent, nullable — This event type represents a user signing in to the application.
    - `user_sign_up` ProtectUserSignUpEvent, nullable — This event type represents a user signing up for the application.
  - `protect_session_id` string — Protect Session ID should be provided for any event correlated with a frontend user session started via the Protect SDK.
  - `request_trust_index` boolean — Whether this event should be scored with Trust Index. The default is false.

## Response `200`

OK

- ProtectEventSendResponse — Response object for /protect/event/send
  - `event_id` string, required — The id of the recorded event.
  - `trust_index` TrustIndex, nullable — Represents a calculated Trust Index Score.
    - `score` integer, required — The overall trust index score.
    - `model` string, required — The versioned name of the Trust Index model used for scoring.
    - `subscores` TrustIndexSubscores, nullable, required — Contains sub-score metadata.
      - `device_and_connection` TrustIndexSubscore, nullable — Represents Trust Index Subscore.
        - `score` integer, required — The subscore score.
      - `bank_account_insights` TrustIndexSubscore, nullable — Represents Trust Index Subscore.
        - `score` integer, required — The subscore score.
  - `fraud_attributes` FraudAttributes, nullable — Event fraud attributes as an arbitrary set of key-value pairs. The set of attributes returned varies by model.
  - `request_id` string, required — A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.

---

[API](https://skmtc.net/plaid/apis/the-plaid-api.md) · [All operations](https://skmtc.net/plaid/apis/the-plaid-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/plaid/the-plaid-api/versions/64c4514ea59b/schema)
