Skip to content
Sign in Create account

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_unix integer required
  • licence_hash string required
    Pattern: ^[a-f0-9]{64}$
  • nonce string required
    Pattern: ^[a-f0-9]{64}$

Generated sample

{
  "issued_at_unix": 0,
  "licence_hash": "string",
  "nonce": "string"
}

Responses

200 Heartbeat verified

application/json HeartbeatResponse

  • entitlements object
  • next_check_in_seconds integer
  • subscription_tier string
  • verified boolean

Generated sample

{
  "entitlements": {},
  "next_check_in_seconds": 0,
  "subscription_tier": "string",
  "verified": true
}
401 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

403 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

409 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

422 Nonce expired or invalid

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string