Skip to main content
PATCH

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

Request Body

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
When you deactivate a lead list (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.
Deactivating a lead list will stop new lead capture immediately. Make sure to inform your team about status changes to avoid confusion.

Autorisierungen

Authorization
string
header
erforderlich

API key authentication. Enter your API key directly in the Authorization header.

Pfadparameter

lead_list_id
string
erforderlich

Lead list ID (lead_id)

Body

application/json
name
string

Name of the lead list

Beispiel:

"Marketing Lead List"

is_active
boolean

Whether to activate or deactivate the lead list

Beispiel:

true

Antwort

Lead list updated successfully

id
integer

Internal lead list ID

Beispiel:

262

lead_id
string

Unique lead list identifier

Beispiel:

"Lecb6be7be43b4724"

name
string

Name of the lead list

Beispiel:

"Onit Lead"

created
string<date-time>

Creation timestamp

Beispiel:

"2023-08-04T13:51:51.959871+05:30"

modified
string<date-time>

Last modification timestamp

Beispiel:

"2023-08-04T13:51:51.959871+05:30"

is_active
boolean

Whether the lead list is active

Beispiel:

true

usage_count
integer

Number of times this lead list has been used

Beispiel:

5

entries_count
integer

Number of lead entries in this list

Beispiel:

7

linked_qrs
object[]

QR codes linked to this lead list

data
string

JSON string containing lead list form configuration

Beispiel:

"[{\"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
object[]

Webhooks configured for this lead list