SalamCRM icon

SalamCRM

Interact with SalamCRM API

Actions92

Lead → Leads_SetStatus

AI-generated

Summary

Set the status of a specific lead by ID with optional status and note details.

Inputs

  • id (required) — The unique identifier of the lead to update, provided as a path parameter.
  • body (required) — A JSON object containing the status update information, including "Status" (string) and an optional "Note" (string).

Output shape

the updated lead object as JSON

Returns the updated lead data as a single JSON object reflecting the new status. Requires the lead ID and a valid JSON body with status details.

Examples

Example 1: Update lead status to 'Contacted' with a note

Set 'id' to the lead's ID, provide a JSON body with "Status": "Contacted" and "Note": "Left a voicemail.".

Discussion