Skip to main content
GET
Get Sales Agent by Lead

Headers

Authorization
string
required

Bearer [access_token]

Query Parameters

leadId
integer<int64>
required

Lead ID

Response

The lead's Sales Agent state

Whether a Sales Agent is working the lead, and which one. When no Sales Agent works or worked the lead, every Sales Agent field is null

workingStatus
enum<string>

working: followed up now; stopped: a Sales Agent worked it and was stopped (the fields describe that Sales Agent); not_working: no Sales Agent works it

Available options:
working,
stopped,
not_working
Example:

"working"

workingStartedAt
string | null

When the Sales Agent started its latest follow-up of this lead (ISO8601, caller's time zone); null when not known or not worked

Example:

"2026-11-26T11:49:04-08:00"

id
integer<int64> | null

Sales Agent ID

Example:

12345

ownerUserId
integer<int64> | null

User ID of the Sales Agent's owner

Example:

67890

ownerName
string | null

Full name of the Sales Agent's owner

Example:

"Ashley Smith"

salesAgentType
enum<string> | null

personal / team: one of the caller's usable Sales Agents; other: a Sales Agent the caller cannot use, e.g. another member's personal Sales Agent

Available options:
personal,
team,
other
Example:

"personal"

assistantName
string | null

Name of the AI

Example:

"Anna"

assistantHeadUrl
string | null

Avatar URL of the AI; null for salesAgentType other

virtualNumber
string | null

The number this lead receives text messages from

Example:

"+1234567890"

virtualNumberCountry
string | null

Country code of the virtual number; null for salesAgentType other

Example:

"US"

planType
enum<string> | null

Plan of the Sales Agent's owner; null for salesAgentType other or with no plan record

Available options:
freemium,
pro,
max,
team
status
enum<string> | null

ACTIVE or INACTIVE, as in List Usable Sales Agents; null for salesAgentType other

Available options:
ACTIVE,
INACTIVE
hasQuotaSeat
boolean | null

Whether the Sales Agent's owner holds a valid seat; null for salesAgentType other