{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/igrant-io/main/json-schema/igrant-io-put-v2-config-webhook-webhookid-request-schema.json",
  "title": "PutV2ConfigWebhookWebhookidRequest",
  "x-generated": "2026-10-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/igrant-io-openapi-generated.yml#/components/schemas/PutV2ConfigWebhookWebhookidRequest",
  "type": "object",
  "properties": {
    "payloadUrl": {
      "type": "string",
      "description": "The HTTPS or HTTP URL that receives the webhook payload. Must start with http:// or https:// and be unique for the organisation."
    },
    "contentType": {
      "type": "string",
      "description": "Possible values: application/json, application/x-www-form-urlencoded."
    },
    "subscribedEvents": {
      "type": "object",
      "description": "The event types that the webhook receives, in 3 groups."
    },
    "disabled": {
      "type": "boolean",
      "description": "When true, the webhook does not receive event deliveries. Default false."
    },
    "secretKey": {
      "type": "string",
      "description": "Secret key used to compute the X-IGrant-Signature HMAC-SHA256 header for each delivery."
    },
    "skipSslVerification": {
      "type": "boolean",
      "description": "When true, the server does not verify the TLS certificate of the payload URL. Default false."
    }
  },
  "required": [
    "payloadUrl",
    "contentType",
    "subscribedEvents",
    "secretKey"
  ]
}