Retrieves the Sales Agent (AI Assistant) configuration associated with the specified lead.
curl --request GET \
--url https://api.lofty.com/v2.0/sales-agents/by-lead \
--header 'Authorization: <authorization>'{
"id": 12345,
"userId": 67890,
"agentName": "John Doe",
"agentHeadUrl": "https://example.com/avatar.jpg",
"assistantName": "John's AI Assistant",
"assistantHeadUrl": "https://example.com/ai-avatar.jpg",
"virtualNumber": "+1234567890",
"virtualNumberCountry": "US",
"followUpRole": "buyer_agent",
"agentExperience": "10 years in real estate",
"email": "john.assistant@example.com",
"status": "ACTIVE",
"createdAt": "2026-02-20T10:00:00Z",
"updatedAt": "2026-02-28T10:00:00Z",
"hasQuotaSeat": true,
"borrowLevel": "SELF",
"borrowId": 12345
}Documentation Index
Fetch the complete documentation index at: https://developer.lofty.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer [access_token]
Lead ID
Sales Agent found successfully
Sales Agent information
Sales Agent ID
12345
User ID who owns this Sales Agent
67890
Agent's full name
"John Doe"
Agent's avatar URL
"https://example.com/avatar.jpg"
AI Assistant name
"John's AI Assistant"
AI Assistant avatar URL
"https://example.com/ai-avatar.jpg"
Virtual phone number
"+1234567890"
Virtual number country code
"US"
Follow-up role: buyer_agent, listing_agent, etc.
"buyer_agent"
Agent experience description
"10 years in real estate"
AI Assistant email
"john.assistant@example.com"
Status: ACTIVE, INACTIVE, etc.
"ACTIVE"
Creation time in ISO8601 format
"2026-02-20T10:00:00Z"
Last update time in ISO8601 format
"2026-02-28T10:00:00Z"
Whether AI has valid quota seat
true
Borrow level if using borrowed AI: SELF, GROUP, TEAM
"SELF"
Borrowed from user/office ID
12345
curl --request GET \
--url https://api.lofty.com/v2.0/sales-agents/by-lead \
--header 'Authorization: <authorization>'{
"id": 12345,
"userId": 67890,
"agentName": "John Doe",
"agentHeadUrl": "https://example.com/avatar.jpg",
"assistantName": "John's AI Assistant",
"assistantHeadUrl": "https://example.com/ai-avatar.jpg",
"virtualNumber": "+1234567890",
"virtualNumberCountry": "US",
"followUpRole": "buyer_agent",
"agentExperience": "10 years in real estate",
"email": "john.assistant@example.com",
"status": "ACTIVE",
"createdAt": "2026-02-20T10:00:00Z",
"updatedAt": "2026-02-28T10:00:00Z",
"hasQuotaSeat": true,
"borrowLevel": "SELF",
"borrowId": 12345
}