Authorize a Sandbox account
- Create a Sandbox client and register your backend callback URL.
- Build an authorization URL with the
profile:readscope, state, and an S256 PKCE challenge. Save the state and verifier on your server for the callback. - Open the URL and approve a sample account. When the browser returns, validate the callback and exchange the code for tokens.
Select the account
SetACCESS_TOKEN on your backend from the token response. List the accounts shared with your app:
data and set LINKED_ACCOUNT_ID to its id.