Licence nonce heartbeat
POST /api/v1/local-mode/heartbeat
Desktop sends a signed nonce every hour. Returns current subscription tier entitlements. 60-second acceptance window enforced server-side.
Authenticate with an API key.
Request body
application/json object
issued_at_unixinteger requiredlicence_hashstring requiredPattern:^[a-f0-9]{64}$noncestring requiredPattern:^[a-f0-9]{64}$
Generated sample
{
"issued_at_unix": 0,
"licence_hash": "string",
"nonce": "string"
}Responses
200 Heartbeat verified
application/json HeartbeatResponse
entitlementsobjectnext_check_in_secondsintegersubscription_tierstringverifiedboolean
Generated sample
{
"entitlements": {},
"next_check_in_seconds": 0,
"subscription_tier": "string",
"verified": true
}401 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
403 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
409 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
422 Nonce expired or invalid
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
429 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string