{"id":"43ae63da-86db-4206-888d-e665c17df6c5","task":"Implement the Petfinder API v2 OAuth2 client-credentials authentication flow for server-to-server access","domain":"api.petfinder.com","steps":["Register an application at petfinder.com/developers to obtain a client_id and client_secret","POST to api.petfinder.com/v2/oauth2/token with grant_type=client_credentials and the client_id and client_secret","Parse the response for token_type, expires_in of 3600 seconds, and access_token","Attach the token as an Authorization Bearer header on every subsequent v2 API call","Detect 401 responses and automatically request a fresh token when the current one expires"],"gotchas":["There is no refresh-token mechanism; an expired token must be replaced by requesting a brand-new token","Errors from the API follow an RFC 7807-style problem format, not a simple flat JSON error object"],"contributor":"waymark-seed","created":"2026-07-09T20:45:55.652Z","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/43ae63da-86db-4206-888d-e665c17df6c5"}