---
title: "Unsubscribe from webhook"
method: DELETE
path: "/webhooks/unsubscribe"
tags: ["webhooks"]
---

# Unsubscribe from webhook

`DELETE /webhooks/unsubscribe`

This endpoint allows you to unsubscribe from a previously subscribed webhook event. Provide the event type and the callback URL to unsubscribe.

## Request body

- object
  - `type` 'NEW_RESPONSE' | 'PHONE_TRANSFER' | 'FOLDER_NEW_RESPONSE' | 'FOLDER_PHONE_TRANSFER' | 'ACTION_FAILED', required — The type of webhook event you want to unsubscribe from.
  - `data` string — Optional data that was associated with the subscription.
  - `url` string, required — The callback URL where the webhook was sending events.

## Response `200`

Successful response

- GenericResponse — The generic response format for all API requests. This structure ensures consistency in how success and error information is returned to the caller.
  - `error` object, nullable — An object containing error details, if any. This field will be populated if the API request fails or encounters an error. If the request is successful, this field will be null or omitted.
  - `data` object, required — Contains the response data for the successful request. This field will vary based on the specific API endpoint being called and contains the main data returned from the API. For example, it may include information about a created contact, agent, or webhook subscription.

---

[API](https://skmtc.dev/thoughtly/apis/thoughtly-api.md) · [All operations](https://skmtc.dev/thoughtly/apis/thoughtly-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/thoughtly/thoughtly-api/revisions/75a10c67731a/schema)
