Skip to main content
A timing rig is the physical or virtual hardware unit that captures lap data in PitPath Chrono. Before a rig can participate in events or record laps, you must register it against a valid license. Registration returns a rig ID and a provisioned API key scoped to that rig.
1

Obtain your signed license file

Every rig registration must be backed by a license. Call POST /api/v1/licenses/{licenseId}/file to retrieve a signed license token for the license you want to bind to the rig. The response contains the fields you will pass as licenseFile in the next step.
The response includes a licenseId, licenseKey, issuedAt timestamp, and a cryptographic signature. Keep all four values — you need them in the next step.
2

Register the rig

Send a POST request to /api/v1/rigs with your hardware identifier and the signed license file object.
A 201 Created response returns both the new rig and a provisioned API key:
The token inside apiKey is shown only once at registration time. Store it securely — you cannot retrieve it again. This token is what the rig hardware uses to authenticate subsequent requests.
3

Store the rig ID

Copy the rig.id UUID from the response. You will need it when:
  • Creating or updating events (the rigIds array)
  • Recording laps (rigId field on each lap)
  • Querying a single rig with GET /api/v1/rigs/{rigId}
You can also look up a rig at any time by its hardware identifier using GET /api/v1/rigs/hardwareId/{hardwareId}.
4

Update the rig name and description (optional)

After registration the rig has no human-readable name. Give it one with a PATCH request. All fields are optional — only the fields you include are updated.
The response is the updated rig object with all current field values.
hardwareId must be globally unique across all rigs in your license. Attempting to register a second rig with the same hardwareId will return a 409 Conflict error. Use a value that is tied to the physical device — such as a network interface MAC address, motherboard serial number, or a UUID you generate and persist to the device at first boot.