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

# Delete Zapier Webhook

> Deletes an existing Zapier webhook URL from the workspace

## Overview

This endpoint removes a previously registered Zapier webhook URL from your workspace. Caret will stop sending notifications to this URL immediately.

This is used by Zapier to clean up webhooks when a Zap is turned off or deleted.

## Authentication

All API requests must use `Authorization: Bearer <API_KEY>`.

<ParamField header="Authorization" type="string" required>
  Bearer token. Format: `Bearer <API_KEY>`.
</ParamField>

## Body

<ParamField body="hookUrl" type="string" required>
  The webhook URL to be removed. Must be a valid URL starting with `https://`.
</ParamField>

## Response

<ResponseField name="status" type="string">
  Indicates the result of the operation. Always `success` if the request was
  processed.
</ResponseField>

<RequestExample>
  ```bash curl theme={null}

  curl -X DELETE "https://api.caret.so/v1/integrations/zapier/webhook" \
       -H "Authorization: Bearer your_api_key_here" \
       -H "Content-Type: application/json" \
       -d '{
         "hookUrl": "https://hooks.zapier.com/hooks/catch/123456/abcde/"
       }'
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://api.caret.so/v1/integrations/zapier/webhook',
    {
      method: 'DELETE',
      headers: {
        Authorization: 'Bearer your_api_key_here',
        'Content-Type': 'application/json',
      },
      body: JSON.stringify({
        hookUrl: 'https://hooks.zapier.com/hooks/catch/123456/abcde/',
      }),
    },
  );

  const data = await response.json();
  console.log(data);
  ```

  ```python Python theme={null}
  import requests

  url = "https://api.caret.so/v1/integrations/zapier/webhook"
  headers = {
      "Authorization": "Bearer your_api_key_here",
      "Content-Type": "application/json"
  }
  data = {
      "hookUrl": "https://hooks.zapier.com/hooks/catch/123456/abcde/"
  }

  response = requests.delete(url, headers=headers, json=data)
  print(response.json())
  ```
</RequestExample>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "status": "success"
  }
  ```
</ResponseExample>
