Node.js - ESM
Fetch creator campaigns and update or create webhooks
See on GitHub
INFO
The v1 API has been discontinued since october 7, 2026. This package only supports the v2 API.
To check for compatibility with this package, look if your platform:
AbortSignal, setTimeout, clearTimeout, setInterval, clearInterval, Request, Response, fetch, URL and URLSearchParams (and more) v18 or higherES2020 and either the ESM or CJS formatnode:crypto module: createHmac and randomUUIDThis library is supporting all LTS Node.js versions. Older versions may work, but are not officially supported.
2226This package exports both CJS and ESM code. However, the guide will only have ESM examples.
npm install patreon-api.tspnpm add patreon-api.tsyarn add patreon-api.tsTo get started you can see one of the examples:
or read more about the features your application needs.
To create a webhook server for receiving webhook events, see one of these examples for inspiration: