v1
OpenAPI 3.0.02026-08-04109109370.6 KBGet reports for a lead
Query parameters
Filter results by lead name. Visit the filters guide for more information on how to filter by other terms.
Used to search all related info. Returns all reports that are similar to the query term.
Sort the returned list by a chosen field. Use a '-' before the field name to sort in descending order.
The bucket size of the report
The field to group leads by. Sales or losses reports should use closedTime, newleads and custom reports should use createdTime.
The facet to sort values on.
The type of report to generate.
Ways to break down the report further to compare across different variables. Useful to answer questions such as: Who has made the most sales? Which products are earning the most? Where are our leads coming from?
When calculating lead values, use their weight confidence value or not
Response
Reports
Example response
{
"reports": [
{
"report": {
"id": "3-contacts",
"data": [
{
"bucket": {
"bucket": "best bucket",
"count": {
"prefix": "$",
"value": 100
},
"total": {
"prefix": "$",
"value": 100
}
}
}
],
"summary": {
"bucket": "best bucket",
"count": {
"prefix": "$",
"value": 100
},
"total": {
"prefix": "$",
"value": 100
}
}
}
}
]
}