{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/postwire-io/json-schema/postwire-io-get-api-webhooks-id-response-schema.json",
  "title": "GetApiWebhooksIdResponse",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/postwire-io-openapi-generated.yml#/components/schemas/GetApiWebhooksIdResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "data": {
      "type": "object",
      "properties": {
        "platform": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "post_id": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "error": {
          "type": [
            "string",
            "null"
          ]
        },
        "code": {
          "type": [
            "string",
            "null"
          ]
        },
        "account": {
          "type": "object",
          "properties": {
            "platform": {
              "type": "string"
            },
            "handle": {
              "type": "string"
            },
            "brand_id": {
              "type": "string"
            },
            "brand": {
              "type": "string"
            }
          }
        },
        "brand_id": {
          "type": "string"
        },
        "source": {
          "type": "string"
        },
        "schedule_id": {
          "type": "string"
        },
        "idempotency_key": {
          "type": [
            "string",
            "null"
          ]
        },
        "label": {
          "type": "string"
        }
      }
    }
  }
}