Skip to main content
GET
/
v1
/
config
/
user-settings
Java (SDK)
package hello.world;

import java.lang.Exception;
import org.openapis.openapi.AriesJava;
import org.openapis.openapi.models.operations.GetRequestedUserSettingsResponse;

public class Application {

    public static void main(String[] args) throws Exception {

        AriesJava sdk = AriesJava.builder()
                .bearerAuth(System.getenv().getOrDefault("BEARER_AUTH", ""))
            .build();

        GetRequestedUserSettingsResponse res = sdk.userSettings().getUserSettings()
                .categories("trading,notifications,preferences")
                .call();

        if (res.object().isPresent()) {
            // handle response
        }
    }
}
{
  "trading": {
    "theme": "dark",
    "auto_trading": true,
    "risk_level": "medium"
  },
  "notifications": {
    "email_enabled": true,
    "push_enabled": false
  }
}

Documentation Index

Fetch the complete documentation index at: https://finance.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

categories
string
required

Comma-separated list of categories of user settings

Response

User settings retrieved successfully

The response is of type object.