DitLead

Webhooks

DitLead sends an HTTP POST to each matching workspace endpoint when it processes a subscribed event. Use webhooks to update a CRM on a reply or add unsubscribed contacts to a suppression list.

Browse webhook events

Request format

DitLead sends each delivery as a JSON POST to the saved endpoint. Use REST API v1 at /v1/webhook to manage subscriptions programmatically.

JSON body

eventType
Stable event key, such as campaign.errored or campaign.paused. Use this field to route an event.
eventTypeName
Display label from Settings, such as Campaign errored or Campaign paused.
version
Numeric webhook version in the version 3 payload. The value is 2. In a version 1 payload, the top-level version describes the campaign record when present. A nested contact.version describes the contact record.
payloadVersion
Numeric payload format for this delivery. The value is 1, 2, or 3. Use it to choose a parser.

Payload versions

  • Version 3 includes the public campaignId when available and adds version: 2 to the webhook body. This is the default when creating a webhook in Settings.
  • Version 2 includes the public campaignId when available and uses payloadVersion: 2.
  • Version 1 includes campaign fields such as the name, sending schedule, status, and counters from the stored record. Older subscriptions and subscriptions created through REST API v1 use this version by default.

All payload versions include contact when contact data is available. campaignId and contact.contactId are public IDs. The three event metadata fields are present even when the campaign or contact record is unavailable. The JSON body omits the original email message ID, reply text, bounce reason, and per-action timestamp.

To switch versions, update your receiver to handle the new format, then open Settings → Webhooks → Edit and change Payload format. Check the first delivery after switching. If a delivery has already been attempted, its retry uses the version selected on the first attempt.

HTTP headers

Content-Type
application/json
X-Ditlead-Event
Same key as eventType. Older deliveries may have the event key only in this header.
X-Ditlead-Delivery-Id
Identifies a delivery. Use this value to recognize retries.
X-Ditlead-Payload-Version
String form of payloadVersion. Treat older deliveries without version metadata as version 1.

Webhook events

Frequency describes when DitLead creates an event. A delivery retry can send that same event again. For one downstream action per contact or campaign, include the relevant record ID in your own deduplication rule.

Each event has a complete JSON example for all three payload versions. The examples use isolated test campaigns and contacts. See the frequency notes for events whose automatic triggers are unverified.

Email

email.failed

Email send failed

When it fires
The connected email sender records a final failure or an error it considers non-retryable.
Frequency
Per failed send. An intermediate retryable attempt does not trigger this event. A different message or follow-up to the same contact can trigger it again.
Version 3 JSON payload
{
  "eventType": "email.failed",
  "eventTypeName": "Email send failed",
  "version": 2,
  "payloadVersion": 3,
  "campaignId": "example-campaign-01",
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 2 JSON payload
{
  "eventType": "email.failed",
  "eventTypeName": "Email send failed",
  "payloadVersion": 2,
  "campaignId": "example-campaign-01",
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 1 JSON payload
{
  "eventType": "email.failed",
  "eventTypeName": "Email send failed",
  "payloadVersion": 1,
  "version": "v1",
  "campaignId": "example-campaign-01",
  "organizationId": "507f1f77bcf86cd799439011",
  "campaignName": "Webhook docs test campaign",
  "campaignTimezone": "Africa/Lagos",
  "campaignStatus": {
    "isActive": true,
    "status": "running",
    "statusComments": "actively running"
  },
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  },
  "campaignSteps": 1,
  "endTime": {},
  "numberOfCompletedCampaign": 0,
  "numberOfOpens": 2,
  "numberOfReplies": 1,
  "numberOfSendError": 0,
  "numberOfSent": 3,
  "numberOfUnsubscribe": 0,
  "sendingDays": [
    {
      "day": "Monday",
      "enabled": true,
      "period": {
        "end": "17:00",
        "start": "09:00"
      }
    }
  ],
  "startTime": {},
  "totalNumberOfBounce": 0,
  "totalNumberOfContacted": 1,
  "totalNumberOfOpens": 2,
  "totalNumberOfProspect": 1,
  "totalNumberVideoView": 0,
  "totalProspectNotOnList": 0,
  "useCustomStartEndTime": false
}

email.bounced

Email bounced

When it fires
DitLead matches a bounce to an outgoing campaign email.
Frequency
Once per original email message in the matching campaign mail log. A different email to the same contact can bounce separately.
Version 3 JSON payload
{
  "eventType": "email.bounced",
  "eventTypeName": "Email bounced",
  "version": 2,
  "payloadVersion": 3,
  "campaignId": "example-campaign-01",
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 2 JSON payload
{
  "eventType": "email.bounced",
  "eventTypeName": "Email bounced",
  "payloadVersion": 2,
  "campaignId": "example-campaign-01",
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 1 JSON payload
{
  "eventType": "email.bounced",
  "eventTypeName": "Email bounced",
  "payloadVersion": 1,
  "version": "v1",
  "campaignId": "example-campaign-01",
  "organizationId": "507f1f77bcf86cd799439011",
  "campaignName": "Webhook docs test campaign",
  "campaignTimezone": "Africa/Lagos",
  "campaignStatus": {
    "isActive": true,
    "status": "running",
    "statusComments": "actively running"
  },
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  },
  "campaignSteps": 1,
  "endTime": {},
  "numberOfCompletedCampaign": 0,
  "numberOfOpens": 2,
  "numberOfReplies": 1,
  "numberOfSendError": 0,
  "numberOfSent": 3,
  "numberOfUnsubscribe": 0,
  "sendingDays": [
    {
      "day": "Monday",
      "enabled": true,
      "period": {
        "end": "17:00",
        "start": "09:00"
      }
    }
  ],
  "startTime": {},
  "totalNumberOfBounce": 0,
  "totalNumberOfContacted": 1,
  "totalNumberOfOpens": 2,
  "totalNumberOfProspect": 1,
  "totalNumberVideoView": 0,
  "totalProspectNotOnList": 0,
  "useCustomStartEndTime": false
}

email.opened

Email opened

When it fires
DitLead records a tracked open. The campaign needs open tracking and the receiver needs to load the tracking image.
Frequency
Normally the first recorded tracked open per contact per campaign. Later opens, including opens of follow-ups in the same campaign, update metrics without another event. A first open in another campaign can trigger it. Simultaneous tracking requests can both pass the first-open check.
Version 3 JSON payload
{
  "eventType": "email.opened",
  "eventTypeName": "Email opened",
  "version": 2,
  "payloadVersion": 3,
  "campaignId": "example-campaign-01",
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 2 JSON payload
{
  "eventType": "email.opened",
  "eventTypeName": "Email opened",
  "payloadVersion": 2,
  "campaignId": "example-campaign-01",
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 1 JSON payload
{
  "eventType": "email.opened",
  "eventTypeName": "Email opened",
  "payloadVersion": 1,
  "version": "v1",
  "campaignId": "example-campaign-01",
  "organizationId": "507f1f77bcf86cd799439011",
  "campaignName": "Webhook docs test campaign",
  "campaignTimezone": "Africa/Lagos",
  "campaignStatus": {
    "isActive": true,
    "status": "running",
    "statusComments": "actively running"
  },
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  },
  "campaignSteps": 1,
  "endTime": {},
  "numberOfCompletedCampaign": 0,
  "numberOfOpens": 2,
  "numberOfReplies": 1,
  "numberOfSendError": 0,
  "numberOfSent": 3,
  "numberOfUnsubscribe": 0,
  "sendingDays": [
    {
      "day": "Monday",
      "enabled": true,
      "period": {
        "end": "17:00",
        "start": "09:00"
      }
    }
  ],
  "startTime": {},
  "totalNumberOfBounce": 0,
  "totalNumberOfContacted": 1,
  "totalNumberOfOpens": 2,
  "totalNumberOfProspect": 1,
  "totalNumberVideoView": 0,
  "totalProspectNotOnList": 0,
  "useCustomStartEndTime": false
}

Contacts

contact.replied

Contact replied

When it fires
DitLead matches an incoming reply to an outgoing campaign email.
Frequency
Once per original email message in the matching campaign mail log. More replies to the same original message are suppressed. A reply to a different follow-up can trigger it again.
Version 3 JSON payload
{
  "eventType": "contact.replied",
  "eventTypeName": "Contact replied",
  "version": 2,
  "payloadVersion": 3,
  "campaignId": "example-campaign-01",
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 2 JSON payload
{
  "eventType": "contact.replied",
  "eventTypeName": "Contact replied",
  "payloadVersion": 2,
  "campaignId": "example-campaign-01",
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 1 JSON payload
{
  "eventType": "contact.replied",
  "eventTypeName": "Contact replied",
  "payloadVersion": 1,
  "version": "v1",
  "campaignId": "example-campaign-01",
  "organizationId": "507f1f77bcf86cd799439011",
  "campaignName": "Webhook docs test campaign",
  "campaignTimezone": "Africa/Lagos",
  "campaignStatus": {
    "isActive": true,
    "status": "running",
    "statusComments": "actively running"
  },
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  },
  "campaignSteps": 1,
  "endTime": {},
  "numberOfCompletedCampaign": 0,
  "numberOfOpens": 2,
  "numberOfReplies": 1,
  "numberOfSendError": 0,
  "numberOfSent": 3,
  "numberOfUnsubscribe": 0,
  "sendingDays": [
    {
      "day": "Monday",
      "enabled": true,
      "period": {
        "end": "17:00",
        "start": "09:00"
      }
    }
  ],
  "startTime": {},
  "totalNumberOfBounce": 0,
  "totalNumberOfContacted": 1,
  "totalNumberOfOpens": 2,
  "totalNumberOfProspect": 1,
  "totalNumberVideoView": 0,
  "totalProspectNotOnList": 0,
  "useCustomStartEndTime": false
}

contact.contacted

Contact contacted

When it fires
The connected email sender marks the contact record as contacted after a successful email send.
Frequency
Once per contact record when it first becomes contacted, across campaigns in that workspace. Later sends to that record, including sends from a different campaign, do not trigger it again.
Version 3 JSON payload
{
  "eventType": "contact.contacted",
  "eventTypeName": "Contact contacted",
  "version": 2,
  "payloadVersion": 3,
  "campaignId": "example-campaign-01",
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 2 JSON payload
{
  "eventType": "contact.contacted",
  "eventTypeName": "Contact contacted",
  "payloadVersion": 2,
  "campaignId": "example-campaign-01",
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 1 JSON payload
{
  "eventType": "contact.contacted",
  "eventTypeName": "Contact contacted",
  "payloadVersion": 1,
  "version": "v1",
  "campaignId": "example-campaign-01",
  "organizationId": "507f1f77bcf86cd799439011",
  "campaignName": "Webhook docs test campaign",
  "campaignTimezone": "Africa/Lagos",
  "campaignStatus": {
    "isActive": true,
    "status": "running",
    "statusComments": "actively running"
  },
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  },
  "campaignSteps": 1,
  "endTime": {},
  "numberOfCompletedCampaign": 0,
  "numberOfOpens": 2,
  "numberOfReplies": 1,
  "numberOfSendError": 0,
  "numberOfSent": 3,
  "numberOfUnsubscribe": 0,
  "sendingDays": [
    {
      "day": "Monday",
      "enabled": true,
      "period": {
        "end": "17:00",
        "start": "09:00"
      }
    }
  ],
  "startTime": {},
  "totalNumberOfBounce": 0,
  "totalNumberOfContacted": 1,
  "totalNumberOfOpens": 2,
  "totalNumberOfProspect": 1,
  "totalNumberVideoView": 0,
  "totalProspectNotOnList": 0,
  "useCustomStartEndTime": false
}

contact.started_campaign

Contact started campaign

When it fires
The campaign start workflow enrolls a contact and checks its prior campaign-entry history.
Frequency
Normally once per contact per campaign during enrollment. The worker skips contacts already in that campaign’s enrollment list or matched in its history. A new campaign can trigger it for the same contact.
Version 3 JSON payload
{
  "eventType": "contact.started_campaign",
  "eventTypeName": "Contact started campaign",
  "version": 2,
  "payloadVersion": 3,
  "campaignId": "example-campaign-01",
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 2 JSON payload
{
  "eventType": "contact.started_campaign",
  "eventTypeName": "Contact started campaign",
  "payloadVersion": 2,
  "campaignId": "example-campaign-01",
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 1 JSON payload
{
  "eventType": "contact.started_campaign",
  "eventTypeName": "Contact started campaign",
  "payloadVersion": 1,
  "version": "v1",
  "campaignId": "example-campaign-01",
  "organizationId": "507f1f77bcf86cd799439011",
  "campaignName": "Webhook docs test campaign",
  "campaignTimezone": "Africa/Lagos",
  "campaignStatus": {
    "isActive": true,
    "status": "running",
    "statusComments": "actively running"
  },
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  },
  "campaignSteps": 1,
  "endTime": {},
  "numberOfCompletedCampaign": 0,
  "numberOfOpens": 2,
  "numberOfReplies": 1,
  "numberOfSendError": 0,
  "numberOfSent": 3,
  "numberOfUnsubscribe": 0,
  "sendingDays": [
    {
      "day": "Monday",
      "enabled": true,
      "period": {
        "end": "17:00",
        "start": "09:00"
      }
    }
  ],
  "startTime": {},
  "totalNumberOfBounce": 0,
  "totalNumberOfContacted": 1,
  "totalNumberOfOpens": 2,
  "totalNumberOfProspect": 1,
  "totalNumberVideoView": 0,
  "totalProspectNotOnList": 0,
  "useCustomStartEndTime": false
}

contact.restarted_campaign

Contact restarted campaign

When it fires
The restart workflow processes a contact already recognized as having entered that campaign.
Frequency
Per qualifying restart of the same contact in that campaign. The same contact can trigger this again on a later restart.
Version 3 JSON payload
{
  "eventType": "contact.restarted_campaign",
  "eventTypeName": "Contact restarted campaign",
  "version": 2,
  "payloadVersion": 3,
  "campaignId": "example-campaign-01",
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 2 JSON payload
{
  "eventType": "contact.restarted_campaign",
  "eventTypeName": "Contact restarted campaign",
  "payloadVersion": 2,
  "campaignId": "example-campaign-01",
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 1 JSON payload
{
  "eventType": "contact.restarted_campaign",
  "eventTypeName": "Contact restarted campaign",
  "payloadVersion": 1,
  "version": "v1",
  "campaignId": "example-campaign-01",
  "organizationId": "507f1f77bcf86cd799439011",
  "campaignName": "Webhook docs test campaign",
  "campaignTimezone": "Africa/Lagos",
  "campaignStatus": {
    "isActive": true,
    "status": "running",
    "statusComments": "actively running"
  },
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  },
  "campaignSteps": 1,
  "endTime": {},
  "numberOfCompletedCampaign": 0,
  "numberOfOpens": 2,
  "numberOfReplies": 1,
  "numberOfSendError": 0,
  "numberOfSent": 3,
  "numberOfUnsubscribe": 0,
  "sendingDays": [
    {
      "day": "Monday",
      "enabled": true,
      "period": {
        "end": "17:00",
        "start": "09:00"
      }
    }
  ],
  "startTime": {},
  "totalNumberOfBounce": 0,
  "totalNumberOfContacted": 1,
  "totalNumberOfOpens": 2,
  "totalNumberOfProspect": 1,
  "totalNumberVideoView": 0,
  "totalProspectNotOnList": 0,
  "useCustomStartEndTime": false
}

contact.completed_campaign

Contact completed campaign

When it fires
The workflow marks a contact complete after its last step or when it stops processing that contact early.
Frequency
Per recorded contact completion in a campaign. Repeat processing of a completion can emit again. Use contact and campaign IDs if your integration needs one completion action per pair.
Version 3 JSON payload
{
  "eventType": "contact.completed_campaign",
  "eventTypeName": "Contact completed campaign",
  "version": 2,
  "payloadVersion": 3,
  "campaignId": "example-campaign-01",
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 2 JSON payload
{
  "eventType": "contact.completed_campaign",
  "eventTypeName": "Contact completed campaign",
  "payloadVersion": 2,
  "campaignId": "example-campaign-01",
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 1 JSON payload
{
  "eventType": "contact.completed_campaign",
  "eventTypeName": "Contact completed campaign",
  "payloadVersion": 1,
  "version": "v1",
  "campaignId": "example-campaign-01",
  "organizationId": "507f1f77bcf86cd799439011",
  "campaignName": "Webhook docs test campaign",
  "campaignTimezone": "Africa/Lagos",
  "campaignStatus": {
    "isActive": true,
    "status": "running",
    "statusComments": "actively running"
  },
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  },
  "campaignSteps": 1,
  "endTime": {},
  "numberOfCompletedCampaign": 0,
  "numberOfOpens": 2,
  "numberOfReplies": 1,
  "numberOfSendError": 0,
  "numberOfSent": 3,
  "numberOfUnsubscribe": 0,
  "sendingDays": [
    {
      "day": "Monday",
      "enabled": true,
      "period": {
        "end": "17:00",
        "start": "09:00"
      }
    }
  ],
  "startTime": {},
  "totalNumberOfBounce": 0,
  "totalNumberOfContacted": 1,
  "totalNumberOfOpens": 2,
  "totalNumberOfProspect": 1,
  "totalNumberVideoView": 0,
  "totalProspectNotOnList": 0,
  "useCustomStartEndTime": false
}

contact.unsubscribed

Contact unsubscribed

When it fires
DitLead processes an unsubscribe from a tracked campaign email.
Frequency
The connected sender path suppresses repeats for the same contact and campaign step. The managed mailbox path emits on the first unsubscribe recorded for that sent email. A different step or sent email can trigger another event.
Version 3 JSON payload
{
  "eventType": "contact.unsubscribed",
  "eventTypeName": "Contact unsubscribed",
  "version": 2,
  "payloadVersion": 3,
  "campaignId": "example-campaign-01",
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 2 JSON payload
{
  "eventType": "contact.unsubscribed",
  "eventTypeName": "Contact unsubscribed",
  "payloadVersion": 2,
  "campaignId": "example-campaign-01",
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 1 JSON payload
{
  "eventType": "contact.unsubscribed",
  "eventTypeName": "Contact unsubscribed",
  "payloadVersion": 1,
  "version": "v1",
  "campaignId": "example-campaign-01",
  "organizationId": "507f1f77bcf86cd799439011",
  "campaignName": "Webhook docs test campaign",
  "campaignTimezone": "Africa/Lagos",
  "campaignStatus": {
    "isActive": true,
    "status": "running",
    "statusComments": "actively running"
  },
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  },
  "campaignSteps": 1,
  "endTime": {},
  "numberOfCompletedCampaign": 0,
  "numberOfOpens": 2,
  "numberOfReplies": 1,
  "numberOfSendError": 0,
  "numberOfSent": 3,
  "numberOfUnsubscribe": 0,
  "sendingDays": [
    {
      "day": "Monday",
      "enabled": true,
      "period": {
        "end": "17:00",
        "start": "09:00"
      }
    }
  ],
  "startTime": {},
  "totalNumberOfBounce": 0,
  "totalNumberOfContacted": 1,
  "totalNumberOfOpens": 2,
  "totalNumberOfProspect": 1,
  "totalNumberVideoView": 0,
  "totalProspectNotOnList": 0,
  "useCustomStartEndTime": false
}

Campaigns

campaign.scheduled

Campaign scheduled

When it fires
The campaign start workflow prepares a start for an active campaign in Scheduled status.
Frequency
Per start scheduling action through that workflow. A later scheduling run can trigger it again.
Version 3 JSON payload
{
  "eventType": "campaign.scheduled",
  "eventTypeName": "Campaign scheduled",
  "version": 2,
  "payloadVersion": 3,
  "campaignId": "example-campaign-scheduled"
}
Version 2 JSON payload
{
  "eventType": "campaign.scheduled",
  "eventTypeName": "Campaign scheduled",
  "payloadVersion": 2,
  "campaignId": "example-campaign-scheduled"
}
Version 1 JSON payload
{
  "eventType": "campaign.scheduled",
  "eventTypeName": "Campaign scheduled",
  "payloadVersion": 1,
  "version": "v1",
  "campaignId": "example-campaign-scheduled",
  "organizationId": "507f1f77bcf86cd799439011",
  "campaignName": "Webhook docs test campaign",
  "campaignTimezone": "Africa/Lagos",
  "campaignStatus": {
    "isActive": true,
    "status": "scheduled",
    "statusComments": "scheduled for first start"
  },
  "campaignSteps": 1,
  "endTime": {},
  "numberOfCompletedCampaign": 0,
  "numberOfOpens": 2,
  "numberOfReplies": 1,
  "numberOfSendError": 0,
  "numberOfSent": 3,
  "numberOfUnsubscribe": 0,
  "sendingDays": [
    {
      "day": "Monday",
      "enabled": true,
      "period": {
        "end": "17:00",
        "start": "09:00"
      }
    }
  ],
  "startTime": {
    "date": "2026-12-06T00:00:00.000Z",
    "time": "9:00 AM"
  },
  "totalNumberOfBounce": 0,
  "totalNumberOfContacted": 1,
  "totalNumberOfOpens": 2,
  "totalNumberOfProspect": 1,
  "totalNumberVideoView": 0,
  "totalProspectNotOnList": 0,
  "useCustomStartEndTime": true
}

campaign.started

Campaign started

When it fires
The start worker initializes processing for a scheduled campaign.
Frequency
Per campaign start initialization. A later initialization can emit again.
Version 3 JSON payload
{
  "eventType": "campaign.started",
  "eventTypeName": "Campaign started",
  "version": 2,
  "payloadVersion": 3,
  "campaignId": "example-campaign-started"
}
Version 2 JSON payload
{
  "eventType": "campaign.started",
  "eventTypeName": "Campaign started",
  "payloadVersion": 2,
  "campaignId": "example-campaign-started"
}
Version 1 JSON payload
{
  "eventType": "campaign.started",
  "eventTypeName": "Campaign started",
  "payloadVersion": 1,
  "version": "v1",
  "campaignId": "example-campaign-started",
  "organizationId": "507f1f77bcf86cd799439011",
  "campaignName": "Webhook docs test campaign",
  "campaignTimezone": "Africa/Lagos",
  "campaignStatus": {
    "isActive": true,
    "status": "running",
    "statusComments": "actively running"
  },
  "campaignSteps": 1,
  "endTime": {},
  "numberOfCompletedCampaign": 0,
  "numberOfOpens": 2,
  "numberOfReplies": 1,
  "numberOfSendError": 0,
  "numberOfSent": 3,
  "numberOfUnsubscribe": 0,
  "sendingDays": [
    {
      "day": "Monday",
      "enabled": true,
      "period": {
        "end": "17:00",
        "start": "09:00"
      }
    }
  ],
  "startTime": {},
  "totalNumberOfBounce": 0,
  "totalNumberOfContacted": 1,
  "totalNumberOfOpens": 2,
  "totalNumberOfProspect": 1,
  "totalNumberVideoView": 0,
  "totalProspectNotOnList": 0,
  "useCustomStartEndTime": false
}

campaign.paused

Campaign paused

When it fires
The campaign enters a workflow that handles a pause.
Frequency
Per processed pause. A campaign can trigger this again after it resumes and pauses again.
Version 3 JSON payload
{
  "eventType": "campaign.paused",
  "eventTypeName": "Campaign paused",
  "version": 2,
  "payloadVersion": 3,
  "campaignId": "example-campaign-paused"
}
Version 2 JSON payload
{
  "eventType": "campaign.paused",
  "eventTypeName": "Campaign paused",
  "payloadVersion": 2,
  "campaignId": "example-campaign-paused"
}
Version 1 JSON payload
{
  "eventType": "campaign.paused",
  "eventTypeName": "Campaign paused",
  "payloadVersion": 1,
  "version": "v1",
  "campaignId": "example-campaign-paused",
  "organizationId": "507f1f77bcf86cd799439011",
  "campaignName": "Webhook docs test campaign",
  "campaignTimezone": "Africa/Lagos",
  "campaignStatus": {
    "isActive": false,
    "status": "paused",
    "statusComments": "paused by user"
  },
  "campaignSteps": 1,
  "endTime": {},
  "numberOfCompletedCampaign": 0,
  "numberOfOpens": 2,
  "numberOfReplies": 1,
  "numberOfSendError": 0,
  "numberOfSent": 3,
  "numberOfUnsubscribe": 0,
  "sendingDays": [
    {
      "day": "Monday",
      "enabled": true,
      "period": {
        "end": "17:00",
        "start": "09:00"
      }
    }
  ],
  "startTime": {},
  "totalNumberOfBounce": 0,
  "totalNumberOfContacted": 1,
  "totalNumberOfOpens": 2,
  "totalNumberOfProspect": 1,
  "totalNumberVideoView": 0,
  "totalProspectNotOnList": 0,
  "useCustomStartEndTime": false
}

campaign.restarted

Campaign restarted

When it fires
The restart workflow schedules an existing campaign to resume.
Frequency
Per processed restart. A later restart of the same campaign can emit again.
Version 3 JSON payload
{
  "eventType": "campaign.restarted",
  "eventTypeName": "Campaign restarted",
  "version": 2,
  "payloadVersion": 3,
  "campaignId": "example-campaign-restarted"
}
Version 2 JSON payload
{
  "eventType": "campaign.restarted",
  "eventTypeName": "Campaign restarted",
  "payloadVersion": 2,
  "campaignId": "example-campaign-restarted"
}
Version 1 JSON payload
{
  "eventType": "campaign.restarted",
  "eventTypeName": "Campaign restarted",
  "payloadVersion": 1,
  "version": "v1",
  "campaignId": "example-campaign-restarted",
  "organizationId": "507f1f77bcf86cd799439011",
  "campaignName": "Webhook docs test campaign",
  "campaignTimezone": "Africa/Lagos",
  "campaignStatus": {
    "isActive": true,
    "status": "restarting",
    "statusComments": "restarting campaign"
  },
  "campaignSteps": 1,
  "endTime": {},
  "numberOfCompletedCampaign": 0,
  "numberOfOpens": 2,
  "numberOfReplies": 1,
  "numberOfSendError": 0,
  "numberOfSent": 3,
  "numberOfUnsubscribe": 0,
  "sendingDays": [
    {
      "day": "Monday",
      "enabled": true,
      "period": {
        "end": "17:00",
        "start": "09:00"
      }
    }
  ],
  "startTime": {},
  "totalNumberOfBounce": 0,
  "totalNumberOfContacted": 1,
  "totalNumberOfOpens": 2,
  "totalNumberOfProspect": 1,
  "totalNumberVideoView": 0,
  "totalProspectNotOnList": 0,
  "useCustomStartEndTime": false
}

campaign.completed

Campaign completed

When it fires
This option appears in Settings. Use Contact completed campaign for contact-level completion.
Frequency
Automatic emission at whole-campaign completion is unverified. The delivery worker accepted the event key in a controlled queue test.
Version 3 JSON payload
{
  "eventType": "campaign.completed",
  "eventTypeName": "Campaign completed",
  "version": 2,
  "payloadVersion": 3,
  "campaignId": "example-campaign-completed"
}
Version 2 JSON payload
{
  "eventType": "campaign.completed",
  "eventTypeName": "Campaign completed",
  "payloadVersion": 2,
  "campaignId": "example-campaign-completed"
}
Version 1 JSON payload
{
  "eventType": "campaign.completed",
  "eventTypeName": "Campaign completed",
  "payloadVersion": 1,
  "version": "v1",
  "campaignId": "example-campaign-completed",
  "organizationId": "507f1f77bcf86cd799439011",
  "campaignName": "Webhook docs test campaign",
  "campaignTimezone": "Africa/Lagos",
  "campaignStatus": {
    "isActive": false,
    "status": "completed",
    "statusComments": "completed running"
  },
  "campaignSteps": 1,
  "endTime": {},
  "numberOfCompletedCampaign": 0,
  "numberOfOpens": 2,
  "numberOfReplies": 1,
  "numberOfSendError": 0,
  "numberOfSent": 3,
  "numberOfUnsubscribe": 0,
  "sendingDays": [
    {
      "day": "Monday",
      "enabled": true,
      "period": {
        "end": "17:00",
        "start": "09:00"
      }
    }
  ],
  "startTime": {},
  "totalNumberOfBounce": 0,
  "totalNumberOfContacted": 1,
  "totalNumberOfOpens": 2,
  "totalNumberOfProspect": 1,
  "totalNumberVideoView": 0,
  "totalProspectNotOnList": 0,
  "useCustomStartEndTime": false
}

campaign.limit

Campaign reached limit

When it fires
An eligibility check detects a campaign, sender, or workspace sending limit.
Frequency
Can recur when a later eligibility check still finds a limit. Treat this as a notification from the check.
Version 3 JSON payload
{
  "eventType": "campaign.limit",
  "eventTypeName": "Campaign reached limit",
  "version": 2,
  "payloadVersion": 3,
  "campaignId": "example-campaign-limit"
}
Version 2 JSON payload
{
  "eventType": "campaign.limit",
  "eventTypeName": "Campaign reached limit",
  "payloadVersion": 2,
  "campaignId": "example-campaign-limit"
}
Version 1 JSON payload
{
  "eventType": "campaign.limit",
  "eventTypeName": "Campaign reached limit",
  "payloadVersion": 1,
  "version": "v1",
  "campaignId": "example-campaign-limit",
  "organizationId": "507f1f77bcf86cd799439011",
  "campaignName": "Webhook docs test campaign",
  "campaignTimezone": "Africa/Lagos",
  "campaignStatus": {
    "isActive": true,
    "status": "limit",
    "statusComments": "daily email limit reached"
  },
  "campaignSteps": 1,
  "endTime": {},
  "numberOfCompletedCampaign": 0,
  "numberOfOpens": 2,
  "numberOfReplies": 1,
  "numberOfSendError": 0,
  "numberOfSent": 3,
  "numberOfUnsubscribe": 0,
  "sendingDays": [
    {
      "day": "Monday",
      "enabled": true,
      "period": {
        "end": "17:00",
        "start": "09:00"
      }
    }
  ],
  "startTime": {},
  "totalNumberOfBounce": 0,
  "totalNumberOfContacted": 1,
  "totalNumberOfOpens": 2,
  "totalNumberOfProspect": 1,
  "totalNumberVideoView": 0,
  "totalProspectNotOnList": 0,
  "useCustomStartEndTime": false
}

campaign.errored

Campaign errored

When it fires
A campaign start, restart, or step worker records an error, such as an unavailable sender.
Frequency
Per qualifying error report. The same campaign can trigger it again on a later failure or check.
Version 3 JSON payload
{
  "eventType": "campaign.errored",
  "eventTypeName": "Campaign errored",
  "version": 2,
  "payloadVersion": 3,
  "campaignId": "example-campaign-errored"
}
Version 2 JSON payload
{
  "eventType": "campaign.errored",
  "eventTypeName": "Campaign errored",
  "payloadVersion": 2,
  "campaignId": "example-campaign-errored"
}
Version 1 JSON payload
{
  "eventType": "campaign.errored",
  "eventTypeName": "Campaign errored",
  "payloadVersion": 1,
  "version": "v1",
  "campaignId": "example-campaign-errored",
  "organizationId": "507f1f77bcf86cd799439011",
  "campaignName": "Webhook docs test campaign",
  "campaignTimezone": "Africa/Lagos",
  "campaignStatus": {
    "isActive": false,
    "status": "error",
    "statusComments": "no eligible sender"
  },
  "campaignSteps": 1,
  "endTime": {},
  "numberOfCompletedCampaign": 0,
  "numberOfOpens": 2,
  "numberOfReplies": 1,
  "numberOfSendError": 0,
  "numberOfSent": 3,
  "numberOfUnsubscribe": 0,
  "sendingDays": [
    {
      "day": "Monday",
      "enabled": true,
      "period": {
        "end": "17:00",
        "start": "09:00"
      }
    }
  ],
  "startTime": {},
  "totalNumberOfBounce": 0,
  "totalNumberOfContacted": 1,
  "totalNumberOfOpens": 2,
  "totalNumberOfProspect": 1,
  "totalNumberVideoView": 0,
  "totalProspectNotOnList": 0,
  "useCustomStartEndTime": false
}

Legacy REST event

contact.created

Contact created

When it fires
The REST API accepts this key. It is a legacy subscription option.
Frequency
Automatic emission on contact creation is unverified. The delivery worker accepted the event key in a controlled queue test.
Version 3 JSON payload
{
  "eventType": "contact.created",
  "eventTypeName": "Contact created",
  "version": 2,
  "payloadVersion": 3,
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 2 JSON payload
{
  "eventType": "contact.created",
  "eventTypeName": "Contact created",
  "payloadVersion": 2,
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}
Version 1 JSON payload
{
  "eventType": "contact.created",
  "eventTypeName": "Contact created",
  "payloadVersion": 1,
  "contact": {
    "contactId": "example-contact-01",
    "emails": [
      {
        "email": "alex@example.com",
        "isPrimary": true,
        "isValid": true,
        "msg": "Valid",
        "verified": true
      }
    ]
  }
}

Subscribe to email.failed in Settings → Webhooks. The REST subscription endpoint accepts a different event list.

Delivery and retries

  • Return HTTP 2xx within 8 seconds. Save the request first if you need to run a longer workflow.
  • Use the final endpoint URL. Redirects are treated as failed deliveries.
  • A non-2xx response or a connection failure can be retried. The queue allows up to five processing attempts with a six-minute visibility timeout. Queue processing can add time.
  • A retry keeps the same delivery ID. A new event or a separate subscription receives its own delivery ID.

Request security and ordering

Webhook requests are unsigned. Use HTTPS, keep your endpoint path or token private, and protect any stored payloads.

Webhooks are asynchronous. Process each event independently and use the campaign and contact IDs to associate related notifications.

Set up a webhook