Skip to main content
GET
Get Leads
Returns all leads for the specified agent. You must own the agent to access its leads.
Leads are automatically captured during conversations when users provide contact information (email, phone, name).

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

agentId
string
required
cursor
string
limit
integer
default:20
Required range: 1 <= x <= 100
page
integer
default:1
Required range: x >= 1

Response

Successful response

success
boolean
required
message
string
required
data
object[]
required
hasMore
boolean
required
nextCursor
string | null
required
limit
number
required
cached
boolean