Webhooks - different data types on json payload

Admin_45002
Admin_45002 Member Posts: 1 VERIFIED MEMBER
edited July 2022 in Sales CRM #1

I'm building a service which receives webhooks from pipedrive for update events on deals.

The json payload that is sent to the registered webhook sometimes contains strings and sometimes integer fields for the company_id and deal_id fields.

 

Below is an extract where these fields are integers:

{  "v": 1,  "matches_filters": {    "current": []  },  "meta": {    "action": "updated",    "change_source": "api",    "company_id": 7823181,    "host": "damsak.pipedrive.com",    "id": 1175,    "is_bulk_update": false,....

 

and then another call on the same webhook where these fields are sent as Strings:

{  "v": 1,  "matches_filters": {    "current": []  },  "meta": {    "action": "updated",    "change_source": "api",    "company_id": 7823181,    "host": "10.245.46.24:3081.pipedrive.com",    "id": "1175",    "is_bulk_update": false,

 

Notice that the host is also different... this seems like a bug somewhere in pipedrive's webhook system?

 

Tagged:

Comments

This discussion has been closed.