Search
⌃K

Templates

Templates let you save pre-formatted messages for using it directly with holopush and A/B Test.
post
https://exchange-prod-g.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
$ curl 'https://exchange-prod-g.2mee.com/notification/stock?stockId=' -i -X POST -H 'Content-Type: application/json' -H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0aW5ndGVhbUAybWVlLmNvbSIsImV4cCI6MTU4OTQ1NTc0OSwiaWF0IjoxNTg5NDM3NzQ5fQ.U2VtugGzqD0s9p0rUXaTxk8F5tHeMf5SB4ZRnYM8TV4QQm6y2FvdFIfD6kjQOhcYuPglSusAjVegzHqDKGgCqA' -d '{
"appId" : "bacb37d0-a51f-491b-bd68-489c245b8c16",
"title" : "Title of the Message",
"subtitle" : "SubTitle of the Message",
"text" : "Body of the Message",
"action" : "Open",
"fbTitle" : "FallBack Title of the Message",
"fbSubtitle" : "Fallback SubTitle of the Message",
"fbText" : "FallBack Text of the Message",
"expiry" : 1440,
"template" : 1,
"about" : [],
"favourite" : 0,
"type" : "HOLOPUSH",
"channel" : "PUSH"
}'
Last modified 1mo ago