Search
K

HoloLibrary

HoloLibrary lets you save your favourite 2mee Holograms which can be used any number of times to send out messages.
post
https://exchange-prod-g.2mee.com/notification/fromStock
HoloPush message from library
curl 'https://exchange-prod-g.2mee.com/notification/fromStock?stockId=90381a59-0042-4ac3-8e5b-5a17445f3855' -i -X POST -H 'Content-Type: application/json' -H 'Authorization: Bearer <Token>' -d '{ "appId" : "bacb37d0-a51f-491b-bd68-489c245b8c16", "title" : "HOLOPUSH Message from API", "subtitle" : "HOLOPUSH Message from API", "text" : "HOLOPUSH Message from API", "action" : "Close", "fbTitle" : "FallBack Title of the Message", "fbSubtitle" : "Fallback SubTitle of the Message","fbText" : "FallBack Text of the Message", "expiry" : 1440,"playTime" : 1603189284000, "about" : [], "type" : "HOLOPUSH"}'
post
https://exchange-prod-g.2mee.com/notification/fromStock/uploadUser
HoloPush message from HoloLibrary with CSV user file
curl -X POST "https://exchange-prod-g.2mee.com/notification/fromStock/uploadUser?stockId=29391ea7-4201-47fa-a76b-428fb26b162c" -H "Content-Type: multipart/form-data" -H "Authorization: Bearer <Token>" "accept: */*" -F "file=@/Users/shrinidhidurairaj/Downloads/userid.csv" -F "notification={\"appId\" : \"bacb37d0-a51f-491b-bd68-489c245b8c16\", \"title\" : \"HOLOPUSH Message from API\", \"subtitle\" : \"HOLOPUSH Message from API\", \"text\" : \"HOLOPUSH Message from API\",\"action\" : \"Close\", \"fbTitle\" : \"FallBack Title of the Message\", \"fbSubtitle\" : \"Fallback SubTitle of the Message\",\"fbText\" : \"FallBack Text of the Message\", \"expiry\" : 1440,\"playTime\" : 1603868228000, \"about\" : [], \"priority\" : \"LOW\",\"favourite\" : 0,\"type\" : \"HOLOPUSH\", \"channel\" : \"PUSH\"};type=application/json" | jq '.'
get
https://exchange-prod-g.2mee.com/holoPush/stock/list/onlyTitle
List the holograms present in HoloLibrary
curl 'https://exchange-prod-g.2mee.com/holoPush/stock/list/onlyTitle?appId=bacb37d0-a51f-491b-bd68-489c245b8c16&page=0' -i -X GET -H 'Authorization: Bearer <Token>'
Last modified 5mo ago