> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hostreach.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Update an event type

> Partially updates an event type. Only the provided fields are changed.



## OpenAPI

````yaml /openapi.json patch /public/v1/scheduling/event-types/{id}
openapi: 3.0.0
info:
  title: Hostreach API
  description: >-
    Public REST API for Hostreach.


    Authenticate with an API key via the `X-Api-Key` header or `Authorization:
    Bearer <key>` header.


    Generate API keys from **Settings › Workspace › Acceso API** in the
    dashboard.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.hostreach.io/v1
    description: Production
  - url: http://localhost:3001/v1
    description: Local
security:
  - apiKey: []
tags:
  - name: Identity
    description: Current workspace and usage
  - name: Platforms
    description: Supported real-estate portals and filter schemas
  - name: Extractions
    description: Lead extraction jobs
  - name: Leads
    description: Lead management
  - name: Campaigns
    description: Campaign management
  - name: Messaging
    description: Inbox and WhatsApp conversations
  - name: Templates
    description: WhatsApp message templates
  - name: Accounts
    description: WhatsApp accounts
  - name: Valuations
    description: Property valuations
  - name: Fichas
    description: Property listing sheets
  - name: Scheduling
    description: Calendar and appointments
  - name: Webhooks
    description: Event subscriptions
paths:
  /public/v1/scheduling/event-types/{id}:
    patch:
      tags:
        - Scheduling
      summary: Update an event type
      description: Partially updates an event type. Only the provided fields are changed.
      operationId: PublicSchedulingController_updateEventType
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ownerAgentUserId:
                  type: string
                  format: uuid
                agendaId:
                  type: string
                  format: uuid
                name:
                  type: string
                  example: Property Tour (updated)
                slug:
                  type: string
                  example: property-tour-v2
                description:
                  type: string
                durationMin:
                  type: integer
                  minimum: 5
                  maximum: 1440
                bufferBeforeMin:
                  type: integer
                  minimum: 0
                bufferAfterMin:
                  type: integer
                  minimum: 0
                locationMode:
                  type: string
                  enum:
                    - onsite
                    - call
                    - video
                locationDetails:
                  type: object
                color:
                  type: string
                  example: '#10b981'
                visibility:
                  type: string
                  enum:
                    - agent_private
                    - workspace_template
                isActive:
                  type: boolean
                config:
                  type: object
                availabilityConfig:
                  type: object
      responses:
        '200':
          description: ''
      security:
        - bearerApiKey: []
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-Api-Key
      description: >-
        API key (hr_live_... or hr_test_...). Generate from Settings › Workspace
        › Acceso API.

````