List event types
curl --request GET \
--url https://intentleads.si/api/v1/webhooks/events \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://intentleads.si/api/v1/webhooks/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://intentleads.si/api/v1/webhooks/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"events": [
{
"id": "removals",
"label": "Removal requests",
"description": "People you exported who asked to be removed. Delete them within 10 business days.",
"batch_size": 500
},
{
"id": "visitors",
"label": "Website visitors",
"description": "People identified on your websites, with every lead field plus their LinkedIn photo and current profile.",
"batch_size": 100
}
],
"all": "*"
}{
"error": "unauthorized",
"message": "Send a valid API key as: Authorization: Bearer il_live_…"
}{
"error": "internal_error",
"message": "Something went wrong. Try again."
}List event types
Every event type an endpoint can receive. Use the ids in events, or * for all of them (including types added later).
Free. This doesn’t spend your balance.
GET
/
api
/
v1
/
webhooks
/
events
List event types
curl --request GET \
--url https://intentleads.si/api/v1/webhooks/events \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://intentleads.si/api/v1/webhooks/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://intentleads.si/api/v1/webhooks/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"events": [
{
"id": "removals",
"label": "Removal requests",
"description": "People you exported who asked to be removed. Delete them within 10 business days.",
"batch_size": 500
},
{
"id": "visitors",
"label": "Website visitors",
"description": "People identified on your websites, with every lead field plus their LinkedIn photo and current profile.",
"batch_size": 100
}
],
"all": "*"
}{
"error": "unauthorized",
"message": "Send a valid API key as: Authorization: Bearer il_live_…"
}{
"error": "internal_error",
"message": "Something went wrong. Try again."
}Authorizations
Headers
Only with an organization key: the workspace to act in (its id; ?workspace=<id> works too). Lanes, leads, exports, lists, websites and webhooks live in workspaces. Without it, an organization key acts in its only workspace, or gets 400 workspace_required (with the list of workspaces) when it has several. Workspace keys don't need it. On keys, team and activity it switches from the organization's own to that workspace's.