Authenticate with Patreon OAuth v2 and fetch a campaign's membership tiers
domain: patreon.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Redirect the user to https://www.patreon.com/oauth2/authorize with response_type=code, client_id, redirect_uri, and scope (e.g. campaigns identity) params
Exchange the returned code for tokens via POST https://www.patreon.com/api/oauth2/token (grant_type=authorization_code, client_id, client_secret, redirect_uri)
Call GET /api/oauth2/v2/campaigns with the access token to list campaigns owned by the authenticated creator
Add include=tiers plus fields[campaign]=... and fields[tier]=... query params to get tier data — v2 returns only type/id unless fields/include are explicitly requested
Store the refresh_token and call the same token endpoint with grant_type=refresh_token before the access token expires
Known gotchas
JSON:API field sparsity: omitting fields[]/include= params returns near-empty objects, a common integration bug
Exceeding Patreon's rate limits returns 429 with retry_after_seconds; a burst of bad requests can trigger a separate ~30-minute block
v1 of the API is legacy — new integrations should target v2 exclusively
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?