Get Event
GET
/events/{id}Retrieve a single event by its ID. Use the `expand` parameter to include
related data like venue details in the response.
When to use this
- Displaying event details on a detail page
- Fetching current event state before making updates
- Verifying an event exists after creation
Parameters
idpathrequiredEvent ID
expandqueryComma-separated list of fields to expand. Available: venue
Response
Event retrieved successfully
Notes
💡Use `expand=venue` to include full venue details in a single request.
Code Samples
Get an event using the TypeScript SDK:
import { BackstageClient } from '@ticketlayer/backstage';
const client = new BackstageClient({
organisationSlug: 'your-org',
});
client.setAccessToken('YOUR_ACCESS_TOKEN');
// Get event with venue details
const event = await client.events.get('evt_abc123', {
expand: 'venue',
});
console.log(`${event.name} at ${event.venue?.name}`);
console.log(`Status: ${event.status}`);