Skip to main content
GET
/
last-activity
Last Activity
curl --request GET \
  --url https://tokens.shakesco.com/last-activity \
  --header 'Authorization: Bearer <token>'
{
  "last_activity": "1715000000",
  "last_activity_iso": "2026-05-06T10:00:00.000Z"
}

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 timestamp of the customer’s most recent token activity. Used to determine whether the customer has crossed your configured inactivity expiry window.

Query Parameters

customer_ref
string
required
Your unique identifier for this customer

Response

last_activity
string
Unix timestamp (seconds) of last earn or spend, or "0" if the customer has never been active
last_activity_iso
string | null
Same timestamp formatted as ISO 8601, or null if there is no activity yet
const res = await fetch(
  "https://tokens.shakesco.com/last-activity?customer_ref=customer-123",
  { headers: { Authorization: `Bearer ${API_KEY}` } }
);
const { last_activity, last_activity_iso } = await res.json();
{
  "last_activity": "1715000000",
  "last_activity_iso": "2026-05-06T10:00:00.000Z"
}