---
title: "WebhookCreate"
url: "https://portal.konghotels.cloud/apis/kong-hotels-partner-api-1/versions/23cc133a-2f87-4d55-9490-0b8b2bb7dd78/schemas/WebhookCreate"
---

> Full API specification: https://portal.konghotels.cloud/apis/kong-hotels-partner-api-1/versions/23cc133a-2f87-4d55-9490-0b8b2bb7dd78.md

# WebhookCreate

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Kong Hotels Partner API
  version: 1.0.0
servers:
  - url: https://api.konghotels.cloud
    description: Kong Gateway
components:
  schemas:
    EventType:
      type: string
      enum:
        - reservation.created
        - reservation.modified
        - reservation.cancelled
        - reservation.add_ons_changed
        - availability.changed
        - rates.changed
        - property.updated
        - promotion.published
        - review.published
        - group_request.created
        - group_request.updated
        - webhook.ping
    WebhookCreate:
      type: object
      required:
        - url
        - events
      properties:
        url:
          type: string
          format: uri
          description: Must be HTTPS in production.
        events:
          type: array
          minItems: 1
          items:
            $ref: "#/components/schemas/EventType"
        property_codes:
          type:
            - array
            - "null"
          items:
            type: string
          description: Only events for these properties; null for all.
        description:
          type:
            - string
            - "null"
        is_active:
          type: boolean
          default: true
```
