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

# Delete Webhook

> Remove a registered webhook. Use `GET /get-webhooks` first to find the `id`.

## Basic Usage

Use `GET /get-webhooks` first to find the webhook `id`.

```bash theme={null}
curl -X DELETE "https://api.flowiq.live/set-webhooks" \
  -H "Authorization: Bearer fiq_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id": "0df9d480-f181-466b-ae8d-85216c16e8dd"}'
```

***

## Request Body

| Field | Required | Description                   |
| ----- | -------- | ----------------------------- |
| `id`  | Yes      | UUID of the webhook to delete |

```json theme={null}
{
  "id": "0df9d480-f181-466b-ae8d-85216c16e8dd"
}
```

***

## Response

```json theme={null}
{
  "success": true,
  "message": "Webhook deleted successfully"
}
```


## OpenAPI

````yaml DELETE /set-webhooks
openapi: 3.1.0
info:
  title: FlowIQ Conversations API
  version: 1.0.0
  description: >-
    Complete WhatsApp Conversations API for retrieving messages, contacts, and
    conversation history.


    ## Authentication

    All endpoints require a Bearer token in the header:

    ```

    Authorization: Bearer YOUR_BEARER_TOKEN

    ```


    ## Example API Call

    ```bash

    curl -X GET
    "https://api.flowiq.live/conversations?whatsappNumber=27123456789&limit=10"
    \
      -H "Authorization: Bearer YOUR_BEARER_TOKEN"
    ```


    **Response:**

    ```json

    {
      "success": true,
      "messages": [...],
      "pagination": {
        "currentPage": 1,
        "totalPages": 5,
        "hasNextPage": true
      },
      "count": 10
    }

    ```
  contact:
    name: FlowIQ Support
    email: dev@flowapt.com
servers:
  - url: https://api.flowiq.live
    description: FlowIQ Production API
security:
  - BearerAuth: []
tags:
  - name: Endpoints
    description: Conversation and contact management API endpoints
  - name: Webhooks
    description: Webhook registration and management
paths:
  /set-webhooks:
    delete:
      tags:
        - Webhooks
      summary: Delete Webhook
      description: >-
        Remove a registered webhook. Use `GET /get-webhooks` first to find the
        `id`.
      operationId: deleteWebhook
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - id
              properties:
                id:
                  type: string
                  format: uuid
                  description: UUID of the webhook to delete
                  example: 0df9d480-f181-466b-ae8d-85216c16e8dd
      responses:
        '200':
          description: Webhook deleted successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
              example:
                success: true
                message: Webhook deleted successfully
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'Bearer token for authentication. Format: `Bearer YOUR_BEARER_TOKEN`'
      bearerFormat: JWT

````