Skip to main content
GET
/
user-tier
User Tier
curl --request GET \
  --url https://tokens.shakesco.com/user-tier \
  --header 'Authorization: Bearer <token>'
{ "tier": "Bronze" }

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.

For the complete documentation index, see llms.txt. 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

customer_ref
string
required
Your unique identifier for this customer

Response

tier
string
One of "None", "Bronze", "Silver", "Gold"
const res = await fetch(
  "https://tokens.shakesco.com/user-tier?customer_ref=customer-123",
  { headers: { Authorization: `Bearer ${API_KEY}` } }
);
const { tier } = await res.json();
{ "tier": "Bronze" }