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

# Update webhook

> Updates an existing webhook. Only include the fields you want to change — omitted fields remain unchanged. Fields cannot be set to `null`.



## OpenAPI

````yaml PATCH /webhooks/{webhook_id}
openapi: 3.1.0
info:
  title: Timeless Public API
  version: 0.1.0
  description: >-
    The Timeless API is a REST API served over HTTPS. All requests and responses
    use JSON, and all endpoints require authentication.
servers:
  - url: https://api.timeless.day/v1
    description: Production
security:
  - HTTPBearer: []
tags:
  - name: meetings
    description: Retrieve meetings, recordings, and transcripts.
  - name: rooms
    description: Retrieve rooms that group related meetings.
  - name: documents
    description: Retrieve AI-generated meeting documents.
  - name: upload
    description: Upload audio or video files for transcription.
  - name: webhooks
    description: Manage webhook subscriptions for event notifications.
paths:
  /webhooks/{webhook_id}:
    patch:
      tags:
        - webhooks
      summary: Update webhook
      description: >-
        Updates an existing webhook. Only include the fields you want to change
        — omitted fields remain unchanged. Fields cannot be set to `null`.
      operationId: update_webhook_endpoint_v1_webhooks__webhook_id__patch
      parameters:
        - name: webhook_id
          in: path
          required: true
          schema:
            type: string
            title: Webhook Id
          description: The webhook ID (e.g., `whk_abc123`).
          example: whk_abc123
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookUpdate'
            example:
              enabled: false
      responses:
        '200':
          description: The updated webhook.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookResponse'
              example:
                id: whk_abc123
                url: https://example.com/webhooks/timeless
                events:
                  - meeting.transcript_ready
                enabled: false
                created_at: '2025-01-15T12:00:00Z'
                updated_at: '2025-01-16T09:00:00Z'
        '400':
          description: Invalid request parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Authentication required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Webhook not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    WebhookUpdate:
      properties:
        url:
          anyOf:
            - type: string
              maxLength: 2048
            - type: 'null'
          title: Url
          description: New HTTPS URL. Max 2048 characters.
        events:
          anyOf:
            - items:
                $ref: '#/components/schemas/WebhookEvent'
              type: array
              minItems: 1
            - type: 'null'
          title: Events
          description: >-
            New list of subscribed events. Replaces the existing list. At least
            one event is required.
        enabled:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Enabled
          description: Enable or disable the webhook.
      type: object
      title: WebhookUpdate
    WebhookResponse:
      properties:
        id:
          type: string
          title: Id
          description: Webhook ID.
          example: whk_abc123
        url:
          type: string
          title: Url
          description: The registered URL.
        events:
          items:
            $ref: '#/components/schemas/WebhookEvent'
          type: array
          title: Events
          description: Subscribed events.
        enabled:
          type: boolean
          title: Enabled
          description: Whether the webhook is active.
        created_at:
          type: string
          format: date-time
          title: Created At
          description: ISO 8601 timestamp.
        updated_at:
          type: string
          format: date-time
          title: Updated At
          description: ISO 8601 timestamp.
      type: object
      required:
        - id
        - url
        - events
        - enabled
        - created_at
        - updated_at
      title: WebhookResponse
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: not_found
            message:
              type: string
              example: Resource not found
            details:
              type: array
              items:
                type: object
                properties:
                  field:
                    type: string
                  message:
                    type: string
          required:
            - code
            - message
      required:
        - error
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    WebhookEvent:
      type: string
      enum:
        - meeting.transcript_ready
        - meeting.initial_summary_ready
      title: WebhookEvent
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
      description: >-
        API token from your [Timeless
        dashboard](https://my.timeless.day/api-token).

````