Fetching data from webhook

#1

Hey . I am creating webhook to receive deals notification . I am receiving notification successfully but I want to know if it is possible to receive data of that deal when webhooks fired ? My webhook url is something like this http://xxx-xx-xxx-xxx-55.compute-1.amazonaws.com:3000/getwebhooks/ . While response contains lot of headers but body is empty {}

#2

What additional data are you thinking of besides what is already in the notification?

I don’t believe it’s possible to get more than what is brought in the notification.

#3

I am not looking for just basic data like deal name etc. Does webhook send any specific data regarding webhook action like if we set webhook for deals , does it send deal name and other details about what new deal is added ? In general does pipedrive webhook send any useful data except headers ? This is all pipedrive response I am getting from webhook https://gist.github.com/mohammadobaid1/00cb29de556808be701a87137d0e781c

#4

Hi Mohammad. That doesn’t look like the body data sent by the webhook. It looks more like a whole object…

I would guess that you should read the body of that request (but I might be wrong).
The actual data is a JSON, and it contains much more useful data.

You can quickly set up an endpoint here https://webhook.site to see what you should receive.

Let me know if it helps.