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 four 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 SimpleFIN links pull from a SimpleFIN Bridge. Those last two only exist when they're enabled on your server.
The endpoints here create and manage manual, Lunch Flow and SimpleFIN 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
The simpleFinLink object
The SimpleFIN link sub-object is documented here
History
- Added the
simplefinlink type, along withsimpleFinLinkIdandsimpleFinLink.
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 link
Makes a manual link, or the monetr side of a Lunch Flow or SimpleFIN link. A manual link is the one you maintain yourself, and it's 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 and simpleFinLinkId off and you get a manual link. Send
one of them and you get a Lunch Flow or SimpleFIN link. Leave them off rather than sending null, null counts as
sending it and gets a 400. Plaid links can't be made here at all.
Example
History
- Added
simpleFinLinkId. lunchFlowLinkIdcan't be null anymore, leave it off for a manual link.
Errors
PATCH Update a link
Renames a link, changes its description, or changes the order its bank accounts show up in. Works on any link type, including Plaid ones, since these fields are yours rather than the bank's.
In the app: Renaming a link, editing its description or dragging its accounts around 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.