# Evaluation report
# Setup
Endpoint: https://app.lamatool.com/api/v2/stats/evaluation-report
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 |
from
and until
corresponds to the lead creation date, and not the evaluation date.
# 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/evaluation-report?api_key=[YOUR_API_KEY]&from=2023-01-01
# Example result
[
{
"lead_id": 48,
"dealer": {
"id": 6,
"name": "Dealer 5"
},
"campaign": {
"id": 1,
"name": "Summer campaign"
},
"evaluation": {
"dealer": {
"comment": null,
"goal_reached": 1 // boolean
},
"customer": {
"comment": "Everything was great. Thanks for the great service :)",
"goal_reached": 1, // boolean
"questions": [
{
"question": "How was your experience?",
"possible_answers": [
"1",
"2",
"3",
"4",
"5",
],
"answers": [
"5"
]
},
...
]
}
}
},
...
]