Sources

Get lead metrics for a source

Changed on

View lead creation metrics for an organization intake source, including accepted, rejected, duplicate, validation, and recent activity counts.

get/sources/{id}/metrics

Request

  • Base URL
    https://api.leadping.ai
  • Auth
    HTTP bearer

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, integer nullable

Optional rolling day count when explicit dates are not provided.

Response

The source lead creation metrics.

SourceMetricsResponse required

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

range, AnalyticsDateRange

Defines the inclusive reporting window and comparison window used to calculate Leadping analytics.

totalLeads, integer

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

totalErrors, integer

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

points, AnalyticsTrendPointOfint[]

Collection of points included with this Leadping source metrics.

errorPoints, AnalyticsTrendPointOfint[]

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.

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status