Skip to main content
GET
Get lead metrics for a source

Authorizations

Authorization
string
header
required

Authorization header using the Bearer scheme. Accepted values are Leadping user JWT access tokens and WorkOS organization API keys beginning with sk_.

Path Parameters

id
string
required

The ID of the source to retrieve metrics for.

Query Parameters

startAt
string<date-time>

Optional start date/time for the metric range.

endAt
string<date-time>

Optional end date/time for the metric range.

days
null | integer<int32>

Optional rolling day count when explicit dates are not provided.

Response

OK

Aggregates lead volume, conversion, delivery, and activity metrics attributed to a Leadping source over the requested reporting period.

range
object

Range associated with this Leadping source metrics.

totalLeads
integer<int32>

Total number of leads records represented by this Leadping source metrics.

totalErrors
integer<int32>

Total number of lead intake errors represented by this Leadping source metrics.

points
object[]

Collection of points included with this Leadping source metrics.

errorPoints
object[]

Collection of lead intake error points included with this Leadping source metrics.

generatedAt
string<date-time>

Date and time when the source metrics was generated.