Create Webhook Listener

post/api/webhook-listeners

Create a webhook listener to receive notifications for subscribed topics. Add Webhook Topic Subscription endpoint must be used to subscribe to one or more topics.

Request

Body application/json

  • accountIdstringrequired

    The id of the partner account to add this Webhook Listener to.

  • urlstringrequired

    The URL to send webhook notifications to.

Response

Successful operation.

Body application/json

  • idstringrequired

    Webhook Listener primary identifier.

  • accountIdstringrequired

    Partner Account id.

  • urlstringrequired

    The URL to send webhook notifications to.

  • createdAtstringrequired

    Timestamp of Webhook Listener creation.

  • statusstringrequired
    Allowed values:activeinactive

    Status of the Webhook Listener.