SmartLead icon

SmartLead

Interact with SmartLead API (campaigns, leads, inbox, analytics, delivery, and webhooks)

Actions144

Campaign Analytics → Get Campaign Analytics

AI-generated

Summary

Retrieve performance and engagement analytics for a specific SmartLead campaign.

Inputs

  • campaignId (required) — The unique identifier of the campaign whose analytics you want to fetch.
  • queryParameters — Additional query-string parameters as a JSON object to filter or refine the analytics query.

Output shape

a single record

Returns an object containing aggregate metrics for the specified campaign, such as sent, open, click, and reply counts.

Examples

Example 1: Get overview analytics for a campaign

Set Campaign ID to "12345".

Example 2: Get campaign analytics with custom filter parameters

Set Campaign ID to "12345" and Query Parameters to {"start_date": "2023-01-01"}.

Links

Discussion