LeadSearchRequest
A reusable set of lead filters (the same filters used by lead search), used here to target a manual sending campaign.
ID of the product (workspace) that owns this record. Most endpoints scope access by product.
id object
Match a single lead by id.
- integer
- null
Match a specific set of lead ids.
Match leads in any of these stages.
name object
Match by lead name.
- string
- null
crm_id object
Identifier of the matching record in the connected external CRM, if any.
- string
- null
is_active object
Match by active flag.
- boolean
- null
is_test object
Match by test flag.
- boolean
- null
created_at_from object
Include leads created at or after this UTC instant.
- date-time
- null
created_at_to object
Include leads created at or before this UTC instant.
- date-time
- null
has_started object
True matches leads with started_at set; false matches leads that have not started.
- boolean
- null
batch_name object
Match by import batch name.
- string
- null
Match leads having any of these tags.
contact object
Match by a contact value.
- string
- null
crm_fields_conditions object
Composite CRM-field conditions (AND/OR with per-field operators).
- CRMFieldsConditionsConfig
- null
Possible values: [AND, OR]
ANDconditions object[]
Possible values: [EQUALS, NOT_EQUALS, IN, NOT_IN, STARTS_WITH, ENDS_WITH, CONTAINS, EXISTS, NOT_EXISTS, IS_EMPTY, IS_NOT_EMPTY]
Possible values: >= 1 and <= 1000
50Possible values: >= 1
1{
"product_id": 0,
"id": 0,
"lead_ids": [
0
],
"stage_ids": [
0
],
"name": "string",
"crm_id": "string",
"is_active": true,
"is_test": true,
"created_at_from": "2024-07-29T15:51:28.071Z",
"created_at_to": "2024-07-29T15:51:28.071Z",
"has_started": true,
"batch_name": "string",
"tag_ids": [
0
],
"contact": "string",
"crm_fields_conditions": {
"operator": "AND",
"conditions": [
{
"field": "string",
"operator": "EQUALS"
}
]
},
"limit": 50,
"page": 1
}