Patreon Webhook v2 Triggers?

Hey team,

I’d like to create a new webhook using the v2 API to send updates about new Posts published on my campaign. I’ve already created a new App Integration and I’m able to send requests to the API.
However, the API isn’t fully documented, how to create a webhook.

curl -H 'Authorization: Bearer xxxx
’ -X POST -H ‘Content-Type: application/json’ --location https://www.patreon.com/api/oauth2/v2/webhooks -d ‘{“uri”: “https://xxxxx”, “triggers”: [“posts:publish”, “posts:update”, “posts:delete”]", “paused”: “false”}’ | jq

Gets back a 400 response. I’ve tried multiple combinations of the fields documented, but without success.

Could you help me setting this up please?

You dont need to create a webhook programmatically. You can just use the webhooks page for that:

The problem is that it does not allow me to set the post triggers. On the website it does not show me the „post:…“ triggers only members etc.

Using these triggers dont work?

https://docs.patreon.com/#triggers-v2

How am I supposed to use them when they don’t show up in the UI and the API calls don’t work?

Yes, they may not be supported in the interface yet. You will need to create that hook programmatically. Check out how the WP plugin does it for posts trigger:

1 Like

Awesome, that worked! Thank you :slight_smile:

1 Like

Is there any chance of post triggers getting added to the developer portal anytime soon? I’ve tried out creating the webhook for publishing posts programmatically and it all works fine but since I’m doing this for another Patreon creator it would be a lot easier to have them set it up through their portal.

Hi! We’ve added the posts:create, posts:update, posts:delete triggers to our Patreon Platform page - Patreon Platform