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

# Update webhook



## OpenAPI

````yaml /api-reference/openapi.json patch /webhooks/{id}
openapi: 3.0.3
info:
  title: FileFeed API
  version: '2026-05-25'
  description: >-
    Official FileFeed REST API for connections, pipelines, schemas, pipeline
    runs, webhooks, outbound uploads, documents, files, and notifications.
    Date-based API versioning is controlled by the `FileFeed-Version` request
    header (default `2024-09-01`; latest `2026-05-25`); this document describes
    the `2026-05-25` shape.
servers:
  - url: https://api.sftpsync.io
security:
  - ApiKeyAuth: []
tags:
  - name: Connections
  - name: Pipelines
  - name: Schemas
  - name: Pipeline Runs
  - name: Webhooks
  - name: Outbound Uploads
  - name: Documents
  - name: Files
  - name: Notifications
  - name: Clients (deprecated)
paths:
  /webhooks/{id}:
    patch:
      tags:
        - Webhooks
      summary: Update webhook
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateWebhookParams'
      responses:
        '200':
          description: Webhook
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
components:
  schemas:
    UpdateWebhookParams:
      allOf:
        - $ref: '#/components/schemas/CreateWebhookParams'
    Webhook:
      type: object
      description: >-
        Webhook read shape. The signing `secret` is NOT returned on reads — it
        is shown only once on the create response (see CreateWebhookResponse).
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type: string
        url:
          type: string
          format: uri
        eventType:
          type: string
          description: Defaults to GENERAL. Set server-side; not accepted on create/update.
        headers:
          type: object
          additionalProperties:
            type: string
        isActive:
          type: boolean
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - id
        - name
        - url
        - eventType
        - isActive
        - createdAt
        - updatedAt
    CreateWebhookParams:
      type: object
      description: >-
        eventType and secret are not accepted on create/update: the server
        defaults eventType to GENERAL and generates the secret (both returned on
        the Webhook response).
      properties:
        name:
          type: string
        description:
          type: string
        url:
          type: string
          format: uri
        headers:
          type: object
          additionalProperties:
            type: string
        isActive:
          type: boolean
      required:
        - name
        - url
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````