Item

itemImport

POST
/item/import

/item/import creates an Item via your Plaid Exchange Integration and returns an access_token. As part of an /item/import request, you will include a User ID (user_auth.user_id) and Authentication Token (user_auth.auth_token) that enable data aggregation through your Plaid Exchange API endpoints. These authentication principals are to be chosen by you.

Upon creating an Item via /item/import, Plaid will automatically begin an extraction of that Item through the Plaid Exchange infrastructure you have already integrated. This will automatically generate the Plaid native account ID for the account the user will switch their direct deposit to (target_account_id).

Authorization

PLAID-CLIENT-ID PLAID-SECRET Plaid-Version
PLAID-CLIENT-ID<token>

In: header

PLAID-SECRET<token>

In: header

Plaid-Version<token>

In: header

Request Body

application/json

ItemImportRequest defines the request schema for /item/import

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.

products*array<>

Array of product strings

Items1 <= items
user_auth*

Object of user ID and auth token pair, permitting Plaid to aggregate a user’s accounts

options?

An optional object to configure /item/import request.

Response Body

application/json

curl -X POST "https://example.com/item/import" \  -H "Content-Type: application/json" \  -d '{    "products": [      "assets"    ],    "user_auth": {      "user_id": "string",      "auth_token": "string"    }  }'
{  "access_token": "access-sandbox-99ace160-3cf7-4e51-a083-403633425815",  "request_id": "ewIBAn6RZirsk4W"}