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

# User Tier

> Read the current tier label for a customer

<span style={{display:"none"}}>For the complete documentation index, see [llms.txt](/llms.txt).</span>

Returns the customer's current tier based on their available balance. Returns `"None"` if tiers aren't configured or the customer is below the Bronze threshold.

### Query Parameters

<ParamField query="customer_ref" type="string" required>
  Your unique identifier for this customer
</ParamField>

### Response

<ResponseField name="tier" type="string">
  One of `"None"`, `"Bronze"`, `"Silver"`, `"Gold"`
</ResponseField>

```javascript theme={null}
const res = await fetch(
  "https://tokens.shakesco.com/user-tier?customer_ref=customer-123",
  { headers: { Authorization: `Bearer ${API_KEY}` } }
);
const { tier } = await res.json();
```

<ResponseExample>
  ```json 200 OK theme={null}
  { "tier": "Bronze" }
  ```
</ResponseExample>
