SmartLead icon

SmartLead

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

Actions144

Lead → Update

AI-generated

Summary

Update a lead in a campaign.

Inputs

  • campaignId (required) — Identifier of the campaign containing the lead.
  • leadId (required) — Identifier of the lead to update.
  • requestBody — JSON payload with the fields to update.
  • requestOptions — Options for request behavior such as batching, SSL validation, proxy, and timeout.

Output shape

a single updated lead object

Returns the updated lead on success; errors return an error object.

Examples

Example 1: Update a lead's category

campaignId = 123, leadId = 456, requestBody = {"category":"newCategory"}

Links

Discussion