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:
  1. Set up your server security to receive webhooks notifications.
  2. Generate API security keys for authenticating API requests. You must generate separate keys for the testing and production environments.
  3. Request a product list.
  4. 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:
  1. Set up your server security to receive webhooks notifications.
  2. Generate API security keys for authenticating API requests. You must generate separate keys for the testing and production environments.
  3. Send your OAuth credentials.
  4. Request a product list.
  5. 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:
  1. Set up your server security to receive webhooks notifications. Include app-specific certifications.
  2. Generate API security keys for authenticating API requests. You must generate separate keys for the testing and production environments.
  3. Send your OAuth credentials.
  4. Request a product list.
  5. Subscribe to webhooks event notifications.