Links API
A link is one connection to one financial institution, and it owns the bank accounts under it. In the app it's the thing you see in the sidebar with a bank's name on it, with the accounts nested underneath.
There are three kinds you'll actually run into. Plaid links sync from your bank on their own. Manual links are ones you maintain by hand, entering transactions and updating balances yourself. Lunch Flow links pull from a Lunch Flow instance, and only exist when that's enabled on your server.
The endpoints here create and manage manual links. Making a Plaid link is a multi-step handshake with Plaid's browser SDK that an API key can't drive, so it lives in internal endpoints.
The link object
The plaidLink object
Only present on Plaid links. This is where you look to find out whether a bank connection is healthy.
The access token, item ID and webhook URL are all deliberately left out of the response.
The lunchFlowLink object
The Lunch Flow link sub-object is documented here
GET List links
Returns every link on your account. Deleted links are filtered out.
In the app: The bank sidebar, which is one of the first things the app loads.
Auth: API key, subscription required.
Example
Notice the manual link has no plaidLink key at all. It's omitted rather than null.
GET Get a link
Returns one link.
In the app: The link details page, and the card that tells you when Plaid last updated.
Auth: API key, subscription required.
Path parameters
Example
Unlike the list, this one will return a deleted link if you ask for it by ID, with deletedAt set.
Errors
POST Create a manual link
Makes a link you maintain yourself. This is the starting point for tracking an account monetr can't connect to automatically: create the link, then create bank accounts on it, then add transactions. The quickstart walks the whole sequence.
In the app: Setting up a manual link, and the Lunch Flow setup flow.
Auth: API key, subscription required.
Body
linkType is not something you send. Leave lunchFlowLinkId off and you get a manual link. Send it and you get a Lunch
Flow link. Plaid links can't be made here at all.
Example
Errors
PATCH Update a link
Renames a link or changes its description. Works on any link type, including Plaid ones, since these two fields are yours rather than the bank's.
In the app: Renaming a link or editing its description on the link details page.
Auth: API key, subscription required.
Path parameters
Body
Example
Errors
DELETE Remove a link
Deletes a link and everything hanging off it. This is the destructive one on this page: the bank accounts, transactions, spending objects and funding schedules underneath all go with it.
The call itself marks the link deleted and hands the rest to a background job, so it returns before the cleanup has finished. On a Plaid link it also tells Plaid to release the connection, which is why the connection stops costing you anything after this.
In the app: Removing a link, behind the confirmation prompt.
Auth: API key, subscription required.
Path parameters
Example
Returns 200 with an empty body.