Skip to main content
GET
/
has-claimed-event
Has Claimed Event
curl --request GET \
  --url https://tokens.shakesco.com/has-claimed-event \
  --header 'Authorization: Bearer <token>'
{ "has_claimed": 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. Use this before calling /claim-tokens for one-time events (events configured with should_not_claim_twice: true). Lets you avoid the 409 Event already claimed response.

Query Parameters

customer_ref
string
required
Your unique identifier for this customer
event_name
string
required
The event identifier you want to check

Response

has_claimed
boolean
true if the customer has already claimed this event
const res = await fetch(
  "https://tokens.shakesco.com/has-claimed-event?customer_ref=customer-123&event_name=signup",
  { headers: { Authorization: `Bearer ${API_KEY}` } }
);
const { has_claimed } = await res.json();
{ "has_claimed": true }