Overview
Updates a lead list’s name or active status. This endpoint allows you to modify basic properties of an existing lead list.Path Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
lead_list_id | string | Yes | Lead list ID (lead_id) | Lecb6be7be43b4724 |
Request Body
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
name | string | No | Name of the lead list | "Marketing Lead List" |
is_active | boolean | No | Whether to activate or deactivate the lead list | true or false |
Examples
Update Lead List Name
Activate/Deactivate Lead List
Update Both Name and Status
Response
Returns the updated lead list object with all current details.Use Cases
- Name Management: Update lead list names for better organization
- Status Control: Activate or deactivate lead lists as needed
- Bulk Operations: Update multiple lead lists programmatically
- Workflow Management: Control lead list availability based on campaigns
is_active: false), it will no longer capture new leads, but existing data remains intact. You can reactivate it later by setting is_active: true.Authorizations
API key authentication. Enter your API key directly in the Authorization header.
Path Parameters
Lead list ID (lead_id)
Body
Response
Lead list updated successfully
Internal lead list ID
262
Unique lead list identifier
"Lecb6be7be43b4724"
Name of the lead list
"Onit Lead"
Creation timestamp
"2023-08-04T13:51:51.959871+05:30"
Last modification timestamp
"2023-08-04T13:51:51.959871+05:30"
Whether the lead list is active
true
Number of times this lead list has been used
5
Number of lead entries in this list
7
QR codes linked to this lead list
JSON string containing lead list form configuration
"[{\"type\":\"page_title\",\"data\":{\"title\":\"<p>TEST FOR NEW LEAD NOPW</p>\\n\",\"cardStyle\":{\"backgroundColor\":\"#F8F8F8\"}}},{\"type\":\"page_layout\",\"data\":{\"backgroundColor\":\"0a2e9b\"}},{\"type\":\"description_box\",\"data\":{\"text\":\"<p>NEW LEAD NEW</p>\\n\",\"cardStyle\":{\"backgroundColor\":\"#F8F8F8\"}}},{\"type\":\"banner_images\",\"data\":{\"images\":[{\"url\":\"https://qcg7-storage-staging.s3.amazonaws.com/media/uploads/560/2023/06/20230620_462316_qrcode.png\"}]}},{\"type\":\"lead_form\",\"data\":{\"description\":\"Food Preference\",\"questions\":[{\"question\":\"FOOD PREFERENCES\",\"answer\":{\"type\":\"multipleChoice\",\"data\":[{\"option\":\"VEG\"},{\"option\":\"NON VEG\"}]},\"isRequired\":true}]}},{\"type\":\"submit_button\",\"data\":{\"label\":\"SUBMIT\",\"color\":{\"label\":\"#585858\",\"button\":\"#F8F8F8\",\"border\":\"#F8F8F8\"},\"buttonStyle\":{\"borderWidth\":1,\"borderRadius\":50}}},{\"type\":\"skip_button\",\"data\":{\"label\":\"SKIP\",\"color\":{\"label\":\"#585858\",\"button\":\"#F8F8F8\",\"border\":\"#F8F8F8\"},\"buttonStyle\":{\"borderWidth\":1,\"borderRadius\":50}}}]"
Webhooks configured for this lead list