Push

Navigate to Integrations -> Outbound Webhooks

Android

{
    "deliveryInfoNotification": {
        "deliveryInfo": {
            "deliveryChannel": "push",
            "pushId": "9213d63daa6e8416ab4f0cc1bb0f23e4f78cfe42e4c5193b2102ab5844371f7b",
            "Description": "Submited",
            "destinationType": "android_pushid",
            "timeStamp": "2016-08-16T11:19:03.536",
            "code": "7501",
            "deliveryStatus": "Submitted",
            "deviceid": "995D32AF2BEA4ED59438E589AE1327F1",
            "destination": "9213d63daa6e8416ab4f0cc1bb0f23e4f78cfe42e4c5193b2102ab5844371f7b"
        },
        "correlationid": "",
        "callbackData": "",
        "transid": "092dbe6d-bd84-458d-9c34-634b6adaa164_5854_13218_1"
    }
}
{
    "deliveryInfoNotification": {
        "deliveryInfo": {
            "deliveryChannel": "push",
            "pushId": "9213d63daa6e8416ab4f0cc1bb0f23e4f78cfe42e4c5193b2102ab5844371f7b",
            "Description": "Delivered",
            "destinationType": "android_pushid",
            "timeStamp": "2016-08-16T11:19:05.457",
            "code": "7500",
            "deliveryStatus": "Delivered",
            "deviceid": "995D32AF2BEA4ED59438E589AE1327F1",
            "destination": "9213d63daa6e8416ab4f0cc1bb0f23e4f78cfe42e4c5193b2102ab5844371f7b"
        },
        "correlationid": "",
        "callbackData": "",
        "transid": "092dbe6d-bd84-458d-9c34-634b6adaa164_5854_13218_1"
    }
}
{
    "deliveryInfoNotification": {
        "deliveryInfo": {
            "deliveryChannel": "push",
            "pushId": "cjIZrDYGosE:APA91bFHCMA3tV4xNhNAn15DKdK-CnjvkTHht9S0Pvt_aSO6wObj4UaOfXiykDM_2am3",
            "Description": "Read",
            "destinationType": "android_pushid",
            "timeStamp": "2016-08-25T10:24:06.362",
            "code": "7502",
            "deliveryStatus": "Read",
            "deviceid": "353323060590808",
            "destination": "cjIZrDYGosE:APA91bFHCMA3tV4xNhNAn15DKdK-CnjvkTHht9S0Pvt_aSO6wObj4UaOfXiykDM_2am3"
        },
        "correlationid": "",
        "callbackData": "",
        "transid": "6b91a963-37ee-4dd9-8aa4-07381d907ef1_1"
    }
}
{
  "deliveryInfoNotification": {
    "deliveryInfo": {
      "deliveryChannel": "push",
      "pushId": "cjIZrDYGosE:APA91bFHCMA3tV4xNhNAn15DKdK-CnjvkTHht9S0Pvt_aSO6wObj4UaOfXiykDM_2am3",
      "Description": "Unregistered Device",
      "destinationType": "android_pushid",
      "timeStamp": "2016-08-25T10:24:06.362",
      "code": "7513",
      "deliveryStatus": "Failed",
      "deviceid": "353323060590808",
      "destination": "cjIZrDYGosE:APA91bFHCMA3tV4xNhNAn15DKdK-CnjvkTHht9S0Pvt_aSO6wObj4UaOfXiykDM_2am3"
    },
    "correlationid": "",
    "callbackData": "",
    "transid": "62c24662-d1c3-469b-85c5-ca07ca8cf832"
  }
}

Android Application States

Activities in the system are managed as an activity stack - when a new activity is started, it is placed on top of the stack and becomes the running activity. The previous activity remains below, and will not come to the foreground again until the new activity exits.

StateDescriptionPush NotificationDR Status
ForegroundThe application is currently open, running in foreground, and is receiving events.ReceivedReceived
BackgroundThe application is currently closed and running in background.ReceivedReceived
IdleThe application is idle when the user is not actively using it. Idle mode is triggered for both Doze and AppStandby.Delayed (High priority FCM messages are received immediately)Delayed
AppStandbyApp Standby allows the system to determine that an application is idle when the user is not actively using it. The system makes this determination when the user does not touch the application for a certain period of time.Delayed (High priority FCM messages are received immediately)Delayed
DozeIf a user leaves a device unplugged and stationary over a period of time with the screen off, then the device enters Doze mode.
In this mode, the system attempts to conserve battery by restricting apps access to network and CPU-intensive services.
Delayed (High priority FCM messages are received immediately)Delayed

iOS

{
    "deliveryInfoNotification": {
        "deliveryInfo": {
            "deliveryChannel": "push",
            "pushId": "9213d63daa6e8416ab4f0cc1bb0f23e4f78cfe42e4c5193b2102ab5844371f7b",
            "Description": "Submited",
            "destinationType": "ios_pushid",
            "timeStamp": "2016-08-16T11:19:03.536",
            "code": "7501",
            "deliveryStatus": "Submitted",
            "deviceid": "995D32AF2BEA4ED59438E589AE1327F1",
            "destination": "9213d63daa6e8416ab4f0cc1bb0f23e4f78cfe42e4c5193b2102ab5844371f7b"
        },
        "correlationid": "",
        "callbackData": "",
        "transid": "092dbe6d-bd84-458d-9c34-634b6adaa164_5854_13218_1"
    }
}
{
    "deliveryInfoNotification": {
        "deliveryInfo": {
            "deliveryChannel": "push",
            "pushId": "9213d63daa6e8416ab4f0cc1bb0f23e4f78cfe42e4c5193b2102ab5844371f7b",
            "Description": "Delivered",
            "destinationType": "ios_pushid",
            "timeStamp": "2016-08-16T11:19:05.457",
            "code": "7500",
            "deliveryStatus": "Delivered",
            "deviceid": "995D32AF2BEA4ED59438E589AE1327F1",
            "destination": "9213d63daa6e8416ab4f0cc1bb0f23e4f78cfe42e4c5193b2102ab5844371f7b"
        },
        "correlationid": "",
        "callbackData": "",
        "transid": "092dbe6d-bd84-458d-9c34-634b6adaa164_5854_13218_1"
    }
}
{
  "deliveryInfoNotification": {
    "deliveryInfo": {
      "deliveryChannel": "push",
      "pushId": "9213d63daa6e8416ab4f0cc1bb0f23e4f78cfe42e4c5193b2102ab5844371f7b",
      "Description": "Read",
      "destinationType": "customerid",
      "timeStamp": "2016-07-28T11:47:46.966",
      "code": "7502",
      "deliveryStatus": "Read",
      "deviceid": "B35D29526278417E802018C938C03791",
      "destination": "8953"
    },
    "correlationid": "",
    "callbackData": "",
    "transid": "eeeb0f17-485b-418b-9597-db20013b0e4a"
  }
}
{
  "deliveryInfoNotification": {
    "deliveryInfo": {
      "deliveryChannel": "push",
      "pushId": "96bb14b895bb10788ae3216172f8409f33b7deacd7a37607254fb3aff64d7316",
      "Description": "Unknown",
      "destinationType": "ios_pushid",
      "timeStamp": "2016-08-25T10:24:05.595",
      "code": "7518",
      "deliveryStatus": "Failed",
      "deviceid": "8BFE0D5DE0FE42948849D75146C43746",
      "destination": "96bb14b895bb10788ae3216172f8409f33b7deacd7a37607254fb3aff64d7316"
    },
    "correlationid": "",
    "callbackData": "",
    "transid": "6b91a963-37ee-4dd9-8aa4-07381d907ef1_2"
  }
}

iOS Application States

The three application states for an iOS application are defined in the table below. Depending on these states, the OS will decide whether the notification will be passed to the app or not.

StateDescriptionPush with AlertSilent PushDR status
ActiveThe application is currently open, running in foreground, and is receiving events.YesYesReceived
BackgroundThe application is used in the background and is executing code. Most applications enter this state on their way to being suspended (that is, when user clicks on the button home/switch to another application). In this case, the app is still visible in the app switcher.NoYesReceived
TerminatedThe application is not launched after a reboot or was running, but was terminated by the system.NoNoDelayed
SuspendedThe application transitions to this state when it was in background for a long time. The application is still in memory, but does not execute any code.NoNoNot received

Web

{
    "deliveryInfoNotification": {
        "deliveryInfo": {
            "deliveryChannel": "push",
            "pushId":"https://updates.push.services.mozilla.com/push/v1/gAAAAABXjykYLW_N0yN58t15cBiMH6",
            "Description": "Submited",
            "destinationType": "firefox_pushid",
            "timeStamp": "2016-07-22T15:26:32.445Z",
            "code": "7501",
            "deliveryStatus": "Submited",
            "destination": "https://updates.push.services.mozilla.com/push/v1/gAAAAABXjykYLW_N0yN58t15cBiMH6"
        },
        "correlationid": "",
        "callbackData": "return callbackdata",
        "transid": "99ef31c6-40a5-474b-a01e-d458f0638912"
    }
}
{
    "deliveryInfoNotification": {
        "deliveryInfo": {
            "deliveryChannel": "push",
            "pushId": "https://updates.push.services.mozilla.com/push/v1/gAAAAABXjykYLW_N0yN58t15cBiMH6",
            "Description": "Delivered",
            "destinationType": "firefox_pushid",
            "timeStamp": "2016-07-22 15:26:34",
            "code": "7500",
            "deliveryStatus": "Delivered",
            "destination": "https://updates.push.services.mozilla.com/push/v1/gAAAAABXjykYLW_N0yN58t15cBiMH6"
        },
        "correlationid": "",
        "callbackData": "return callbackdata",
        "transid": "99ef31c6-40a5-474b-a01e-d458f0638912"
    }
}
{
    "deliveryInfoNotification": {
        "deliveryInfo": {
            "deliveryChannel": "push",
            "pushId": "https://updates.push.services.mozilla.com/push/v1/gAAAAABXjykYLW_N0yN58t15cBiMH6",
            "Description": "Read",
            "destinationType": "firefox_pushid",
            "timeStamp": "2016-07-22 15:26:36",
            "code": "7502",
            "deliveryStatus": "Read",
            "deviceid": "",
            "destination": "https://updates.push.services.mozilla.com/push/v1/gAAAAABXjykYLW_N0yN58t15cBiMH6"
        },
        "correlationid": "",
        "callbackData": "return callbackdata",
        "transid": "99ef31c6-40a5-474b-a01e-d458f0638912"
    }
}
{
    "deliveryInfoNotification": {
        "deliveryInfo": {
            "deliveryChannel": "push",
            "pushId": "dU3oZ0mrsxc:APA91bFC1HURlvvqlS_jjQdvyUom5GaFABwPKti61H5rGxvX3jCxv1KFvnCiOsrwWNbvBe_3LB6fmODOfvT7YVeS9siotTQkSgV-AP-aQ8hoppslUamRHbSPL0qEY7f9WZ4yL3-HaApf",
            "Description": "Submited",
            "destinationType": "chrome_pushid",
            "timeStamp": "2016-08-16T11:19:03.147",
            "code": "7501",
            "deliveryStatus": "Submitted",
            "deviceid": "2867414f_6aed_4de5_b91a_eb245b83c89b",
            "destination": "dU3oZ0mrsxc:APA91bFC1HURlvvqlS_jjQdvyUom5GaFABwPKti61H5rGxvX3jCxv1KFvnCiOsrwWNbvBe_3LB6fmODOfvT7YVeS9siotTQkSgV-AP-aQ8hoppslUamRHbSPL0qEY7f9WZ4yL3-HaApf"
        },
        "correlationid": "",
        "callbackData": "",
        "transid": "092dbe6d-bd84-458d-9c34-634b6adaa164_5854_13218_2"
    }
}
{
  "deliveryInfoNotification": {
    "deliveryInfo": {
      "deliveryChannel": "push",
      "pushId": "eNpx1qA9i6Y:APA91bEERj8zTxfruOD1GMw0DSwUNr0Oz_i4HXO8MLPQs9DD6dTg6TLxswSRtM1hj7xyRlRNRBhIWZZloCKtN6UYI1QEwEY0L4ei0sdStBk9PeITVf91VQ8icLCU45fZ8lOGh2hZDIH-",
      "Description": "Delivered",
      "destinationType": "chrome_pushid",
      "timeStamp": "2016-08-16 11:19:03",
      "code": "7500",
      "deliveryStatus": "Delivered",
      "deviceid": "c187141a_1c29_4ea3_80f9_82cf9ed4e151",
      "destination": "eNpx1qA9i6Y:APA91bEERj8zTxfruOD1GMw0DSwUNr0Oz_i4HXO8MLPQs9DD6dTg6TLxswSRtM1hj7xyRlRNRBhIWZZloCKtN6UYI1QEwEY0L4ei0sdStBk9PeITVf91VQ8icLCU45fZ8lOGh2hZDIH-"
    },
    "correlationid": "",
    "callbackData": "",
    "transid": "092dbe6d-bd84-458d-9c34-634b6adaa164_5854_13218_3"
  }
}
{
  "deliveryInfoNotification": {
    "deliveryInfo": {
      "deliveryChannel": "push",
      "pushId": "dU3oZ0mrsxc:APA91bFC1HURlvvqlS_jjQdvyUom5GaFABwPKti61H5rGxvX3jCxv1KFvnCiOsrwWNbvBe_3LB6fmODOfvT7YVeS9siotTQkSgV-AP-aQ8hoppslUamRHbSPL0qEY7f9WZ4yL3-HaApf",
      "Description": "Read",
      "destinationType": "chrome_pushid",
      "timeStamp": "2016-08-16 12:28:32",
      "code": "7502",
      "deliveryStatus": "Read",
      "deviceid": "2867414f_6aed_4de5_b91a_eb245b83c89b",
      "destination": "dU3oZ0mrsxc:APA91bFC1HURlvvqlS_jjQdvyUom5GaFABwPKti61H5rGxvX3jCxv1KFvnCiOsrwWNbvBe_3LB6fmODOfvT7YVeS9siotTQkSgV-AP-aQ8hoppslUamRHbSPL0qEY7f9WZ4yL3-HaApf"
    },
    "correlationid": "",
    "callbackData": "",
    "transid": "4240455b-92f1-49d4-b835-f4752d104847_1"
  }
}