This webhook is triggered when subscribed conversation events occur. You can create webhook subscriptions via the /v1/webhooks endpoint to receive these events.
Available Event Types:
CONNECTION_REQUEST_SENT: Triggered when a LinkedIn connection request is sentCONNECTION_REQUEST_ACCEPTED: Triggered when a contact accepts a connection requestLINKEDIN_MESSAGE_SENT: Triggered when a LinkedIn message is sentEMAIL_SENT: Triggered when an email is sentINMAIL_SENT: Triggered when a LinkedIn InMail is sentMESSAGE_REPLIED: Triggered when a contact replies to any messageWebhook Authentication:
If you provide a secret when creating your webhook subscription, it will be included in the request headers as X-Webhook-Secret. You can use this to verify that the webhook is coming from Genesy.
Campaign Filtering:
When creating a webhook, you can specify campaignIds to only receive events from specific campaigns. If not specified or empty, you’ll receive events from all campaigns.
Custom Fields:
You can specify additional contact/company fields to include in the webhook payload via the customFields parameter when creating the webhook.
Retry Logic:
Example webhook creation:
{
"url": "https://your-domain.com/webhooks/genesy",
"secret": "your-secret-key",
"events": ["MESSAGE_REPLIED", "EMAIL_SENT"],
"campaignIds": [123, 456],
"customFields": ["mobilePhone", "leadCountry"]
}