{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ampost/json-schema/ampost-patch-api-webhooks-endpoints-webhookid-request-schema.json",
  "title": "PatchApiWebhooksEndpointsWebhookidRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/ampost-openapi-generated.yml#/components/schemas/PatchApiWebhooksEndpointsWebhookidRequest",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Public https URL that receives the events."
    },
    "events": {
      "type": "array",
      "description": "Events to send to this URL"
    },
    "description": {
      "type": "string",
      "description": "Your note for this webhook, at most 200 characters"
    },
    "enabled": {
      "type": "boolean",
      "description": "Turn the webhook on or off."
    },
    "rotateSecret": {
      "type": "boolean",
      "description": "True: replace the signing secret."
    }
  }
}