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

# Update Webhook Endpoint

> Update the URL, event subscriptions, or active/disabled status.



## OpenAPI

````yaml PATCH /projects/{projectId}/webhooks/{webhookId}
openapi: 3.0.3
info:
  title: Echo API
  description: |
    Echo is a voice notification platform. Use your API key (returned on signup)
    in the `x-api-key` header for all `/v1/*` endpoints.

    The API key implicitly scopes every request to your project and business —
    no need to pass IDs in the URL.
  version: 1.0.0
servers:
  - url: https://api.meetecho.ai/v1
    description: Production
security: []
tags:
  - name: Auth
    description: Signup, login, token refresh
  - name: Customers
    description: Manage customers within your project
  - name: Agents
    description: Manage reusable voice agents
  - name: Notifications
    description: Trigger and inspect outbound calls
  - name: API Keys
    description: Create and revoke API keys for your project
  - name: Project
    description: Inspect and configure your project settings
  - name: Webhook Endpoints
    description: >-
      Create and manage webhook endpoints — each with its own URL, event
      subscriptions, and signing secret
  - name: Delivery Logs
    description: >-
      Inspect delivery history, per-attempt details, and manually retry failed
      deliveries
paths:
  /projects/{projectId}/webhooks/{webhookId}:
    patch:
      tags:
        - Webhook Endpoints
      summary: Update webhook endpoint
      description: Update the URL, event subscriptions, or active/disabled status.
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: webhookId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateWebhookEndpointRequest'
            examples:
              disable:
                summary: Disable the endpoint
                value:
                  status: disabled
              change_events:
                summary: Change event subscriptions
                value:
                  events:
                    - call.ended
                    - call.summary
      responses:
        '200':
          description: Updated endpoint
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookEndpoint'
        '404':
          description: Not found
      security:
        - ApiKey: []
        - BearerAuth: []
components:
  schemas:
    UpdateWebhookEndpointRequest:
      type: object
      properties:
        url:
          type: string
          format: uri
          example: https://your-server.com/webhooks/echo
        status:
          type: string
          enum:
            - active
            - disabled
        events:
          type: array
          items:
            type: string
            enum:
              - call.started
              - call.ended
              - call.summary
    WebhookEndpoint:
      type: object
      properties:
        id:
          type: string
          format: uuid
          example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
        project_id:
          type: string
          format: uuid
          example: e56b4c35-882d-4604-9944-9763d314ea59
        url:
          type: string
          example: https://your-server.com/webhooks/echo
        signing_secret:
          type: string
          example: >-
            whsec_a1b2c3d4e5f6789012345678901234567890123456789012345678901234abcd
        status:
          type: string
          enum:
            - active
            - disabled
          example: active
        events:
          type: array
          items:
            type: string
            enum:
              - call.started
              - call.ended
              - call.summary
          example:
            - call.started
            - call.ended
            - call.summary
        consecutive_failures:
          type: integer
          example: 0
        created_at:
          type: string
          format: date-time
          example: '2026-04-12T15:51:59.499Z'
        updated_at:
          type: string
          format: date-time
          example: '2026-04-12T15:51:59.499Z'
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: 'Echo API key — format: `echo_<64 hex chars>`. Returned once on signup.'
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT refresh token. Use the refresh_token from login/signup.

````