Skip to Content
The Makinari API repo now includes an MCP Server — connect your AI models directly. View on GitHub →
AgentsCmo

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 }
ParameterTypeRequiredDescription
site_idstringYesThe UUID of the site.
user_idstringNoThe UUID of the user triggering the assignment.
max_leads_per_segmentnumberNoMaximum leads to assign per segment (default: 3).
prioritystringNoPriority level: ‘low’, ‘normal’, ‘high’, ‘urgent’ (default: ‘normal’).
min_quality_scorenumberNoMinimum quality score (0-100) for assignment (default: 70).
max_total_assignmentsnumberNoMaximum total assignments to make (default: 10).

Response

Returns details of the assignments made, including lead info, assignee, and quality metrics.

Last updated on