> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sx.bet/llms.txt
> Use this file to discover all available pages before exploring further.

# Heartbeat

> Automatic order cancellation on connectivity loss

A user may register a `heartbeat` to SX Bet API using the Heartbeat service. An [API Key](/api-reference/api-key) is necessary for this service. Once you register a heartbeat with the desired timeout value, all your open orders will be automatically cancelled if another heartbeat request is not sent within that timeout period.

This will ensure that when loss of connectivity occurs between your service and SX Bet API, there will be no exposure left on the orderbook.
