Skip to main content
Skip table of contents

Message formats

The format of the message that is received by a client and how the client is expected to handle it depend on the type of message.

In general, all messages share the same top-level format:

JSON
{
  "notification": {
    "body": "<notification_body>",
    "title": "<notification_title>"
  },
  "data": { 
    "body": "<data_body>", 
    "title": "<data_title>",
    "referenceType": "{NOTIFICATION_UPDATE|ENTITLEMENT_UPDATE|EPG_UPDATE|EAS_UPDATE}" 
  }
}

The message is delivered as stringified JSON, and is shown here as regular JSON for readability.

The client should:

See also

Managing messaging

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.