> ## 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 a VIP tier

> `Smile.vipTiers.getById(id)`

This async method retrieves a single VIP tier by ID. This method always makes an API call to fetch the latest data.

## Parameters

<ParamField path="id" type="integer" required>
  The unique identifier for the VIP tier to be retrieved.
</ParamField>

## Returns

This method returns a `Promise` that:

* On success, resolves with a [VIP tier object](/js/resources/vip-tiers/object).
* On failure, rejects with an [error object](/js/concepts/error-handling).

If the method is improperly invoked (e.g. missing required parameters), the `Promise` will be rejected.

<Panel>
  ```javascript JavaScript lines theme={null}
  Smile.vipTiers.getById(426715799).then(
    (vipTier) => {
      // Handle the VIP tier object
    }
  );
  ```
</Panel>
