webhooks_create
Create a webhook to receive real-time notifications from Pipedrive for specified events, sending HTTP POST requests to your endpoint.
Instructions
Create a new webhook to receive real-time notifications from Pipedrive.
Creates a webhook that will send HTTP POST requests to your endpoint when specified events occur.
Required fields:
subscription_url: The HTTPS endpoint that will receive webhook notifications
event_action: The action that triggers the webhook
event_object: The object type that triggers the webhook
Webhook triggers (event_action + event_object):
Event Actions: added, updated, deleted, merged, * (all)
Event Objects: activity, activityType, deal, note, organization, person, pipeline, product, stage, user, * (all)
Common webhook combinations:
New deals: { "event_action": "added", "event_object": "deal" }
Updated persons: { "event_action": "updated", "event_object": "person" }
Deleted organizations: { "event_action": "deleted", "event_object": "organization" }
All events: { "event_action": "", "event_object": "" }
All deal events: { "event_action": "*", "event_object": "deal" }
Security:
Use HTTPS URLs for security
Optionally add HTTP Basic Auth with http_auth_user and http_auth_password
Both auth fields must be provided together
Version:
version: "2.0" (recommended, default) or "1.0" (legacy)
v2.0 includes more data and better structure
Workflow tips:
Set up your endpoint first to handle POST requests
Create the webhook with appropriate event filters
Test with webhooks/list to verify creation
Monitor last_delivery_time and last_http_status for debugging
Your endpoint should return 200-299 status code to acknowledge receipt
Example payloads:
Simple webhook: { "subscription_url": "https://example.com/webhook", "event_action": "added", "event_object": "deal" }
With auth: { "subscription_url": "https://example.com/webhook", "event_action": "updated", "event_object": "person", "http_auth_user": "user", "http_auth_password": "pass" }
All events: { "subscription_url": "https://example.com/webhook", "event_action": "", "event_object": "", "name": "All Events Webhook" }
Important notes:
Pipedrive will send a test request immediately after creation
Your endpoint must be accessible from Pipedrive servers
Webhooks that repeatedly fail may be automatically disabled
See Pipedrive documentation for webhook payload structure
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"subscription_url": "<subscription_url>",
"event_action": "<event_action>",
"event_object": "<event_object>"
},
"name": "webhooks_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name to identify this webhook | |
| user_id | No | ID of the user this webhook is associated with | |
| version | No | Webhook version (default: 2.0, recommended) | |
| event_action | Yes | Action that triggers the webhook: added, updated, deleted, merged, or * (all) (required) | |
| event_object | Yes | Object type that triggers the webhook (required) | |
| http_auth_user | No | HTTP Basic Auth username (must be provided with http_auth_password) | |
| subscription_url | Yes | HTTPS URL endpoint that will receive webhook notifications (required) | |
| http_auth_password | No | HTTP Basic Auth password (must be provided with http_auth_user) |