Developer Portal

SettingsGET

Returns the stored values for one or more keys belonging to the authenticated profile. Pass a single key or a comma-separated list of keys via the `keys` query parameter. Keys that have never been written are included in the response with a null value. Returns 400 if any key fails the format validation (^[A-Za-z0-9_\-:#]+$, max 256 chars each). Max 50 keys per request.

View as Markdown
GET
/settings

Authorization

AuthorizationRequiredBearer <token>

JWT token obtained from the login endpoint

In: header

Query Parameters

keysRequiredstring

Comma-separated setting keys (pattern: ^[A-Za-z0-9_-:#]+$, max 256 chars each, max 50 keys)

curl -X GET "http://localhost:8081/api/v1/settings?keys=watchlist%3Adefault%2Cui%3Atheme" \
  -H "Authorization: Bearer <token>"

Settings retrieved successfully

{
  "settings": {
    "watchlist:default": {
      "key": "watchlist:default",
      "value": "[\"EURUSD\",\"BTCUSD\"]",
      "updated_at": "2025-01-01T12:00:00Z"
    },
    "ui:theme": {
      "key": "ui:theme",
      "value": null,
      "updated_at": null
    }
  }
}