v1

latestOpenAPI 3.1.02026-07-2414238909.1 KB

Retrieve Voice Trackings by Campaign

You can get all the tracking information for the messages of a voice campaign by providing the tracking id

get/voice/tracking/campaign/{campaignTrackingId}

Path parameters

campaignTrackingIdstring required

The tracking id of the campaign which includes the messages.

Query parameters

pagestring

The page number to retrieve, default value is 0 (meaning the first page).

sizestring

The number of items to retrieve, default value is 20.

sortstring

The field name that will be used to sort the results.

Headers

Authorizationstring

Bearer {access_token}

Response

200

totalPagesinteger
lastboolean
totalElementsinteger
numberOfElementsinteger
firstboolean
sizeinteger
numberinteger

Example response

{
  "content": [
    {
      "messageId": "70bf7c9e-9d30-4a83-b383-a4568e1ddea9",
      "to": "+306911111111",
      "from": "Routee",
      "country": "GR",
      "status": {
        "status": "Completed",
        "date": "2017-10-05T14:21:04Z"
      },
      "campaign": "TrackedCampaign",
      "applicationName": "default",
      "originatingService": "Voice",
      "direction": "Outbound",
      "duration": 65,
      "fileURL": "http://www.xxxxxxxx.xx/example.wav",
      "price": 0.0325,
      "chargeInterval": 1
    }
  ],
  "totalPages": 1,
  "last": true,
  "totalElements": 2,
  "numberOfElements": 2,
  "first": true,
  "size": 20
}