v1

latestOpenAPI 3.1.02026-07-2414238909.1 KB

Retrieve the details of a Push Notification

Retrieve the details of a Push Notification by trackingId.

get/push-notifications/messages/{trackingId}

Path parameters

trackingIdstring required

Headers

Authorizationstring required

Bearer {access_token}

Content-Typestring required

application/json

Response

200

trackingIdstring
implementationIdstring
serviceMessageIdstring
imageUrlstring
callbackUrlstring
createdAtstring

Example response

{
  "trackingId": "44e2eb9a-35af-4ebe-bf89-224981f81982",
  "implementationId": "xxxxxxx",
  "serviceMessageId": "projects/routee-dev/messages/1679496894868467",
  "owner": {
    "accountId": "2044",
    "applicationId": "xxxxxxx"
  },
  "statusInfo": {
    "status": "SENT",
    "date": "2023-03-22T14:54:55.135Z"
  },
  "price": {
    "cost": 0.0001,
    "currency": "EUR"
  },
  "statuses": [
    {
      "status": "QUEUED",
      "date": "2023-03-22T14:54:54.429Z"
    }
  ],
  "deviceToken": {
    "type": "APPLE",
    "token": "xxxxxxx"
  },
  "body": {
    "title": {
      "en": "This is the title of the  notification"
    },
    "text": {
      "en": "This is the message of the  notification"
    },
    "forceLocale": "en"
  },
  "imageUrl": "https://pics.freeicons.io/uploads/icons/png/15798659891536125452-512.png",
  "config": {
    "type": "apn",
    "localizedTitle": "LOCALIZATION_TITLE_KEY",
    "localizedText": "LOCALIZATION_TEXT_KEY",
    "ttl": 8000
  },
  "callbackUrl": "xxxxxxx",
  "data": {
    "key1": "value1",
    "key2": "value2",
    "key3": "value3",
    "key4": "value4"
  },
  "createdAt": "2023-03-22T14:54:54.429Z"
}