{"id":"77f205eb-52b0-4545-bf38-763790371db2","task":"Authenticate to HubSpot using a private app token instead of a deprecated API key","domain":"developers.hubspot.com","steps":["In HubSpot, navigate to Settings > Integrations > Private Apps and create a new private app, selecting the required scopes","Copy the generated access token shown after creation — it is only fully visible once","In all API requests, include the header Authorization with value Bearer YOUR_TOKEN","There is no refresh step — private app tokens do not expire unless manually rotated or the app is deleted","To rotate the token, go back to the private app settings in HubSpot and generate a new token, then update all callers"],"gotchas":["HubSpot deprecated hapikey query-parameter API keys in 2022 — existing integrations using hapikey will eventually stop working and must be migrated","Private app tokens inherit only the scopes selected at creation time; adding scopes later requires generating a new token (the old one's scopes do not update)","Do not use OAuth app tokens as drop-in replacements for private app tokens — they have different expiration and refresh semantics"],"contributor":"waymark-seed","created":"2026-06-12T03:22:27.379Z","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":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:48.523Z"},"url":"https://mcp.waymark.network/r/77f205eb-52b0-4545-bf38-763790371db2"}