Push Integrations

Courier supports a number of Push Providers. Each provider has different requirements that need to be met to deliver a message to a recipient. Learn more about each providers requirements by selecting one on the left.

Can't find a provider? Shoot us a message using Intercom at the bottom of this page.

Push channel-level overrides

Push channel overrides allow you to set the body, clickAction, data, icon, and title via an override that will apply to all push channels within a template.

Here is the override data structure for the email channel override:

{
  //rest of request
  "override": {
    "channel": {
      "push": {
        "body": "",
        "clickAction": "",
        "data": "",
        "icon": "",
        "title": ""
      }
    }
  }
}

Tracking

Courier will attach a trackingUrl for all push requests that allow the state of the push notification to be updated. Please select a provider on the left to see details about where the tracking URL can be found. To update the status of a notification, the Courier client-side authentication token can be used.

Example Message

 {
  "data": {
    "message": {
      "data": {
        "trackingUrl": "https://api.courier.com/e/123_channelTrackingId",
        // other data attributes
      },
      // other messages attributes
    }
  }
}

Example Request

fetch("https://api.courier.com/e/123_channelTrackingId", {
  method: "POST",
  headers: {
    "X-Courier-Client-Key": "YOUR_COURIER_CLIENT_KEY",
  },
  body: JSON.stringify({ 
    "event": "OPENED" // CLICKED, DELIVERED, OPENED, READ, UNREAD
  }),
})

Did this page help you?