SmartLead icon

SmartLead

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

Actions144

Campaign Analytics → Export Leads

AI-generated

Summary

Export leads from a specific campaign in SmartLead using GET requests.

Inputs

  • campaignId (required) — The unique identifier of the campaign whose leads are to be exported.
  • queryParameters — JSON object containing key-value pairs to append as query parameters to the export request.

Output shape

a list of items

Returns exported campaign lead records based on the specified campaign ID and query parameters.

Examples

Example 1: Export all leads from a campaign

Campaign ID: 12345

Example 2: Export campaign leads with custom filtering parameters

Campaign ID: 12345, Query Parameters: {"status": "COMPLETED"}

Links

Discussion