Standard Notification

A standard notification is a basic notification with no content. title and message will appear in the alert that will appear when a notification is sent to a devices. iOS devices support also a subTitle field.

*Remember you must have already created a segment to send a notification. See our creating segments help guide on how to create segments*

POST /v1/push
{
  "type": "STANDARD",
  "personalisation": {},
  "title": "Simple notification",
  "message": "Morning to all my minions!",
  "segment": {
    "id": "2af0921a-0190-47ce-99d4-73415b0bc08f"
  },
  "subTitle": "I only show on iOS devices"
}

Android devices accept sending banner images instead of a text based alert. To fire off a notification with a banner image, just add an item in the content field with a presentation of "BANNER". You must have already uploaded a content item. See our uploading content help guide for more

POST /v1/push
{
  "type": "STANDARD",
  "title": "Hello world",
  "message": "foo bar",
  "segment": {
    "id": "5389b7f2-1a62-47e2-91f4-8b52b3a34a2d"
  },
  "contents": [
    {
      "contentItem": {
        "id": "f4ae6e72-3076-4a8c-a4af-f848cda79e7a"
      },
      "presentation": "BANNER"
    }
  ]
}

You can also include personalisation, which is explained in greater detail here