Search…
Templates
Templates let you save pre-formatted messages for using it directly with holopush and A/B Test.
post
http://server-v1.2mee.com/notification/stock
Template creation
Select Library -> Templates from Header Menu
Select Create HoloPush Template
Select Hologram
Choose the hologram item to be added to the template
Pre-fill the message details and save the template
1
$ curl 'http://server-v1.2mee.com/notification/stock?stockId=' -i -X POST -H 'Content-Type: application/json' -H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTU4OTQ1NTc0OSwiaWF0IjoxNTg5NDM3NzQ5fQ.U2VtugGzqD0s9p0rUXaTxk8F5tHeMf5SB4ZRnYM8TV4QQm6y2FvdFIfD6kjQOhcYuPglSusAjVegzHqDKGgCqA' -d '{
2
"appId" : "bacb37d0-a51f-491b-bd68-489c245b8c16",
3
"title" : "Title of the Message",
4
"subtitle" : "SubTitle of the Message",
5
"text" : "Body of the Message",
6
"action" : "Open",
7
"fbTitle" : "FallBack Title of the Message",
8
"fbSubtitle" : "Fallback SubTitle of the Message",
9
"fbText" : "FallBack Text of the Message",
10
"expiry" : 1440,
11
"template" : 1,
12
"about" : [],
13
"favourite" : 0,
14
"type" : "HOLOPUSH",
15
"channel" : "PUSH"
16
}'
Copied!
Last modified 8mo ago
Copy link