Get Started
API
- Authentication
- Link Session
- Links
- Institutions
- Accounts
- Account Numbers
- Investments
- Transactions
- Identity
- Users
- Products
- Webhooks
Links
Get User Links
Fetches all links belonging to a user.
GET
/
users
/
{id}
/
links
Copy
curl --request GET \
--url http://localhost:8080/users/{id}/links \
--header 'Authorization: Bearer <token>'
Copy
{
"links": {
"mk_eqkWN34UEoa2NxyALG8pcV": {
"link_id": "mk_eqkWN34UEoa2NxyALG8pcV",
"institution_id": "chase",
"institution_name": "Chase",
"provider": "mx",
"state": "connected",
"last_synced_at": "2023-02-16T09:14:11",
"tags": [
"user_type:admin"
],
"products": {
"accounts": {
"refreshed_at": "2023-02-16T09:14:11",
"last_attempted_at": "2023-02-16T09:14:11"
},
"identity": {
"refreshed_at": "2023-02-16T09:14:11",
"last_attempted_at": "2023-02-16T09:14:11",
"settings": {
"required": true,
"prefetch": false
}
}
}
}
}
}
Copy
curl -i -X GET \
'http://localhost:8080/users/{id}/links' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'moneykit-version: 2023-02-18'
Copy
{
"links": {
"mk_eqkWN34UEoa2NxyALG8pcV": {
"link_id": "mk_eqkWN34UEoa2NxyALG8pcV",
"institution_id": "chase",
"institution_name": "Chase",
"provider": "mx",
"state": "connected",
"last_synced_at": "2023-02-16T09:14:11",
"tags": [
"user_type:admin"
],
"products": {
"accounts": {
"refreshed_at": "2023-02-16T09:14:11",
"last_attempted_at": "2023-02-16T09:14:11"
},
"identity": {
"refreshed_at": "2023-02-16T09:14:11",
"last_attempted_at": "2023-02-16T09:14:11",
"settings": {
"required": true,
"prefetch": false
}
}
}
}
}
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
Path Parameters
The unique ID for this user. This is the same ID provided in the call to /link-session to create any link for this user.
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
Copy
curl --request GET \
--url http://localhost:8080/users/{id}/links \
--header 'Authorization: Bearer <token>'
Copy
{
"links": {
"mk_eqkWN34UEoa2NxyALG8pcV": {
"link_id": "mk_eqkWN34UEoa2NxyALG8pcV",
"institution_id": "chase",
"institution_name": "Chase",
"provider": "mx",
"state": "connected",
"last_synced_at": "2023-02-16T09:14:11",
"tags": [
"user_type:admin"
],
"products": {
"accounts": {
"refreshed_at": "2023-02-16T09:14:11",
"last_attempted_at": "2023-02-16T09:14:11"
},
"identity": {
"refreshed_at": "2023-02-16T09:14:11",
"last_attempted_at": "2023-02-16T09:14:11",
"settings": {
"required": true,
"prefetch": false
}
}
}
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.