HeyReach icon

HeyReach

Interact with HeyReach API

Campaign → Get Leads

AI-generated

Summary

Retrieve leads associated with a specific campaign using its ID.

Inputs

  • campaignId (required) — The ID of the campaign for which to get leads.

Output shape

a list of lead records associated with the specified campaign

Returns an array of lead objects. Ensure the correct campaign ID is provided to avoid empty results.

Examples

Example 1: Get leads for a campaign with ID 123

Use campaignId set to 123

Discussion