Hi,

I want to send in the notification a deeplink. What i want to know is if it's possible send this by using remote api and if yes, which tag i should use? I can send this on push woosh console but i can't find how send this in the remote api.

Thanks,

asked 06 Sep '16, 14:33
vmfo22's gravatar image

vmfo22
112

Hello,

It is quite simple.

In order to send a Deep Link via API, you should use the "link" parameter for the actual link, however please make sure to add "minimize_link": 0 to your /createMessage API request, so that the link is not minimized / validated on our backend:

{
    "request": {
        "application": "APPLICATION_CODE",
        "auth": "API_ACCESS_TOKEN",
        "notifications": [{
            "send_date": "now",
            "ignore_user_timezone": true,
            "content": "Hello world!",
            "link": "YOUR_DEEPLINK_HERE",
            "minimize_link": 0
        }]
    }
}
permanent link
answered 08 Sep '16, 09:15
Max%20Kuzakov's gravatar image

Max Kuzakov
4165

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×446
×353
×190
×83

question asked: 06 Sep '16, 14:33

question was seen: 1,060 times

last updated: 08 Sep '16, 09:15