SmartLead icon

SmartLead

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

Actions144

Lead → Get Message History

AI-generated

Summary

Retrieve message history for a lead within a campaign

Inputs

  • campaignId (required) — ID of the campaign containing the lead.
  • leadId (required) — ID of the lead whose message history is requested.
  • queryParameters — Additional query-string parameters as a JSON object.
  • requestOptions — Request-level options such as batch settings, SSL verification, proxy, and timeout.

Output shape

a list of lead message history items

Each item contains message metadata; the response is not paginated.

Examples

Example 1: Get recent replies for a specific lead

Set Resource to Lead, Operation to Get Message History, provide Campaign ID and Lead ID; optionally adjust batchSize and Timeout in requestOptions.

Example 2: Fetch full message thread for a lead

Same as above; add queryParameters if filtering by date or include extra headers.

Links

Discussion