{
  "document": "connect",
  "version": "1.3",
  "releases": [
    {
      "version": "1.3",
      "date": "2026-12-05",
      "changes": [
        "Guidance only, no call changed: never sign in to Accuracy for the person or ask them to sign in to a browser an app or AI controls - a signed-in session can do everything they can (settings, users, deleting), which is what a key prevents; the person makes the key and gives the app only the client ID, secret and one-time code.",
        "Guidance only, no call changed: one person's login often reaches several companies. Ask the person which company every time; never take it from an earlier session or the browser. Match the answer to GET /api/connect/me (companyId, companyName, state) and use that companyId in the path. One key can reach several companies, each approved by its own Admin (or the group's admin on Enterprise / Professional); rights and call limits are per company. See https://accuracyaccountingsuite.com/developers.html#several-companies."
      ]
    },
    {
      "version": "1.2",
      "date": "2026-12-05",
      "changes": [
        "This document and its changelog are public (no sign-in). A step-by-step guide for developers and AI assistants - how a person makes a key, what only a person can do and where, every refusal and what to tell the person - is at https://accuracyaccountingsuite.com/developers.html, and the Setup and User manuals at https://accuracyaccountingsuite.com/manuals/index.html. No call changed.",
        "Fixed: after New code, the earlier unused code could still be swapped for up to half a second (times are kept to the second). It now stops at once, as 1.1 said."
      ]
    },
    {
      "version": "1.1",
      "date": "2026-12-04",
      "changes": [
        "Token endpoint: the client ID and secret may also be sent as HTTP Basic (RFC 6749 2.3.1) - in the body OR the header, not both. A parameter sent twice is refused (400 invalid_request). A refresh answer has no refresh_token field (it was null). Every answer carries Cache-Control no-store and Pragma no-cache; a 401 invalid_client carries WWW-Authenticate.",
        "Token endpoint: the key's address list and its user's sign-in addresses now apply here too (400 unauthorized_client, errorCode APP_KEY_ADDRESS_NOT_ALLOWED), checked before anything is used up. Floods: 60 requests a minute per address and 600 a minute in all (429 CONNECT_TOKEN_RATE_LIMITED, Retry-After).",
        "Token endpoint: the 30-tokens-per-10-minutes limit is checked BEFORE the code is used - a 429 leaves the code valid and the working refresh token unchanged. A code swap stores the new refresh token in the same step as using the code, and fails (400 invalid_grant) if the key got a new secret meanwhile.",
        "A new code stops any earlier code not yet used. A key unused for 180 days, or whose user is no longer an ordinary user of a company, is refused at once (401 APP_TOKEN_REVOKED on calls, 400 invalid_grant on the token endpoint) - not only after the next sweep.",
        "Calls that name no company (GET /api/connect/me, look-up data): 120 a minute per key (429 API_RATE_LIMITED). A company's daily cap counts only calls that were let through. GET /api/connect/me shows no name for a company the key's user no longer reaches.",
        "Closed to apps: POST .../inventory/stock-take/runs/{runId}/delete (apps never delete) and POST .../propertydev/agreements/{agreementId}/statement/email (apps never make Accuracy e-mail anyone - read the statement and send it yourself)."
      ]
    },
    {
      "version": "1.0",
      "date": "2026-12-03",
      "changes": [
        "First release (Module 23 App connections, AR-51): POST /api/connect/token (authorization_code, refresh_token), GET /api/connect/me, and every operation an app key can reach, each naming the scope it needs."
      ]
    }
  ]
}