Skip to main content

webhook_subscriptions

Overview

Namewebhook_subscriptions
TypeResource
Idpagerduty.webhooks.webhook_subscriptions

Fields

NameDatatypeDescription
idstring
descriptionstringA short description of the webhook subscription.
activebooleanDetermines whether this subscription will produce webhook events.
delivery_methodobject
eventsarrayThe set of outbound event types the webhook will receive.
filterobject
typestringThe type indicating the schema of the object.

Methods

NameAccessible byRequired ParamsDescription
get_webhook_subscriptionSELECTidGets details about an existing webhook subscription.
list_webhook_subscriptionsSELECTList existing webhook subscriptions.

The filter_type and filter_id query parameters may be used to only show subscriptions
for a particular service or team.

For more information on webhook subscriptions and how they are used to configure v3 webhooks
see the Webhooks v3 Developer Documentation.
create_webhook_subscriptionINSERTdata__webhook_subscriptionCreates a new webhook subscription.

For more information on webhook subscriptions and how they are used to configure v3 webhooks
see the Webhooks v3 Developer Documentation.
delete_webhook_subscriptionDELETEidDeletes a webhook subscription.
_get_webhook_subscriptionEXECidGets details about an existing webhook subscription.
_list_webhook_subscriptionsEXECList existing webhook subscriptions.

The filter_type and filter_id query parameters may be used to only show subscriptions
for a particular service or team.

For more information on webhook subscriptions and how they are used to configure v3 webhooks
see the Webhooks v3 Developer Documentation.
enable_webhook_subscriptionEXECidEnable a webhook subscription that is temporarily disabled. (This API does not require a request body.)

Webhook subscriptions can become temporarily disabled when the subscription's delivery method is repeatedly rejected by the server.
test_webhook_subscriptionEXECidTest a webhook subscription.

Fires a test event against the webhook subscription. If properly configured,
this will deliver the pagey.ping webhook event to the destination.
update_webhook_subscriptionEXECidUpdates an existing webhook subscription.

Only the fields being updated need to be included on the request. This operation does not
support updating the delivery_method of the webhook subscription.