platform
metrics-api

Query aggregated traffic data

Start process for traffic data aggregation. The result will be posted to callbackURL provided in the request. The response format is described in Receive aggregated data result operation.

post/metrics/1/query-aggregate-data

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Request body

callbackUrlstring required

The target URL that will receive the query processing results. The schema for this endpoint is documented at Receive Aggregated Data Result.

Example request

{
  "request": {
    "filterBy": {
      "includeSubaccounts": true,
      "platforms": [
        {
          "applicationId": "your_application_id",
          "entityId": "your_entity_id"
        }
      ]
    }
  }
}

Response

Data querying process is started.

requestIdstring required

The identifier of the submitted request.

Changes

No recorded changes to this operation across all 1 revision of this API.