Skip to main content
GET
/
event-details
Get Event Details
curl --request GET \
  --url https://tokens.shakesco.com/event-details \
  --header 'Authorization: Bearer <token>'
{
  "allocation": "5.0",
  "should_not_claim_twice": true
}

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 configuration of a single event by name. Returns 0 allocation if the event doesn’t exist.

Query Parameters

event_name
string
required
Lowercase event identifier (e.g. "signup")

Response

allocation
string
Tokens awarded per claim
should_not_claim_twice
boolean
true if customers can only claim this event once
const res = await fetch(
  "https://tokens.shakesco.com/event-details?event_name=signup",
  { headers: { Authorization: `Bearer ${API_KEY}` } }
);
const { allocation, should_not_claim_twice } = await res.json();
{
  "allocation": "5.0",
  "should_not_claim_twice": true
}