• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

  • Important: Any reported problems and issues with your integration will be reported to you and we will encourage the app developers help to resolve those integration issues.

How to delete post Webhook URLs.

Status
Not open for further replies.
The "Delete Webhook" feature is a built-in action designed to provide developers with the capability to remove webhook functionalities from their applications if supported. This feature offers a straightforward and efficient way to disable webhook URLs and cease receiving trigger events from specific sources.​

How It Works

Upon activation, the "Delete Webhook" feature automatically eliminates the configured webhook URL associated with your application. This action effectively disables the webhook functionality, preventing any further trigger events from reaching the specified webhook URL.

The process of deleting a webhook typically involves sending a request to the webhook provider's API, directing it to remove the webhook endpoint from its system. This ensures that the webhook URL is no longer active and will not receive any future notifications or trigger events.

Implementation in Pabbly Connect

To set up the "Delete Webhook feature in Pabbly Connect, follow these steps -
  1. Select Delete Webhook from the Inbuilt Action Type list.
  2. Configure the Delete Webhook API cuRL request in the inbuilt endpoint.
  3. Map the webhook ID received from the Create Webhook response to the webhook ID required for deletion.

For instance, consider using ClickUp integration as an example to understand how to set up this feature in Pabbly Connect -

If the response of the create webhook API endpoint is as follows:
JSON:
{
  "id": "4b67ac88-e506-4a29-9d42-26e504e3435e",
  "webhook": {
    "id": "4b67ac88-e506-4a29-9d42-26e504e3435e",
    "userid": 183,
    "team_id": 108,
    "endpoint": "https://yourdomain.com/webhook",
    "client_id": "QVOQP06ZXC6CMGVFKB0ZT7J9Y7APOYGO",
    "events": [
      "taskCreated"
    ],
    "task_id": null,
    "list_id": null,
    "folder_id": null,
    "space_id": null,
    "health": {
      "status": "active",
      "fail_count": 0
    },
    "secret": "O94IM25S7PXBPYTMNXLLET230SRP0S89COR7B1YOJ2ZIE8WQNK5UUKEF26W0Z5GA"
  }
}


The subsequent step for deleting the webhook via POST request is as follows:
Code:
curl -i -X DELETE \
  'https://api.clickup.com/api/v2/webhook/{webhook_id}' \
  -H 'Authorization: YOUR_API_KEY_HERE'
  1. Select Delete Webhook from the Inbuilt Action Type list.

    1709273006480.png


  2. Configure the Delete Webhook API cuRL request in the inbuilt endpoint.

    1709273120932.png


  3. Map the webhook ID received from the create a webhook response to the webhook ID required for deletion.

    1709272644966.png

Example​

For instance, in the MailerLite application, if the Create Webhook Response is as follows -

JSON:
{
  "data": {
    "id": "68074372004316503",
    "name": "Tenetur delectus eum fugiat.",
    "url": "http://www.cartwright.info/eligendi-soluta-corporis-in-quod-ullam",
    "events": [
      "subscriber.bounced"
    ],
    "enabled": true,
    "secret": "4jQ3Y4UlLI",
    "created_at": "2022-10-04 21:59:40",
    "updated_at": "2022-10-04 21:59:40"
  }
}


The subsequent step for deleting the webhook via POST request is as follows:
Code:
curl --location --request DELETE "https://connect.mailerlite.com/api/webhooks/{{webhook_id}}" \
--header "Authorization: Bearer YOUR_BEARER_TOKEN_HERE"
  1. Select Delete Webhook from the Inbuilt Action Type list.

    1709273006480.png


  2. Configure the Delete Webhook API cuRL request in the inbuilt endpoint.

    1709360819274.png


  3. Map the webhook ID received from the create a webhook response to the webhook ID required for deletion.

    1709360834592.png
Note: You can map any key by separating it with ==> as demonstrated.

The webhook deletion functionality will be automatically executed under two specific scenarios:​

  1. When you switch from one selected post webhook based trigger application to some other webhook based, email parser based, RSS based or any other trigger application. The delete webhook will be automatically triggered during either the click on the "Capture Response" button (incase of webhook based trigger application) or while clicking the "Save & Send Test Request" button incase of poll based or another post webhook based application.

  2. When switching between different post webhook triggers within the same application, such as within ClickUp, MailerLite, etc. The delete webhook functionality will automatically be recognized and processed accordingly.
 

Attachments

  • 1709271865968.png
    1709271865968.png
    65.3 KB · Views: 174
  • 1709271888366.png
    1709271888366.png
    54.1 KB · Views: 158
  • 1709271901647.png
    1709271901647.png
    32.8 KB · Views: 160
  • 1709272592387.png
    1709272592387.png
    33.4 KB · Views: 157
Last edited by a moderator:
Status
Not open for further replies.
Top