{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cm-com/main/json-schema/cm-com-configuration-email-inbound-webhook-update-request-schema.json",
  "title": "Configuration_EmailInboundWebhookUpdateRequest",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cm-com-email-gateway-api-v1-openapi.yml#/components/schemas/Configuration_EmailInboundWebhookUpdateRequest",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "Must be greater than 0."
    },
    "resetPresignedUrlExpiryHours": {
      "type": "boolean",
      "description": "Sets the expiry back to 24. Wins over presignedUrlExpiryHours."
    },
    "webhookUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "domain": {
      "type": [
        "string",
        "null"
      ]
    },
    "usePresignedAttachments": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Send attachments as download links instead of inline base64. Default false."
    },
    "presignedUrlExpiryHours": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32",
      "description": "Lifetime of download links in hours. Default 24, effective maximum 168."
    }
  },
  "additionalProperties": false
}