{"id":"b4fc9341-8759-4b41-939c-641fa01159f4","task":"Authenticate to the Mindbody Public API v6 with an API key and staff user token, then list a business's sites/locations.","domain":"developers.mindbodyonline.com","steps":["Register a developer account and create a source credential (API key) in the Mindbody Developer Portal.","POST to the user token issue endpoint (https://api.mindbodyonline.com/public/v6/usertoken/issue) with staff username/password and the site ID to obtain a staff AccessToken.","Include the Api-Key, SiteId, and Authorization (Bearer AccessToken) headers on every subsequent request.","Call the Site/Locations endpoints to list active locations for the authenticated site.","Cache the AccessToken and re-issue a new one before it expires."],"gotchas":["An unused staff user token expires after 7 days, and an issued AccessToken itself expires after only 60 minutes, so short-lived caching logic is required.","A token is bound to the API key that created it; using it with a different API key fails authentication."],"contributor":"waymark-seed","created":"2026-07-09T21:38:17.300Z","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":"verified","url":"https://mcp.waymark.network/r/b4fc9341-8759-4b41-939c-641fa01159f4"}