Skip to main content
GET
/
hooks
Get Many Webhooks
curl --request GET \
  --url https://api.lemlist.com/api/hooks \
  --header 'Authorization: Basic <encoded-value>'
[
  {
    "_id": "hoo_7bNbHKmFcpDiNACg6",
    "targetUrl": "https://hooks.zapier.com/hooks/standard/{accountId}/{webhookId}/",
    "createdAt": "2018-06-05T09:07:07.761Z",
    "zapId": 37709957,
    "type": "emailsReplied",
    "campaignId": "cam_TgyErJgFcvAebRsE6",
    "isFirst": true
  },
  {
    "_id": "hoo_agftPLA7RovPXuvet",
    "targetUrl": "https://hooks.zapier.com/hooks/standard/{accountId}/{webhookId}/",
    "createdAt": "2019-06-05T14:38:56.535Z",
    "zapId": 59825555,
    "type": "emailsReplied",
    "campaignId": "cam_J2M3P9Z8wKFKRWeeE"
  },
  {
    "_id": "hoo_PN8TP9Ny9qEJRytrm",
    "targetUrl": "https://hooks.zapier.com/hooks/standard/{accountId}/{webhookId}/",
    "createdAt": "2019-06-05T15:49:36.624Z",
    "zapId": 59831776,
    "type": "emailsReplied",
    "campaignId": "cam_fdyDRgEwMiCJnj5Sx",
    "isFirst": true
  },
  {
    "_id": "hoo_G9kFf7syYHJiCZTu7",
    "targetUrl": "https://hooks.zapier.com/hooks/standard/{accountId}/{webhookId}/",
    "createdAt": "2019-06-05T19:28:49.130Z",
    "zapId": 59852716,
    "type": "emailsReplied",
    "campaignId": "cam_CfqoHNx2c6WfbZnY6",
    "isFirst": true
  },
  {
    "_id": "hoo_YJ7A6yAZvtAMXWBou",
    "targetUrl": "https://hooks.zapier.com/hooks/standard/{accountId}/{webhookId}/",
    "createdAt": "2019-10-15T09:53:50.839Z",
    "zapId": 47004696,
    "type": "emailsOpened",
    "campaignId": "cam_a34tYDyt8qootnhFT"
  },
  {
    "_id": "hoo_Y3KPKKNYoKJE3NT45",
    "targetUrl": "https://hooks.zapier.com/hooks/standard/{accountId}/{webhookId}/",
    "createdAt": "2019-10-15T09:56:24.197Z",
    "zapId": 47004696,
    "type": "emailsOpened",
    "campaignId": "cam_a34tYDyt8qootnhFT"
  },
  {
    "_id": "hoo_N3xFk92zZ8MNkcJBw",
    "targetUrl": "https://hooks.zapier.com/hooks/standard/{accountId}/{webhookId}/",
    "createdAt": "2020-04-27T14:04:33.424Z",
    "zapId": 85466371,
    "type": "emailsReplied",
    "campaignId": "cam_v4Rr87ixxAtqStEPJ"
  },
  {
    "_id": "hoo_7oNJxuvJubxPyLN5E",
    "targetUrl": "https://hooks.zapier.com/hooks/standard/{accountId}/{webhookId}/",
    "createdAt": "2020-04-27T14:06:38.375Z",
    "zapId": 85466371,
    "type": "emailsReplied",
    "campaignId": "cam_v4Rr87ixxAtqStEPJ"
  },
  {
    "_id": "hoo_GXALX6diEW5bovH7e",
    "targetUrl": "https://example.com/webhooks/{id}",
    "createdAt": "2022-02-10T16:45:28.216Z",
    "campaignId": "cam_i6Cy2zKTw5LZpu6K5"
  }
]
This endpoint uses the Webhook object.

Authorizations

Authorization
string
header
required

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

Response

Success

_id
string

Unique webhook identifier

targetUrl
string<uri>

Destination URL for event notifications

type
enum<string>

Event type to listen for

Available options:
contacted,
hooked,
attracted,
warmed,
interested,
skipped,
notInterested,
emailsSent,
emailsOpened,
emailsClicked,
emailsReplied,
emailsBounced,
emailsSendFailed,
emailsFailed,
emailsUnsubscribed,
emailsInterested,
emailsNotInterested,
opportunitiesDone,
aircallCreated,
aircallEnded,
aircallDone,
aircallInterested,
aircallNotInterested,
apiDone,
apiInterested,
apiNotInterested,
apiFailed,
linkedinVisitDone,
linkedinVisitFailed,
linkedinInviteDone,
linkedinInviteFailed,
linkedinInviteAccepted,
linkedinReplied,
linkedinSent,
linkedinVoiceNoteDone,
linkedinVoiceNoteFailed,
linkedinInterested,
linkedinNotInterested,
linkedinSendFailed,
manualInterested,
manualNotInterested,
paused,
resumed,
customDomainErrors,
connectionIssue,
sendLimitReached,
lemwarmPaused,
campaignComplete,
annotated,
enrichmentDone,
enrichmentError,
callRecordingDone,
callTranscriptDone
campaignId
string

The ID of the campaign the webhook is associated with (if any)

createdAt
string<date-time>

Creation timestamp

zapId
integer

Zapier integration ID (if the destination is a Zapier webhook)