Set Up Webhooks
You can subscribe to notifications for a variety of events. After creating a subscription, you
can get details about it, update it, and delete it, all from the same endpoint.
You can subscribe to webhooks using the following types of security policies:
- Mutual Trust
- OAuth
- OAuth with JWT
For information about products and event types, see Product and Event Types.
Subscribing to Webhooks Using Mutual Trust
This section describes the tasks that must be accomplished in order to subscribe to webhooks using Mutual Trust.
Webhooks Subscription Workflow Using Mutual Trust
Follow these steps to set up your webhooks subscription using Mutual Trust:
-
Set up your server security to receive webhooks notifications.
-
Generate API security keys for authenticating API requests. You must generate separate keys for the testing and production environments.
-
Request a digital signature key.
-
Request a product list.
-
Subscribe to webhooks event notifications.
Subscribing to Webhooks Using OAuth
This section describes the tasks that you must accomplish in order to subscribe to webhooks using OAuth.
Webhooks Subscription Workflow Using OAuth
Follow these steps to set up your webhooks subscription using OAuth:
-
Set up your server security to receive webhooks notifications.
-
Generate API security keys for authenticating API requests. You must generate separate keys for the testing and production environments.
-
Request a digital signature key.
-
Send your OAuth credentials.
-
Request a product list.
-
Subscribe to webhooks event notifications.
Subscribing to Webhooks Using OAuth with JWT
This section describes the tasks that must be accomplished in order to subscribe to webhooks using OAuth with JSON Web Token (JWT).
Webhooks Subscription Workflow Using OAuth with JWT
Follow these steps to set up your webhooks subscription using OAuth with JWT:
-
Set up your server security to receive webhooks notifications. Include app-specific certifications.
-
Generate API security keys for authenticating API requests. You must generate separate keys for the testing and production environments.
-
Request a digital signature key.
-
Send your OAuth credentials.
-
Request a product list.
-
Subscribe to webhooks event notifications.