Skip to main content
DELETE
/
hooks
/
{hookId}
Delete Webhook
curl --request DELETE \
  --url https://api.lemlist.com/api/hooks/{hookId} \
  --header 'Authorization: Basic <encoded-value>'
{
  "_id": "hoo_orQP33YrZgeKkswJK",
  "targetUrl": "https://n8n.bvelitchkine.com/webhook/lemlist-webhook-surprise",
  "createdAt": "2024-07-11T13:55:06.276Z",
  "type": "linkedinInterested",
  "campaignId": "cam_A1B2C3D4E5F6G7H8I9"
}
This endpoint uses the Webhook object.
This endpoint deletes a webhook.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

hookId
string
required

Unique webhook ID

Response

Success

_id
string

Unique identifier for the webhook

targetUrl
string

The URL where the webhook will send data

createdAt
string<date-time>

Timestamp when the webhook was created

type
string

Type of webhook event

campaignId
string

Associated campaign ID, if applicable