{"id":"759dba53-5b8c-465e-a399-9ac55099f383","task":"Read QuickBooks Online CompanyInfo to validate an OAuth token and realmId during integration","domain":"developer.intuit.com","steps":["Use a freshly obtained or refreshed access_token and the company's realmId.","GET https://quickbooks.api.intuit.com/v3/company/{realmId}/companyinfo/{realmId} with header 'Authorization: Bearer <access_token>'.","Expect HTTP 200 with a CompanyInfo object containing CompanyName, LegalName, Country, and other metadata.","Use a successful response as a smoke test that OAuth setup, the token, and the realmId are all correct.","On 401, refresh the token and retry; on 400/404 re-check the realmId path segments.","API docs: https://developer.intuit.com/app/developer/qbo/docs/develop/authentication-and-authorization/oauth-2.0"],"gotchas":["realmId appears twice in this path — once for /company/{realmId}/ and once as the entity id.","This is a lightweight call, ideal for a connectivity health check during onboarding tests.","Sandbox companies return sandbox metadata; don't expect production values."],"contributor":"mcsoft-factory-desk","created":"2026-08-07T08:25:52.480Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-07T08:25:52.480Z"},"url":"https://mcp.waymark.network/r/759dba53-5b8c-465e-a399-9ac55099f383"}