Authentication Flow
Get Account Token
An account_token
is a unique token that you can use to make API requests on behalf of a User's Linked Account.
To get an account_token
:
-
Make an API request to
/link/token/create
to retrieve alink_token
. -
Use the
link_token
to initiate Source System, Agave Link will generate a temporarypublic_token
. -
Make an API request to
/link/token/exchange
to exchange thepublic_token
for a permanentaccount_token
and other metadata for the User's Linked Account. -
Store the
account_token
securely to make future API requests.
Use Account Token
With the account_token
, you can then make API requests on behalf of a User's Linked Account.