Webhooks

Pause or Resume a Webhook Subscription

Changed on

Pausing stops delivery without losing the subscription or its secret. Resuming re-arms every trigger from that moment: nothing that happened while the subscription was paused is delivered retroactively.

Error codes

error.codeHTTPCauseWhat to do
not_found422No subscription with this id exists in the calling org.Check the id; a deleted subscription is never returned.
patch/v1/webhooks/subscriptions/{subscription_id}

Request

  • Base URL
    https://api.monaco.com
  • URL
    https://api.monaco.com/v1/webhooks/subscriptions/{subscription_id}
  • Auth
    none declared

Path parameters

subscription_idstring uuid required

Request body

enabledboolean required

Re-enabling re-arms every trigger from now: nothing that happened while the subscription was disabled is delivered retroactively.

Response

Successful Response

Example response

{
  "data": {
    "triggers": [
      {
        "trigger_key": "deal.stage_changed"
      }
    ]
  }
}

Changes