Skip to main content
PUT
Set the webhook (legacy)

Authorizations

Authorization
string
header
required

An Intent Leads API key, e.g. il_live_ followed by 32 letters and digits. Create one on the API and CLI page of the dashboard.

Headers

Intent-Leads-Workspace
string<uuid>

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.

Body

application/json
url
string<uri>
required
rotate_secret
boolean

Response

The webhook, plus the secret when it's new.

webhook
object
required
secret
string
required
secret_note
string
required