SmartLead icon

SmartLead

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

Actions144

Lead → Get by ID

AI-generated

Summary

Fetch a lead by its ID within a specific campaign

Inputs

  • campaignId (required) — Identifier of the campaign containing the lead
  • leadId (required) — Identifier of the lead to retrieve
  • queryParameters — Additional query-string parameters as a JSON object
  • requestOptions — HTTP request configuration such as batching, proxy, timeout, and SSL verification

Output shape

a single lead object

The response is the raw JSON representation of the lead; no additional envelope.

Examples

Example 1: Retrieve a specific lead

campaignId: 'abc123', leadId: 'xyz789'

Example 2: Retrieve a lead with extra query parameters

campaignId: 'abc123', leadId: 'xyz789', queryParameters: {status: 'active'}

Example 3: Retrieve a lead using request options for timeout

campaignId: 'abc123', leadId: 'xyz789', requestOptions: {timeout: 5000}

Links

Discussion