Querying the API
Sending the query
Parameter
Type
Required
Format
Description
Name
Required
Value
Building the payload
{
"timeIntervals": [
{
"start": "1640991600",
"end": "1646290561"
}
],
"filters": {
"single": {
"field": "device",
"operator": "EQUAL",
"value": "Desktop"
},
"filteringStrategy": "PER_USER"
},
"dimensions": [
"campaignId",
"variationId"
],
"metrics": [
{
"key": "users",
"name": "",
"filter": null,
"type": "COMMON"
},
{
"key": "npsCount",
"name": "npsPromoters",
"filter": {
"single": {
"field": "npsScore",
"operator": "GREATER",
"value": "8"
},
"filteringStrategy": "PER_USER"
},
"type": "COMMON"
}
],
"orderBy": [
{
"field": "users",
"direction": "DESC"
}
],
"limit": 100
}Setting up the dates
Choosing your dimensions
Choosing your metrics
Ordering the result
Limiting the result
Filters
Selecting your population
Single filter condition
Excluding filter condition
Multiple filters condition
Nested filters
Refining your metrics
Filtering on campaign history
Examples library
Last updated
Was this helpful?

