POST /user_account/session/event/send

This endpoint allows sending client-specific events related to Layer sessions for analytics and tracking purposes.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
cohort_id String No

Optional cohort identifier for the user session.

client_id String No

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.

event Object Yes

Event data for user account session tracking

event.timestamp String Yes

The timestamp when the event occurred in ISO 8601 format.

event.name String Yes

The name of the event.

event.outcome String No

Optional outcome of the event.

secret String No

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.

link_session_id String Yes

The Link session identifier.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.