Skip to main content

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:

  1. Make an API request to /link/token/create to retrieve a link_token.

  2. Use the link_token to initiate Agave Link for your User. After a User logs in to a Source System, Agave Link will generate a temporary public_token.

  3. Make an API request to /link/token/exchange to exchange the public_token for a permanent account_token and other metadata for the User's Linked Account.

  4. 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.