Assign Leads
Assigns high-value leads to sales representatives based on performance and availability.
POST /api/agents/cmo/assignLeads
Request Body
{
"site_id": "123e4567-e89b-12d3-a456-426614174000",
"max_leads_per_segment": 3,
"priority": "normal",
"min_quality_score": 70,
"max_total_assignments": 10
}| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | Yes | The UUID of the site. |
user_id | string | No | The UUID of the user triggering the assignment. |
max_leads_per_segment | number | No | Maximum leads to assign per segment (default: 3). |
priority | string | No | Priority level: ‘low’, ‘normal’, ‘high’, ‘urgent’ (default: ‘normal’). |
min_quality_score | number | No | Minimum quality score (0-100) for assignment (default: 70). |
max_total_assignments | number | No | Maximum total assignments to make (default: 10). |
Response
Returns details of the assignments made, including lead info, assignee, and quality metrics.
Last updated on