Lead Generation
Generates new leads based on specific criteria and search strategies.
POST /api/agents/sales/leadGeneration
Request Body
{
"siteId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"maxLeads": 10,
"company": {
"name": "My Company",
"industry": "SaaS",
"description": "B2B software provider"
}
}| Parameter | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | The UUID of the site. |
userId | string | Yes | The UUID of the user. |
agent_id | string | No | The UUID of the specific agent. |
maxLeads | number | No | Maximum number of leads to generate (default: 10). |
priority | string | No | Priority level (default: ‘medium’). |
company | object | No | Company context for personalized search. |
webhook | string | No | Webhook URL for async results. |
Response
Returns the generated leads and search insights.
Last updated on