Get Event Occurrence
GET
/events/{eventId}/occurrences/{occurrenceId}Fetch details about a specific show date/time.
Returns everything about an occurrence: when it starts and ends, how many
tickets are available, current sales status, and links to its parent event.
Useful when you need full details about one particular performance.
When to use this
- Showing occurrence details on a booking page
- Loading data for an occurrence editor
- Checking availability before processing a ticket sale
Parameters
eventIdpathrequiredEvent ID
occurrenceIdpathrequiredOccurrence ID
Response
Event occurrence retrieved successfully
Notes
💡The response includes capacity and sold counts, so you can calculate remaining availability.
Code Samples
Get Event Occurrence using the TypeScript SDK:
import { BackstageClient } from '@ticketlayer/backstage';
const client = new BackstageClient({
organisationSlug: 'your-org',
});
client.setAccessToken('YOUR_ACCESS_TOKEN');
// Get eventoccurrence details
const eventoccurrence = await client.eventoccurrence.get('{{EVENTID}}');
console.log(`EventOccurrence: ${eventoccurrence.name || eventoccurrence.id}`);