Message
Handles sales conversations, answering questions, and guiding leads through the sales funnel.
POST /api/agents/sales/message
Request Body
{
"message": "I'm interested in your enterprise plan.",
"site_id": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"conversationId": "optional-uuid",
"lead_id": "optional-uuid",
"visitor_id": "optional-uuid"
}| Parameter | Type | Required | Description |
|---|---|---|---|
message | string | Yes | The content of the message. |
site_id | string | Yes | The UUID of the site. |
userId | string | No | The UUID of the user. |
agentId | string | No | The UUID of the specific agent. |
conversationId | string | No | The UUID of the conversation. |
lead_id | string | No | The UUID of the lead. |
visitor_id | string | No | The UUID of the visitor. |
Response
Returns the AI response, updated conversation details, and any tool execution results (e.g., scheduling a meeting).
Last updated on