This endpoint lists all available metric IDs that can be used to fetch data in Get Metric Data
Dixa API (beta)
Download OpenAPI description
Languages
Servers
Mock server
https://docs.dixa.io/_mock/openapi/dixa-api/beta
https://dev.dixa.io
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/analytics/metrics
- https://dev.dixa.io/beta/analytics/metrics
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/analytics/metrics?pageLimit=0&pageKey=string' \
-H 'Authorization: YOUR_API_KEY_HERE'Response
application/json
{ "data": [ { … }, { … } ] }
Bodyapplication/jsonrequired
The available request filters and aggregations for fetching the metric data
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/analytics/metrics
- https://dev.dixa.io/beta/analytics/metrics
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/analytics/metrics \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"id": "closed_conversations",
"periodFilter": {
"value": {
"_type": "PreviousWeek"
},
"_type": "Preset"
},
"filters": [
{
"attribute": "channel",
"values": [
"email"
]
}
],
"aggregations": [
"Count"
],
"timezone": "Europe/Copenhagen"
}'Response
application/json
{ "data": { "id": "closed_conversations", "aggregates": [ … ] } }
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/analytics/metrics/{metricId}
- https://dev.dixa.io/beta/analytics/metrics/{metricId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/analytics/metrics/{metricId}' \
-H 'Authorization: YOUR_API_KEY_HERE'Response
application/json
{ "data": { "id": "csat", "description": "(Number of satisfied customers (4 and 5)/ Number of survey responses) x 100 = % of satisfied customers", "filters": [ … ], "aggregations": [ … ], "relatedRecordIds": [ … ] } }
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/analytics/filter/{filterAttribute}
- https://dev.dixa.io/beta/analytics/filter/{filterAttribute}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/analytics/filter/{filterAttribute}?pageLimit=0&pageKey=string' \
-H 'Authorization: YOUR_API_KEY_HERE'Response
application/json
{ "data": [ { … }, { … } ] }
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/analytics/records
- https://dev.dixa.io/beta/analytics/records
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/analytics/records?pageLimit=0&pageKey=string' \
-H 'Authorization: YOUR_API_KEY_HERE'Response
application/json
{ "data": [ { … }, { … } ] }
Query
Bodyapplication/jsonrequiredMaximum number of results per page. May be used in combination with pageKey to change the number of results in between page requests.
The available request filters for fetching the metric records data
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/analytics/records
- https://dev.dixa.io/beta/analytics/records
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/analytics/records?pageLimit=0&pageKey=string' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"id": "closed_conversations",
"periodFilter": {
"value": {
"_type": "PreviousWeek"
},
"_type": "Preset"
},
"filters": [
{
"attribute": "initial_direction",
"values": [
"INBOUND"
]
}
],
"timezone": "Europe/Copenhagen"
}'Response
application/json
{ "data": [ { … }, { … } ] }
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/analytics/records/{recordId}
- https://dev.dixa.io/beta/analytics/records/{recordId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/analytics/records/{recordId}' \
-H 'Authorization: YOUR_API_KEY_HERE'Response
application/json
{ "data": { "id": "ratings", "description": "Conversation Ratings", "filters": [ … ], "relatedMetricIds": [ … ], "fieldsMetadata": [ … ] } }