Skip to main content
POST

Authorizations

x-api-key
string
header
required

Body

application/json
name
string
required

Descriptive name for the webhook

Required string length: 1 - 255
url
string<uri>
required

Webhook URL (must be valid and not a private IP)

events
enum<string>[]
required

Array of event types to subscribe to

Minimum array length: 1
Available options:
CONNECTION_REQUEST_SENT,
CONNECTION_REQUEST_ACCEPTED,
LINKEDIN_MESSAGE_SENT,
EMAIL_SENT,
INMAIL_SENT,
MESSAGE_REPLIED,
POST_LIKED,
PROFILE_VISITED
secret
string

Optional secret for webhook authentication (8-256 characters)

Required string length: 8 - 256
campaignIds
number[]

Optional array of campaign IDs to filter events (empty = all campaigns)

customFields
string[]

Optional array of additional contact/company fields to include in webhook payloads. Use GET /v1/contacts/fields (MCP tool get_contact_field_metadata) and GET /v1/companies/fields (MCP tool get_company_field_metadata) to discover valid field names.

enabled
boolean
default:true

Whether the webhook is enabled

Response

Webhook created successfully

status
enum<string>
required
Available options:
success
message
string
required
data
object
required