> ## Documentation Index
> Fetch the complete documentation index at: https://dev.smile.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get points settings

> `Smile.pointsSettings.get()`

This async method retrieves the configuration for the account's points program. This method always makes an API call to fetch the latest data.

<Tip>
  For the best performance, we suggest [preloading](/js/concepts/preloading) points settings and then using the [`Smile.pointsSettings.preloaded()`](/js/resources/points-settings/preloaded) method.
</Tip>

## Returns

This method returns a `Promise` that:

* On success, resolves with a [points settings object](/js/resources/points-settings/object).
* On failure, rejects with an [error object](/js/concepts/error-handling).

If the method is improperly invoked, the `Promise` will be rejected.

<Panel>
  ```javascript JavaScript lines theme={null}
  Smile.pointsSettings.get().then(
    (pointsSettings) => {
      // Handle the points settings object
    }
  );
  ```
</Panel>
