Create Plaid Link Token via REST request
Recipe ToolsDeveloper ToolAPI Integration
What it does
When someone makes a new call for token exchange, this automation sends a REST request to Plaid. It returns the response so the caller receives the link token needed to initialize Plaid Link.
Who it's for
Engineering teams who need to generate Plaid Link tokens for client-side implementations.
Apps used
How teams use this
Generate tokens for web applications
Create link tokens on demand for web clients that need to connect bank accounts through Plaid Link. The token is returned immediately so the client can open the flow.
Support mobile app token requests
Route token requests from iOS and Android apps to Plaid via Rest so each platform gets a valid link token. The same REST flow handles both without changes.
Add user metadata to token creation
Include user ID and email in the REST request payload so Plaid can associate the link token with the correct account. Only the request body needs the extra fields.
Filter tokens by customer tier
Set a condition in the Rest request to check the customer subscription level before generating a link token. Premium customers get standard tokens while trial users receive limited-scope tokens.
How it works
- Receive token exchange call. Listen for a new call for token exchange in real time so the automation starts immediately when someone requests a link token.
- Send REST request to Plaid. Send a REST request via Rest to Plaid with the required parameters so a link token is generated for the client application.
- Return the link token response. Send the response back to the caller via Rest so they receive the token needed to initialize Plaid Link in their application.