v1

latestOpenAPI 3.1.02026-07-2414238909.1 KB

Retrieve Failover trackings

get/failover/tracking/{trackingId}

Path parameters

trackingIdstring required

The tracking Id of a failover message

Headers

Authorizationstring required

Bearer {access_token}

Content-Typestring required

application/json

Response

200

trackingIdstring
terminationChannelstring
statusstring
totalPricenumber
originatingServicestring
applicationIdstring
createdAtstring
updatedAtstring

Example response

{
  "trackingId": "30830fad-21ed-49b0-89d0-bbada2fd5640",
  "messages": [
    {
      "type": "Viber",
      "trackingId": "0a047b46-a4dd-4ca8-b817-a6a134dd1234",
      "from": "Routeetest",
      "to": "+3069XXXXXXXX",
      "body": {
        "text": "This is a test, please ignore!",
        "action": {
          "caption": "Go",
          "targetUrl": "https://www.routee.net/"
        }
      },
      "status": {
        "name": "UNDELIVERED",
        "reason": {
          "detailedStatus": "Message Rejected",
          "description": "Viber rejected the message due to incorrect parameters."
        },
        "updatedDate": "2019-07-05T10:28:44.996Z"
      },
      "country": "GR",
      "inboundUrl": "http://example.com",
      "order": 1,
      "ttl": 1,
      "failoverOnStatuses": [
        "EXPIRED"
      ],
      "createdAt": "2019-07-05T10:28:44.566Z",
      "expireOnDelivery": true,
      "expiredOnDeliveryAt": "2019-07-05T10:38:43.122Z"
    }
  ],
  "terminationChannel": "Sms",
  "status": "Succeeded",
  "totalPrice": 0.036,
  "originatingService": "failover",
  "applicationId": "5b223c27e4b04b9cdaa71234",
  "createdAt": "2019-07-05T10:28:44.44Z",
  "updatedAt": "2019-07-05T10:28:49.634Z"
}