Get lead source
Returns one source row and its campaign breakdown for the selected range.
Bearer API key · Scope: analytics.read
Endpoint
Path parameters1 parameter
source_idrequiredstringURL-encoded `key` returned by `/api/v1/lead-sources`.
Query parameters3 parameters
fromstring:date-timeInclusive ISO datetime lower bound. Defaults to 30 days before `to` or now.
tostring:date-timeExclusive ISO datetime upper bound. Defaults to the current server time.
timezonestringIANA timezone used for analytics bounds and spend proration.
Responses
200Lead source detail.
application/json
LeadSourceDetailResponse400Request payload, query, or required header is invalid.
application/json
ErrorResponse401Missing, malformed, revoked, deleted, or unknown API key.
Headers
WWW-AuthenticateDocumented response header
application/json
ErrorResponse403API key lacks the required scope or the workspace is not active.
application/json
ErrorResponse404Resource not found in the key-bound workspace.
application/json
ErrorResponse429Rate limit exceeded for this key and endpoint or invalid-auth bucket.
Headers
X-RateLimit-LimitMaximum requests allowed in the current window.X-RateLimit-RemainingRequests remaining in the current window.X-RateLimit-ResetISO timestamp when the current rate-limit window resets.Retry-AfterSeconds until the caller should retry.
application/json
ErrorResponse500Internal authentication or server error.
application/json
ErrorResponse