Skip to main content
GET
/
analytics
/
leads
/
attribution
Leads Report with Attribution
curl --request GET \
  --url https://api.nexus.usehardal.com/analytics/leads/attribution \
  --header 'Authorization: <api-key>'

Authorizations

Authorization
string
header
required

Query Parameters

timeframe
enum<string>

Preset timeframe. Use custom with startDate and endDate, or omit when startDate/endDate are provided.

Available options:
today,
yesterday,
last7days,
last30days,
custom
startDate
string

Start date (YYYY-MM-DD)

endDate
string

End date (YYYY-MM-DD)

timezone
string

Timezone for date filtering (default: Europe/Istanbul)

isCompareEnabled
default:false

Enable comparison range calculations (default: false)

compareStartDate
string

Comparison start date (YYYY-MM-DD)

compareEndDate
string

Comparison end date (YYYY-MM-DD)

aggregationBy

Aggregation fields (comma-separated or repeated): lead_id,country,city,district,type,category,label,name

targetSignalId
string

Target signal ID for an authorized mobile app or related signal in the same project

Response

200

200 response