Custom RSS Feed template


I currently have a rss feed notification working with the following template:

{"device_types": ["ios"], "notification": {"ios": {"sound": "default", "badge": 1, "alert": "Nuevo Articulo! - {{ title }}"}}, "audience": "all"}

I would like to add a custom key to the template to pass the {{ url }}, I tried to modify the template to:

{"device_types": ["ios"], "notification": {"ios": {"sound": "default", "badge": 1, "alert": "Nuevo Articulo! - {{ title }}"}}, "audience": "all", "articleLink": "{{ url }}"}

But im getting the following error when I try to test the template:

* template

* Could not parse request body.

Is there anyway I can add the custom key to the template? According to the apple apps documentation I should be able to add custom payload to the notifications.

Didn't find what you were looking for?

New post


1 comment

  • Hi Eduardo,

    This is Sean with Urban Airship Technical Support.

    It looks like there is an error in your template. Any extra key/value pair should be placed in the "extra" property of the platform override. You can find more information about the Platform Override portion of the payload in our Documentation.

    Here is what your template would look like with the changes made:

      "device_types": [
      "notification": {
        "ios": {
          "sound": "default",
          "badge": 1,
          "alert": "Nuevo Articulo! - {{ title }}",
          "extra": { "articleLink": "{{ url }}" }
      "audience": "all"

    Please let me know if you have any other questions or concerns.



    Comment actions Permalink

Please sign in to leave a comment.