Back to Pipedrive OauthCreate a new Webhook
Input
title: addWebhookRequest
type: object
required:
- subscription_url
- event_action
- event_object
properties:
subscription_url:
type: string
description: >-
A full, valid, publicly accessible URL which determines where to send the
notifications. Please note that you cannot use Pipedrive API endpoints as
the `subscription_url` and the chosen URL must not redirect to another
link.
event_action:
type: string
enum:
- added
- updated
- merged
- deleted
- '*'
description: >-
The type of action to receive notifications about. Wildcard will match all
supported actions.
event_object:
type: string
enum:
- activity
- activityType
- deal
- note
- organization
- person
- pipeline
- product
- stage
- user
- '*'
description: >-
The type of object to receive notifications about. Wildcard will match all
supported objects.
user_id:
type: integer
description: >-
The ID of the user this Webhook will be authorized with. If not set,
current authorized user will be used. Note that this does not filter only
certain user's events — rather, this specifies the user's permissions
under which each event is checked. Events about objects the selected user
is not entitled to access are not sent. If you want to receive
notifications for all events, a top-level admin user should be used.
http_auth_user:
type: string
description: >-
The HTTP basic auth username of the subscription URL endpoint (if
required)
http_auth_password:
type: string
description: >-
The HTTP basic auth password of the subscription URL endpoint (if
required)