Device heartbeat (keep-alive)
POST /api/devices/{id}/heartbeat
Records a heartbeat for a completed backup device owned by the authenticated account and returns an ok status with timestamp. A missing or unpaired device returns 404.
Authenticate with a portal session token.
Parameters
idstring path required
Responses
200 Heartbeat accepted.
application/json object
statusstring requiredValue:"ok"timestampstring (date-time) required
Generated sample
{
"status": "ok",
"timestamp": "2026-01-01T00:00:00Z"
}401 Missing or invalid bearer token.
application/json object
Any keys are accepted.
403 The caller does not meet the route requirements: accepted Terms of Service and Privacy Policy.
application/json object
Any keys are accepted.
404 Device was not found or is not paired.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
429 The request was rate limited. API-generated responses are JSON;
Response headers
Retry-Afterstring headerSeconds to wait before retrying, when provided.
X-RateLimit-Scopestring headerIdentifies the scope of the request limit, when provided.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string