Skip to main content
An event in PitPath Chrono is the container that groups participants, laps, and timing data for a single session — whether that is a hotlap challenge, a practice session, or a full race. You associate an event with exactly one simulator and with any number of cars, track layouts, rigs, and brands.
1

Ensure prerequisites exist

Before creating an event you need the UUIDs of the resources you want to attach to it. Confirm that the following exist in Chrono and collect their IDs:
  • Simulator — the game or platform (e.g. iRacing, ACC). One required per event.
  • Cars — the car models that participants may drive. At least one UUID required.
  • Track layouts — the specific circuit configurations. At least one UUID required.
  • Rigs — the timing rigs that will record laps for this event. At least one UUID required.
  • Brands — optional sponsor or partner brands to associate with the event.
Use the respective list endpoints (GET /api/v1/simulators, GET /api/v1/cars, GET /api/v1/track-layouts, GET /api/v1/rigs, GET /api/v1/brands) to retrieve IDs. See the API reference for full details.
2

Create the event

Send a POST request to /api/v1/events. This endpoint requires the CRUD or ADMIN role.
A 201 Created response returns the full event object:
3

Understand event modes

The mode field controls how the session is classified in results and leaderboards:You can omit mode if the session type is not yet decided — it defaults to null and can be set later via PATCH.
4

Enable or disable the event

Use PATCH /api/v1/events/{eventId} to toggle visibility or update any other field after creation. Only the fields you include are changed.
Disabling an event ("enabled": false) hides it from the public GET /api/v1/events list endpoint. Lap recording through authorized rigs is unaffected by the enabled flag.
The slug field is designed for frontend URL generation. Keep it short, lowercase, and hyphen-separated — for example "spring-hotlap-2026". This lets you build stable public URLs like https://yourapp.com/events/spring-hotlap-2026 that remain valid even if the event name changes.