get https://a.klaviyo.com/api/v1/metrics
Returns a list of all the metrics in your account.
Response
Returns a list of all the metrics in your account.
xxxxxxxxxx
curl --request GET \
--url 'https://a.klaviyo.com/api/v1/metrics?page=0&count=50&api_key=PRIVATE_API_KEY' \
--header 'accept: application/json'
xxxxxxxxxx
23{
"object": "$list",
"data": [
{
"object": "metric",
"id": "METRIC_ID",
"name": "Active on Site",
"integration": {
"object": "integration",
"id": "INTEGRATION_ID",
"name": "API",
"category": "API"
},
"created": "2020-11-03 17:28:09",
"updated": "2020-11-03 17:28:09"
}
],
"page": 0,
"start": 0,
"end": 1,
"total": 1,
"page_size": 1
}