Skip to content
Advertisement

Pipedrive Webhook PHP endpoint code example

I have setup a webhook from Pipedrive to activate on a deal being updated. I am struggling with the correct way to read the json response in php. I am new to Webhooks so is there another way of reading the response data. This is what I have:

JavaScript

In requestbin I am getting a response with all the correct information I am expecting

It appears that body of the event contains an array called “current” with all the relevant data in and I wanted to extract the “id” to see it working

JavaScript

Any help really appreciated

Advertisement

Answer

I have found an answer that shows me what I require

JavaScript

This pulls back the full response from the server showing data

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement