conduyt_update_lead_pool_settings
Update admin-curated lead pool settings by changing only the criteria you pass—enabled status, tags, sources, score range, creation window, daily claim limit—while other stored values remain.
Instructions
Change the admin-curated lead pool (Up for Grabs / Lead Pool). Pass only what changes; every other criterion keeps its stored value. Criteria are ANDed: enabled, tagIds (contact has ANY of these tags; [] = no tag rule), sources (lead source is ANY of these; [] = no source rule), minScore / maxScore (lead score floor / ceiling, 0..1000, null = none; the same value for both keeps one exact score, e.g. "lead quality 4"), createdWithinDays (only leads ADDED to the CRM in the past N days — creation time, a re-import of an existing contact is not new; 1..365, null = none), poolClaimDailyLimit (0..200 grabs per agent per day, 0 = no cap). Enabling with no criterion at all is refused (it would read as disabled). maxScore below minScore is refused. Sends the settings revision it read; a 409 (another save landed first) returns the current settings to re-derive from. Requires settings:edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tagIds | No | Tag UUIDs the lead must carry one of (conduyt_list_tags); [] clears the tag rule | |
| enabled | No | Turn the curated pool on or off | |
| sources | No | Lead sources, exact match, any of; [] clears the source rule | |
| maxScore | No | Lead score ceiling (<=); null clears; equal to minScore = one exact score | |
| minScore | No | Lead score floor (>=); null clears | |
| createdWithinDays | No | Only leads added to the CRM (created) in the past N days; null clears | |
| poolClaimDailyLimit | No | Daily self-serve claim cap per agent; 0 = off |