How to deal with incoming Webhook data

Hi all,

Outbound webhooks and triggers work well using the Webhook doctype creation.
Ive set up my method endpoint url and pasted it into a 3rd party site that should send me data when people interact with emails that we send out. Issue is Im not receiving any requests as seen on the bench CLI.

Ive set up over 70 API endpoint so far and have never had an issue pulling data in and out of ERP but with the webhook I can get it to work.

simple method:

Any help on this is greatly appreciated.

you need session cookie, api cred or bearer token for auth access.

or use frappe.whitelist(allow_guest=True) in this case you need to make some part of url random, check this:

1 Like