v1
latestOpenAPI 3.0.22026-08-061464031.4 MBLinks
Register a new link
▶️ Usage
Register a new link (a connection between your user and their institution) using the Belvo API.
👍 We really recommend using our <a href="https://developers.belvo.com/docs/connect-widget" target="_blank">Connect Widget</a> to handle link creation and link status updates.
To make things easier, we've included custom examples for the links you can create for each of our products. Just click on the type of link you want to create in the Body Params section below.
post/api/links/
Request body
Example request
{
"institution": "inss_br_employment",
"username": "231.002.999-00",
"password": "1234B789C234AGH",
"external_id": "56ab5706-6e00-48a4-91c9-ca55968678d9",
"fetch_resources": [
"EMPLOYMENTS",
"OWNERS"
],
"credentials_storage": "27d",
"stale_in": "42d"
}Response
Created
Example response
{
"id": "0d3ffb69-f83b-456e-ad8e-208d0998d71d",
"institution": "erebor_mx_retail",
"access_mode": "recurrent",
"last_accessed_at": "2021-03-09T10:28:40.000Z",
"created_at": "2022-02-09T08:45:50.406032Z",
"external_id": "56ab5706-6e00-48a4-91c9-ca55968678d9",
"institution_user_id": "sooE7XJWEKypZJR603ecaWYk-8Ap0oD8Nr1pBQ4eG9c=",
"status": "valid",
"created_by": "bcef7f35-67f2-4b19-b009-cb38795faf09",
"refresh_rate": "7d",
"credentials_storage": "27d",
"fetch_resources": [
"ACCOUNTS",
"TRANSACTIONS"
],
"stale_in": "42d"
}