Skip to content

Get Settings By Login

Returns all custom settings for an account as a JSON object. Values preserve their JSON types, including boolean true and false values saved with Set Setting. If the account has no settings, the response is {}.

GET

https://{some_domain}/settings

Authorization

Include the session JWT in the Authorization header:

Authorization: <JWT_TOKEN>

The login query parameter is required for every session. A user or guest-account session can access only its authenticated login. A customer session can access only an enabled, non-guest customer’s account in the same brand. Manager, administrator, and dealer sessions need access_backoffice, set_accounts, and scope for the target account; SuperAdmin scope bypasses the staff scope and permission requirement.

Request

Query Parameters

Field Type Required Description
login integer Yes Account login. Required even when a normal user session's authenticated login is used.

Request example: GET https://{some_domain}/settings?login=7777864.

Response

Success (200)

The response is a JSON object whose property names are setting keys and whose values are their saved JSON values. Boolean values are returned as JSON booleans.

An account without settings returns:

{}

Error Responses

HTTP Error Description
400 INVALID_DATA The required login field is missing or invalid.
403 INVALID_ACCESS The target login is outside the authenticated account/customer ownership or staff scope.
403 RET_NOT_ENOUGH_RIGHTS A staff session lacks the required BackOffice scope, permission, or target account scope.

Example response with saved values:

{
  "themeEnabled": true,
  "soundNotify": false,
  "theme": {
    "type": "light"
  }
}