/api/v1/ and require the X-API-Key header. See Authentication for details on roles and key management.
1
Obtain your license and API key
Contact the PitPath team to provision a license for your organization. When your license is created, Chrono returns a bootstrap response containing your license details and an initial ADMIN API key — store the
token value immediately, as it is only returned once.Example bootstrap response
The
token field is the raw API key value. Save it to a secure secrets store. Chrono stores only a hashed version and cannot recover the plain-text token after this response.2
Make your first API call — list events
Confirm your key works by listing all enabled events. A A successful response returns an array of event objects. An empty array
CR role or higher is sufficient for this read operation.curl
[] means no events have been created yet — that is expected on a fresh license.Example response
3
Register a rig
A rig represents a physical sim racing setup. To register one, you provide its That returns an object with The response includes the new rig and an auto-generated API key scoped to that rig:
hardwareId (a unique identifier for the machine) and a signed license file issued by the PitPath team for your license.First, request a license file for your license ID by calling:curl
licenseId, licenseKey, issuedAt, and signature — pass those four fields as the licenseFile object when creating the rig:curl
Example response
4
Record your first lap time
With an event, a participant, a rig, a car, and a track in place, you can submit a lap. Sector times are in milliseconds and must sum to A
totalTime.curl
201 Created response confirms the lap is recorded:Example response
Next steps
- Read Authentication to understand roles and how to create additional API keys with the right permissions.
- Browse the API reference for every available endpoint.
- Check Licenses and rigs for a deeper explanation of how your license scopes data.