client.gamma.events.getEventBySlug fetches the same rich event payload as getEventById, using the
human-readable slug.
Request
Parameters
| Name | Type | Required | Notes |
|---|---|---|---|
slug | string | ✅ | Event slug (e.g., "chile-presidential-election-1st-round-winner"). |
include_chat | boolean | Include chat metadata. | |
include_template | boolean | Include template metadata. |
Response
A singleEvent object identical to Event by ID.
Usage example
Failure modes
slugmust be a non-empty string.