We’re no longer able to create Pipedrive webhooks using createANewWebhook (or the endpoint https://developers.pipedrive.com/docs/api/v1/#!/Webhooks/get_webhooks) without providing the optional user_id field. The documentation (both here in the node library and in the developers.pipedrive.com site) states that the user_id is optional, but when omitted, the HTTP response returns the error message “Failed to get user or company”. We believe the API only recently started requiring the user_id parameter.
This can be easily reproduced using the developer documentation tool. Screenshot:
(cross-posted from https://devcommunity.pipedrive.com/t/recent-pipedrive-api-regression-unable-to-create-webhook-without-user-id/2353)
We’re no longer able to create Pipedrive webhooks using createANewWebhook (or the endpoint https://developers.pipedrive.com/docs/api/v1/#!/Webhooks/get_webhooks) without providing the optional user_id field. The documentation (both here in the node library and in the developers.pipedrive.com site) states that the
user_id
is optional, but when omitted, the HTTP response returns the error message “Failed to get user or company”. We believe the API only recently started requiring theuser_id
parameter.This can be easily reproduced using the developer documentation tool. Screenshot: