# Specific dealer report
# Setup
Endpoint: https://app.lamatool.com/api/v2/stats/dealer-report/{dealer_id}
Type: GET
# Parameters
Field | Type | Required | Note |
---|---|---|---|
api_key | string | true | Company API key |
from | date | true | Format Y-m-d |
until | date | true | Format Y-m-d |
timestamp | string | true | received_at / accepted_at |
# Using from
and until
When using from
and until
be aware that from
is start of day and until
is end of day.
So if you want a report for january:
✅ from=2023-01-01&until=2023-01-31
❌ from=2023-01-01&until=2023-02-01
# Example
https://app.lamatool.com/api/v2/stats/dealer-report/1?api_key=[YOUR_API_KEY]×tamp=accepted_at&from=2023-08-23
# Example result
{
"id": 1,
"name": "Dealer 1",
"leads": [
{
"id": 48,
"created_at": "2023-08-23 15:19:28",
"meta": {
"received_at": "2023-08-23 15:19:29",
"accepted_at": "2023-08-23 15:25:08",
"accept_time": 339 // seconds
}
}
]
}