Create a new webhook that fires on the specified event. Optionally add filters to narrow which contacts trigger the webhook.
Event that triggers the webhook.
Sender-profile actions (something was sent): sender_profile_sent_email, sender_profile_sent_linkedin_message, sender_profile_sent_linkedin_connection_request, sender_profile_sent_linkedin_inmail.
Contact events: contact_accepted_linkedin_connection_request, contact_replied_email, contact_replied_linkedin_message, contact_replied_linkedin_inmail, contact_opened_email, contact_clicked_email, contact_unsubscribed_email, email_bounced, contact_enriched, contact_exported, contact_created, contact_updated, contact_deleted, contact_tag_added, contact_pipeline_stage_changed.
See the webhook-payload schema for the body delivered to your target_url.
HTTP method for the outgoing request.
URL that will receive the webhook payload.
Optional filter object to narrow which contacts trigger the webhook. Uses a tree-based filter format with jsonLogic and filter_tree_format keys.
curl -i -X POST \
https://leadgen.grinfi.io/integrations/api/webhooks \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "New Reply Handler",
"event": "contact_replied_linkedin_message",
"request_method": "POST",
"target_url": "https://hook.eu2.make.com/abc123",
"status": "on"
}'Webhook created.
Event that triggers the webhook. Supported events: contact_replied_email, contact_replied_linkedin_message, contact_exported, contact_enriched.
Optional filter criteria to narrow which contacts trigger the webhook. Uses jsonLogic, elasticQuery, and filter_tree_format keys.
{ "uuid": "b27f3cfc-84a0-4fb8-956b-91d032f9c523", "team_id": 0, "user_id": 0, "name": "New Reply Handler", "event": "contact_replied_linkedin_message", "request_method": "POST", "target_url": "https://hook.eu2.make.com/abc123", "filters": {}, "status": "on", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }