{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/contraforce/json-schema/contraforce-api-response-of-webhook-secret-regenerated-dto-schema.json",
  "title": "ApiResponseOfWebhookSecretRegeneratedDto",
  "description": "Standard v2 API response envelope for single-item responses.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/contraforce-webhooks-api-openapi.yml#/components/schemas/ApiResponseOfWebhookSecretRegeneratedDto",
  "type": "object",
  "properties": {
    "data": {
      "description": "Result of regenerating a webhook's signing secret. string WebhookSecretRegeneratedDto.Secret is the only time the\nplaintext leaves the server; it is never readable again after this response.",
      "$ref": "#/$defs/WebhookSecretRegeneratedDto"
    },
    "meta": {
      "$ref": "#/$defs/ResponseMeta"
    }
  },
  "$defs": {
    "ResponseMeta": {
      "type": "object",
      "properties": {
        "requestId": {
          "type": [
            "null",
            "string"
          ]
        },
        "timestamp": {
          "type": [
            "null",
            "string"
          ]
        }
      }
    },
    "WebhookSecretRegeneratedDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "secret": {
          "type": [
            "null",
            "string"
          ]
        },
        "lastModifiedAt": {
          "type": "string",
          "format": "date-time"
        }
      },
      "description": "Result of regenerating a webhook's signing secret. string WebhookSecretRegeneratedDto.Secret is the only time the\nplaintext leaves the server; it is never readable again after this response."
    }
  }
}