Before your app can talk to Aries, you need to register it. This gives you the credentials your app will use to identify itself.
Log into Aries and go to Client Center > API tab.
Click Generate Key.
Fill in the fields:
Client Name — a descriptive name for your app (e.g., “My Trading App”)
Redirect URIs — the URL Aries will send the user back to after authorization (e.g., https://yourapp.com/oauth/callback)
Scopes — select the permissions your app needs (e.g., user:information, account:information)
Click Generate API key.
Once api key generated, you’ll see your Client ID and Client Secret.
The client_secret is shown only once. Copy it immediately and store it in an environment variable or secrets manager. If you lose it, you’ll need to regenerate it.
Send users to Aries to sign in and approve. Aries then redirects them back to your app with a code you’ll use in the next step.The authorization URL looks like this:
Use the code from the previous step to get an access token. The access token is what you’ll include with every API request to prove your app is authorized. You’ll also get a refresh token, which lets you get a new access token later without asking the user to log in again.
{ "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...", // Use this for API requests "token_type": "Bearer", "expires_in": 3600, // Seconds until expiry (1 hour) "refresh_token": "eyJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2R0...", // Use to get a new access_token "scope": "user:information account:information" // Granted scopes}