> ## 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.

# Get Event Details

> Read the allocation and claim policy for a specific event

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

Returns the configuration of a single event by name. Returns `0` allocation if the event doesn't exist.

### Query Parameters

<ParamField query="event_name" type="string" required>
  Lowercase event identifier (e.g. `"signup"`)
</ParamField>

### Response

<ResponseField name="allocation" type="string">
  Tokens awarded per claim
</ResponseField>

<ResponseField name="should_not_claim_twice" type="boolean">
  `true` if customers can only claim this event once
</ResponseField>

```javascript theme={null}
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();
```

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "allocation": "5.0",
    "should_not_claim_twice": true
  }
  ```
</ResponseExample>
