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

# Unsubscribe from Webhook

> Unsubscribe from a webhook to stop receiving notifications

## Overview

Unsubscribe from a webhook to stop receiving notifications for a specific event type. You must provide the same URL and event type used when subscribing.

## Important Notes

* The `url` and `type` must match exactly with the subscription
* After unsubscribing, you will no longer receive notifications for that event type
* You can resubscribe at any time using the subscribe endpoint


## OpenAPI

````yaml DELETE /v1/hooks/unsubscribe
openapi: 3.1.0
info:
  title: WaLead API
  description: >-
    WaLead Public API for managing LinkedIn outreach campaigns, leads, and
    analytics
  version: 1.0.0
  contact:
    name: WaLead Support
    url: https://walead.ai
servers:
  - url: https://app-api.walead.ai/api
    description: Production server
security:
  - apiKeyAuth: []
paths:
  /v1/hooks/unsubscribe:
    delete:
      summary: Unsubscribe from Webhook
      description: Unsubscribe from a webhook to stop receiving notifications
      requestBody:
        description: Webhook unsubscription details
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UnsubscribeWebhook'
        required: true
      responses:
        '200':
          description: Webhook unsubscribed successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Webhook unsubscribed successfully
        '401':
          description: Unauthorized - Invalid API Key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Webhook not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    UnsubscribeWebhook:
      type: object
      required:
        - url
        - type
      properties:
        url:
          type: string
          format: uri
          description: Webhook URL to unsubscribe
        type:
          type: string
          enum:
            - lead_tagged_interested
            - lead_meeting_booked
            - lead_status_matched
            - lead_status_discarded
            - campaign_completed
            - message_received
            - linkedin_account_disconnected
            - connection_request_accepted
            - campaign_without_leads
          description: Type of event to unsubscribe from
    Error:
      type: object
      required:
        - statusCode
        - message
      properties:
        statusCode:
          type: integer
          description: HTTP status code
        message:
          type: string
          description: Error message
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication. Generate from your WaLead dashboard.

````