salesAgentType personal) and the team Sales Agent you borrow from your team owner (team). A team owner’s own Sales Agent is the team Sales Agent. Responses name a Sales Agent by salesAgentType, ownerUserId, ownerName and assistantName. A Sales Agent you cannot use, such as another member’s personal Sales Agent, shows up as other.
Sales Agent settings cannot be read or changed through the API. Change them in the Lofty CRM.
List the Sales Agents you can use
Send aGET request to /v2.0/sales-agents/current. See List usable Sales Agents.
salesAgents array, your own Sales Agent first. It is empty when you have no usable Sales Agent. Each entry carries status (ACTIVE or INACTIVE), planType and the four channel switches: websiteChannel, textChannel, emailChannel and callChannel.
Check capacity
Send aGET request to /v2.0/sales-agents/quota. See Get Sales Agent quota.
quotas array with one entry per usable Sales Agent: totalQuota, usedQuota and remainingQuota.
Capacity is concurrent. One lead takes one slot, however many messages it gets. usedQuota is the number of leads worked now, not cumulative usage. A slot frees up only when a lead is finished or stopped, or when more capacity is bought; capacity never resets on a schedule. A borrowed team Sales Agent reports the team owner’s capacity.
Assign leads to a Sales Agent
Send aPOST request to /v2.0/working-leads/assign with 1 to 100 lead IDs. See Assign leads to Sales Agent.
- Without
salesAgent, each lead goes by ownership: a team lead to the team Sales Agent, a personal lead to your personal one. - With
salesAgentset topersonalorteam, every lead that is not worked yet goes to that Sales Agent. If you have no such Sales Agent, the whole request is refused with400.
succeededLeads— leads a Sales Agent now works. A lead that was already worked counts as succeeded withalreadyWorking: true. It uses no capacity and stays with the Sales Agent working it, even whensalesAgentnames another one; the entry names the Sales Agent actually working it.failedLeads— leads that were not assigned, each with areasoncode and a readablemessage.remainingQuota— the capacity left on each of your Sales Agents after the request.
Assign is the only Sales Agent endpoint that uses capacity. It is rate limited to 30 requests per account, 60 per client IP and 1000 across all callers every 60 seconds. Over any of these limits it returns
429 with a Retry-After header. When the rate limit cannot be checked, the request is refused with 503 (code 200144) and no lead is assigned; retry later.
Check whether a Sales Agent works a lead
Send aGET request to /v2.0/sales-agents/by-lead with a leadId query parameter. See Get Sales Agent by lead.
salesAgent object has a workingStatus:
workingStartedAt is when the Sales Agent started its latest follow-up of the lead. A lead you cannot access returns 403.
List working leads
Send aGET request to /v2.0/working-leads. Page with limit (1 to 100, default 20) and offset (default 0); offset + limit must not exceed 10000. See List working leads.
workingLeads and metadata (total, count, offset, limit). Each lead names the Sales Agent working it and has workingStartedAt, when that Sales Agent started its latest follow-up.
The list comes from a search index that trails the actual state. A lead that was just stopped can stay listed for a short while, with its Sales Agent fields and
workingStartedAt set to null. Use Get Sales Agent by lead for a lead’s current state.aiStage returns 400.
Stop follow-up on a lead
Send aPUT request to /v2.0/working-leads/{leadId}/stop. It takes no request body. See Stop Sales Agent working a lead.
success field reports whether the request was accepted.
To resume follow-up, assign the lead again. That takes a capacity slot again, like a new lead.
Retired endpoints
These endpoints were retired in December 2026. They still answer, but every call returns410 Gone with error code 200128 (ENDPOINT_RETIRED) and a message naming the replacement.