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

# Update webhook endpoint

> Partial update. **`secret`** is never returned. Requires **organization owner** or **admin** for mutating operations. See [Webhooks](/webhooks).



## OpenAPI

````yaml /api-reference/openapi.json PATCH /webhook/endpoints/{id}
openapi: 3.0.3
info:
  title: API 2.0
  version: 1.0.0
  contact: {}
servers:
  - url: https://platform.inklink.com/api/v1
security: []
tags: []
paths:
  /webhook/endpoints/{id}:
    patch:
      summary: Update webhook endpoint
      description: >-
        Partial update. **`secret`** is never returned. Requires **organization
        owner** or **admin** for mutating operations. See [Webhooks](/webhooks).
      operationId: updateWebhookEndpoint
      parameters:
        - name: api-key
          in: header
          schema:
            type: string
            example: secret_live_xxx
          required: true
        - name: id
          in: path
          required: true
          description: Webhook endpoint id (`wh_end_…`).
          schema:
            type: string
            example: wh_end_xxx
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  format: uri
                name:
                  type: string
                  maxLength: 120
                enabled:
                  type: boolean
                event_types:
                  type: array
                  minItems: 1
                  items:
                    $ref: '#/components/schemas/webhookEventType'
      responses:
        '200':
          description: Updated endpoint.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/webhookEndpoint'
        '400':
          description: Validation error (`VALIDATION_ERROR`).
        '401':
          description: Not authenticated (`UNAUTHORIZED`).
        '404':
          description: Endpoint not found (`NOT_FOUND`).
        '500':
          description: Server error or permission denied (`INTERNAL_ERROR`).
components:
  schemas:
    webhookEventType:
      type: string
      description: InkLink webhook event type (KYC or Web inquiry result status).
      enum:
        - kyc.result.pending
        - kyc.result.manual_review
        - kyc.result.approved
        - kyc.result.rejected
        - kyc.result.failed
        - web.result.pending
        - web.result.manual_review
        - web.result.approved
        - web.result.rejected
        - web.result.failed
    webhookEndpoint:
      type: object
      description: Webhook endpoint without signing secret.
      properties:
        id:
          type: string
          description: Endpoint id (`wh_end_…`).
        name:
          type: string
          nullable: true
        url:
          type: string
          format: uri
        enabled:
          type: boolean
        event_types:
          type: array
          items:
            $ref: '#/components/schemas/webhookEventType'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time

````