Identifies which Call Target(s) to query (as a single value or a comma-separated list).
Determines whether to include requests for Agent First or Customer First callbacks.
Determines whether to include callback requests that came via phone or widget.
Determines whether to include callback requests registered as ASAP or scheduled.
The time interval by which to aggregate metrics. The selected interval determines the maximum time span that can be queried: 15m = 3 days, 1h = 7 days, 1d = 30 days, 1W = 180 days (6 months), 1M = 730 days (2 years), 1Y = no restriction.
A timestamp (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ) determining the time from which metrics should be aggregated (inclusive).
A timestamp (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ) determining the time up to which metrics should be aggregated (exclusive).
For a 200 response code, the response body is an object containing data
, an aray of Callback offer metrics by interval.
The end timestamp of a given interval for which metrics are aggregated, exclusive. This should match the intervalBegin
for the next chronological interval.
The beginning timestamp of a given interval for which metrics are calculated, inclusive.
Whether an aggregated interval only includes values calculated over part of the entire interval, caused by the requested start/end dates falling between an interval's start and end.
curl --request GET \--url 'https://api.getmindful.com/v2/callback/historical/metrics/intervals/offers?interval=15m' \--header 'Accept: application/json' \--header 'Authorization: Bearer 123'
1{2"data": [3{4"intervalBegin": "2019-08-24T14:15:22Z",5"intervalEnd": "2019-08-24T14:15:22Z",6"partialInterval": true,7"offers": {8"digital": {9"totalRequestedCallback": 010},11"totalOffers": 0,12"voice": {13"totalChoseMessaging": 0,14"totalChoseToHold": 0,15"totalIncompleteRegistration": 0,16"totalRequestedCallback": 017}18}19}20]21}