devvit icon indicating copy to clipboard operation
devvit copied to clipboard

Reverse Webhook Support

Open pl00h opened this issue 1 year ago • 3 comments

It could be useful to have a way to set up a reverse webhook. I was thinking something like Devvit.registerWebhookListener(name: string, handler: (content: string) => void). This would register the given function as the handler for a webhook with the given name, and also add an entry to the app settings page containing a unique webhook URL that can be copied to be used on the other end: {name}: https://webhook.reddit.com/{unique id}.

pl00h avatar May 23 '24 21:05 pl00h

This would unlock some huge new capabilities for our app and many others!

zachlandes avatar Aug 17 '24 03:08 zachlandes