Leadify V3 icon

Leadify V3

Interact with Leadify API to manage leads, logs, and campaigns

Update Campaign Stats

AI-generated

Summary

Update campaign statistics for a lead group.

Inputs

  • statsGroupId (required) — The ID of the lead group to update stats for
  • statsCampaignSlug (required) — Unique identifier for the campaign (no spaces, use dashes)
  • statsData (required) — Campaign statistics to update; only provided values will be updated.
  • additionalFields — Additional fields (e.g., timeout) to customize the request.
  • requestOptions — Additional request options such as proxy, timeout, or batch settings.

Output shape

A JSON object confirming the update, typically containing the updated campaign statistics.

The response mirrors the request payload; errors return a standard error envelope.

Examples

Example 1: Update stats for a new summer outreach campaign

statsGroupId = cl123456, statsCampaignSlug = summer-2024-outreach, statsData = {"leadTotal":200,"sentCount":150}

Discussion