{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hookbridge/main/json-schema/hookbridge-create-inbound-endpoint-response-schema.json",
  "title": "CreateInboundEndpointResponse",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/hookbridge-api-openapi.yml#/components/schemas/CreateInboundEndpointResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "Unique inbound endpoint identifier (UUIDv7)"
        },
        "name": {
          "type": "string",
          "description": "Endpoint name"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "Forwarding URL (empty for cli-mode endpoints)"
        },
        "mode": {
          "type": "string",
          "enum": [
            "forward",
            "cli",
            "pull"
          ],
          "description": "Endpoint mode"
        },
        "ingest_url": {
          "type": "string",
          "format": "uri",
          "description": "**Shown only once!** The full URL that external senders should POST webhooks to.\n"
        },
        "secret_token": {
          "type": "string",
          "description": "**Shown only once!** 32-character hex token embedded in the ingest URL.\n"
        },
        "signing_key_id": {
          "type": "string",
          "description": "Initial signing key ID when delivery signing is enabled"
        },
        "signing_secret": {
          "type": "string",
          "description": "**Shown only once!** Initial delivery signing secret when signing is enabled.\n"
        },
        "key_hint": {
          "type": "string",
          "description": "Last 4 chars of the signing key for identification"
        },
        "ephemeral": {
          "type": "boolean",
          "description": "Whether this is an ephemeral (CI/test) endpoint"
        },
        "expires_at": {
          "type": "string",
          "format": "date-time",
          "description": "When the ephemeral endpoint will auto-expire (only present for ephemeral endpoints)"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "meta": {
      "$ref": "#/$defs/ResponseMeta"
    }
  },
  "$defs": {
    "ResponseMeta": {
      "type": "object",
      "properties": {
        "request_id": {
          "type": "string",
          "description": "Unique identifier for this request (useful for support)"
        }
      }
    }
  }
}