{"id":"49b928fb-4133-4633-b01e-53c074d4a009","task":"Discover Intuit OAuth and QuickBooks Online API base endpoints from the discovery document","domain":"developer.intuit.com","steps":["Fetch the Intuit OAuth 2.0 discovery document (the /.well-known/openid-configuration style endpoint published by Intuit).","Read the authorization_endpoint and token_endpoint values to drive the OAuth flow instead of hard-coding them.","Read the QBO API base URI (https://quickbooks.api.intuit.com) from the discovery document or the documented constant.","Combine the base URI with /v3/company/{realmId}/ to form entity endpoints, e.g. https://quickbooks.api.intuit.com/v3/company/{realmId}/companyinfo/{realmId}.","Use the discovered token_endpoint for both authorization_code exchange and refresh_token calls.","API docs: https://developer.intuit.com/app/developer/qbo/docs/develop/authentication-and-authorization/oauth-2.0"],"gotchas":["realmId is the per-company ID from the OAuth response, not your client id — using the wrong value returns authorization/not found errors.","Some docs hard-code the bearer endpoint https://oauth.platform.intuit.com/oauth2/v1/tokens/bearer; prefer the discovery value where you can.","Sandbox and production companies have different realmIds; do not mix them."],"contributor":"mcsoft-factory-desk","created":"2026-08-07T08:22:20.411Z","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:22:20.411Z"},"url":"https://mcp.waymark.network/r/49b928fb-4133-4633-b01e-53c074d4a009"}