{"info":{"_postman_id":"8cabb950-4453-4871-855d-8188e8edce91","name":"Appgain.io","description":"<html><head></head><body><p>Appgain.io OmniChannel Messaging Platform </p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"4679101","collectionId":"8cabb950-4453-4871-855d-8188e8edce91","publishedId":"T17KeScV","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2023-03-26T14:52:05.000Z"},"item":[{"name":"Campaigns","item":[{"name":"smart Deep Link","item":[{"name":"create SmartLink","event":[{"listen":"test","script":{"id":"9230f113-9bc3-4c05-a38f-be46be51a1e6","exec":["pm.test(\"Status code is 201\", function () {","    pm.response.to.have.status(201);","});"],"type":"text/javascript"}}],"id":"42839145-33b1-4520-890e-019f864c535b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"appApiKey","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"description\": \"Product description\",\r\n    \"name\": \"Product SKU\",\r\n    \"targates\": {\r\n        \"android\": {\r\n            \"primary\": \"myapp://product/SKU\",\r\n            \"fallback\": \"https://mywebsite/productSKU\"\r\n        },\r\n        \"web\": \"https://mywebsite/\",\r\n        \"ios\": {\r\n            \"primary\": \"myapp://product/SKU\",\r\n            \"fallback\": \"https://mywebsite/productSKU\"\r\n        }\r\n    },\r\n    \"params\": [\r\n        {\r\n            \"k1\": \"v1\"\r\n        },\r\n        {\r\n            \"k2\": \"v2\"\r\n        }\r\n    ],\r\n    \"launch_page\": {\r\n        \"header\": \"Please Wait...\"\r\n    },\r\n    \"image\": \"https://mywebsite/productsImgs/SKU.png\",\r\n    \"web_push_subscription\": false,\r\n    \"tag\": \"product\",\r\n    \"media_source\": \"AppShare\",\r\n    \"FBpixel_tracking\": true,\r\n    \"twitter_pixel_tracking\": true,\r\n    \"google_ads_pixel_tracking\": true,\r\n    \"linkedIn_pixel_tracking\": true,\r\n    \"snapchat_pixel_tracking\": true,\r\n    \"tiktok_pixel_tracking\": true,\r\n}"},"url":"https://mysubdomain.appgain.io/apps/{{projectId}}/smartlinks","urlObject":{"protocol":"https","path":["apps","{{projectId}}","smartlinks"],"host":["mysubdomain","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"42839145-33b1-4520-890e-019f864c535b"},{"name":"create Smart Link Bulk","id":"ed5f3259-78d2-40d2-8227-579136140d6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"appApiKey","value":"{{api_key}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/home/sfwat/Downloads/sdl_bulk.csv"}]},"url":"https://mysubdomain.appgain.io/apps/{{projectId}}/smartlinksbulk?email={{email}}&userId=userId","urlObject":{"protocol":"https","path":["apps","{{projectId}}","smartlinksbulk"],"host":["mysubdomain","appgain","io"],"query":[{"key":"email","value":"{{email}}"},{"key":"userId","value":"userId"}],"variable":[]}},"response":[],"_postman_id":"ed5f3259-78d2-40d2-8227-579136140d6d"}],"id":"3b649799-cee0-4235-a1c4-1c6de2e2d6bb","_postman_id":"3b649799-cee0-4235-a1c4-1c6de2e2d6bb","description":""},{"name":"rich push notification","item":[{"name":"send apppush webview","id":"48253a6a-6616-4dce-bd1a-0246595a6862","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"{\n\t\"appPush\": {\n\t\t\"message\":\"testpush \",\n         \"sound\": \"default\",\n        \"campaignName\": \"campName\",\n        \"type\": \"webView\",\n        \"mutable-content\": 1,\n         \"category\": \"rich-apns\",\n        \"image-url\": \"https://content.quantatel.com/ikhair/images/activites/KafaltYateem_1043.png\",\n        \"attachment\": \"https://ihsan.ikhair.net/ml/pcase242/\"\n,        \n\t\t\"receivers\": [\n\t\t\t{\n\t\t\t\t\"userID\": \"P1NXQ3jTW0\"\n\t\t\t}\n\t\t]\n\t}\n}"},"url":"https://notify.appgain.io/{{projectId}}/send","urlObject":{"protocol":"https","path":["{{projectId}}","send"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"48253a6a-6616-4dce-bd1a-0246595a6862"},{"name":"send apppush gif","id":"108500b9-c6ec-48e8-9a7c-148974c60c9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"{\n    \"appPush\": {\n       \"message\":\"testpush \",\n       \"sound\":\"default\",\n        \"campaignName\":\"campName\",\n        \"type\":\"gif\",\n        \"mutable-content\": 1,\n        \"content-available\":1 ,\n\t\t\"category\": \"rich-apns\",\n        \"attachment\": \"https://media.giphy.com/media/13gvXfEVlxQjDO/giphy.gif\",\n        \"receivers\": [\n            {\n                \"userID\": \"P1NXQ3jTW0\"\n            }\n        ]\n    }\n}"},"url":"https://notify.appgain.io/{{projectId}}/send","urlObject":{"protocol":"https","path":["{{projectId}}","send"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"108500b9-c6ec-48e8-9a7c-148974c60c9b"},{"name":"send apppush text","id":"07ed7564-b828-4887-8788-a0de08879007","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"{\n\t\"appPush\": {\n\t\t\"message\":\"Test Push\",\n\t\t\"sound\":\"default\",\n\t\t\"campaignName\":\"campName\",\n\t\t\"receivers\": [\n\t\t\t{\n\t\t\t\t\"userID\": \"P1NXQ3jTW0\"\n\t\t\t}\n\t\t]\n\t},\n\t\"campaign_name\":\"campName\"\n}"},"url":"https://notify.appgain.io/{{projectId}}/send","urlObject":{"protocol":"https","path":["{{projectId}}","send"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"07ed7564-b828-4887-8788-a0de08879007"},{"name":"send apppush text and image","id":"a311e1f3-37eb-4dd2-ba22-544adcb4cfef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"appapikey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"{\n    \"appPush\": {\n        \"message\": \"testpush \",\n        \"sound\": \"default\",\n        \"campaignName\": \"campName\",\n        \"type\": \"photo\",\n        \"mutable-content\": 1,\n        \"url\": \"https://m.ikhair.net/ml/darelber/\",\n        \"category\": \"rich-apns\",\n        \"attachment\": \"https://content.quantatel.com/ikhair/images/activites/KafaltYateem_1043.png\",\n        \"image-url\": \"https://content.quantatel.com/ikhair/images/activites/KafaltYateem_1043.png\",\n        \"receivers\": [\n            {\n                \"userID\": \"2hiCNcsGk7\"\n            }\n        ]\n    }\n}"},"url":"https://notify.appgain.io/{{projectId}}/send","urlObject":{"protocol":"https","path":["{{projectId}}","send"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"a311e1f3-37eb-4dd2-ba22-544adcb4cfef"},{"name":"send apppush text and url","id":"18c09762-5bc1-4b68-bf1d-5b286cb42cc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"{\n\t\"appPush\": {\n\t\t\"message\": \"test Push \",\n\t\t\"sound\":\"default\",\n\t\t\"campaignName\":\"campName\",\n\t\t\"url\" : \"my URL\"\n\t\t\n\t}\n}"},"url":"https://notify.appgain.io/{{projectId}}/send","urlObject":{"protocol":"https","path":["{{projectId}}","send"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"18c09762-5bc1-4b68-bf1d-5b286cb42cc7"},{"name":"send apppush youtube webview","id":"2cc09af2-59d2-43db-a0bc-255a7d076e95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"{\n    \"appPush\": {\n        \"message\": \"testpush \",\n        \"type\": \"htmlWebView\",\n        \"call2action\": \"https://www.google.com.eg/\",\n        \"mutable-content\": 1,\n        \"category\": \"rich-apns\",\n        \"image-url\": \"https://content.quantatel.com/ikhair/images/activites/KafaltYateem_1043.png\",\n        \"orientation\": \"landscape\",\n        \"attachment\": \"<iframe width=\\\"560\\\" height=\\\"315\\\" src=\\\"https://www.youtube.com/embed/b0RqsORDYVU\\\" frameborder=\\\"0\\\" allow=\\\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\\\" allowfullscreen></iframe>\",\n        \"sound\": \"default\",\n        \"receivers\": [\n            {\n                \"userID\": \"2hiCNcsGk7\"\n            }\n        ]\n    }\n}"},"url":"https://notify.appgain.io/{{projectId}}/send","urlObject":{"protocol":"https","path":["{{projectId}}","send"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"2cc09af2-59d2-43db-a0bc-255a7d076e95"},{"name":"send apppush silent push","id":"2f26cabf-7479-4d53-88be-3d116a3d2924","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"{\n\t\"appPush\": {\n        \"content-available\": 1,\n        \"sound\": \"\",\n        \"op\": \"update\",\n\t\t\"receivers\": [\n\t\t\t{\n\t\t\t\t\"userID\": \"2hiCNcsGk7\"\n\t\t\t}\n\t\t]\n\t}\n}"},"url":"https://notify.appgain.io/{{projectId}}/send","urlObject":{"protocol":"https","path":["{{projectId}}","send"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f26cabf-7479-4d53-88be-3d116a3d2924"},{"name":"send apppush htmlwebview","id":"1d86f83d-3801-4081-ab7f-c20d026e759a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"{\n    \"appPush\": {\n        \"message\": \"Test Push\",\n        \"type\": \"htmlWebView\",\n        \"image-url\": \"https://content.quantatel.com/ikhair/images/activites/KafaltYateem_1043.png\",\n        \"sound\": \"default\",\n        \"campaignName\": \"campName\",\n        \"mutable-content\": 1,\n        \"category\": \"rich-apns\",\n        \"attachment\": \"<iframe width=\\\"560\\\" height=\\\"315\\\" src=\\\"https://www.youtube.com/embed/K9INsERNFUo\\\" frameborder=\\\"0\\\" allow=\\\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\\\" allowfullscreen></iframe>\",\n        \"receivers\": [\n            {\n                \"userID\": \"2hiCNcsGk7\"\n            }\n        ]\n    }\n}"},"url":"https://notify.appgain.io/{{projectId}}/send","urlObject":{"protocol":"https","path":["{{projectId}}","send"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"1d86f83d-3801-4081-ab7f-c20d026e759a"},{"name":"send apppush video url","id":"3524af92-ca9e-46e0-b72f-688f59a87287","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"{\n    \"appPush\": {\n        \"message\": \"testpush\",\n        \"sound\": \"default\",\n        \"campaignName\": \"campName\",\n        \"type\": \"video\",\n        \"mutable-content\": 1,\n        \"category\": \"rich-apns\",\n        \"attachment\": \"https://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4\",\n        \"receivers\": [\n            {\n                \"userID\": \"1hMacO5ja9\"\n            }\n        ]\n    }\n}"},"url":"https://notify.appgain.io/{{projectId}}/send","urlObject":{"protocol":"https","path":["{{projectId}}","send"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"3524af92-ca9e-46e0-b72f-688f59a87287"},{"name":"send apppush","id":"2345b4fd-3672-4ec1-a6b6-302674f95ddd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"{\n    \"appPush\": {\n        \"template_name\":\"appPush\",\n        \"message\": \"Testing team\",\n        \"$variable2\": \"welcome mohamed\",\n        \"$variable1\":\"hope you are fine\",\n        \"sound\":\"default\",\n        \"receivers\": [\n            {\n                \"userID\": \"YcHroZgLkX\"\n            }\n        ]\n    }\n}"},"url":"https://notify.appgain.io/{{projectId}}/send","urlObject":{"protocol":"https","path":["{{projectId}}","send"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"2345b4fd-3672-4ec1-a6b6-302674f95ddd"}],"id":"377f71a7-2e47-4175-b2c9-0c64755f8bd3","_postman_id":"377f71a7-2e47-4175-b2c9-0c64755f8bd3","description":""},{"name":"email","item":[{"name":"send email","id":"e6b3d28b-5405-49b2-a401-982e7ae75d12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"{\n\t\"email\": {\n\t\t\"message\": \"<H1>asdasdas</H1>\",\n\t\t\"template_name\":\"HTML_Invoice\",\n\t\t\"subject\":\"test\",\n\t\t\"type\":\"HTML\",\n\t\t\"receivers\": [\n\t\t\t{\n\t\t\t\t\"userID\": \"12321\",\n\t\t\t\t\"email\": \"m.shaheen@appgain.io\"\n\t\t\t}\n\t\t]\n\t}\n}"},"url":"https://notify.appgain.io/{{projectId}}/send","urlObject":{"protocol":"https","path":["{{projectId}}","send"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6b3d28b-5405-49b2-a401-982e7ae75d12"},{"name":"send email to specific users","id":"0334db2a-b95a-45ad-b352-e15427b3e140","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"{\n\t\"email\": {\n\t\t\"message\": \"<H1>asdasdas</H1>\",\n\t\t\"template_name\":\"HTML_Invoice\",\n\t\t\"subject\":\"test\",\n\t\t\"type\":\"HTML\",\n\t\t\"users_id\":\"3232,uuia\"\n\t}\n}"},"url":"https://notify.appgain.io/{{projectId}}/send","urlObject":{"protocol":"https","path":["{{projectId}}","send"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"0334db2a-b95a-45ad-b352-e15427b3e140"},{"name":"send email to all users","id":"3c3bb1e1-a0b2-4e49-a525-c8bfcc1e9710","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"{\n\t\"email\": {\n\t\t\"message\": \"<H1>asdasdas</H1>\",\n\t\t\"template_name\":\"HTML_Invoice\",\n\t\t\"subject\":\"test\",\n\t\t\"type\":\"HTML\"\n\t}\n}"},"url":"https://notify.appgain.io/{{projectId}}/send","urlObject":{"protocol":"https","path":["{{projectId}}","send"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c3bb1e1-a0b2-4e49-a525-c8bfcc1e9710"}],"id":"afe36059-23ad-4a00-bfbf-ff02ea08355b","_postman_id":"afe36059-23ad-4a00-bfbf-ff02ea08355b","description":""},{"name":"SMS","item":[{"name":"sms subscribe ","item":[{"name":"sms subscribe","id":"c5dbe62a-8257-4fe7-be22-c55812af5f9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"mobile_number\": \"010931555077\",\n     \"target_list_name\": \"test\"\n}"},"url":"https://notify.appgain.io/{{projectId}}/smsSubscribe","urlObject":{"protocol":"https","path":["{{projectId}}","smsSubscribe"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"c5dbe62a-8257-4fe7-be22-c55812af5f9d"},{"name":"sms un subscribe","id":"45433fcc-d59f-4f76-a795-9e461932f20f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"mobile_number\": \"010931555077\",\n     \"target_list_name\": \"test\"\n}"},"url":"https://notify.appgain.io/{{projectId}}/smsUnSubscribe","urlObject":{"protocol":"https","path":["{{projectId}}","smsUnSubscribe"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"45433fcc-d59f-4f76-a795-9e461932f20f"}],"id":"178b4c05-69b4-4fdd-8cd2-1aa2c7fb9104","_postman_id":"178b4c05-69b4-4fdd-8cd2-1aa2c7fb9104","description":""},{"name":"send sms specific usersid","id":"2047c13a-22a7-4139-bfbe-651577333cda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"{\n    \"SMS\": {\n        \"message\": \"Testing team\",\n        \"users_id\": \"3232,192837465\"\n    }\n}"},"url":"https://notify.appgain.io/{{projectId}}/send","urlObject":{"protocol":"https","path":["{{projectId}}","send"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"2047c13a-22a7-4139-bfbe-651577333cda"},{"name":"send sms all users","id":"2ea06c31-becf-493e-a43b-8d6ede538f6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"{\n  \"SMS\": {\n    \"message\": \"test SMS to target list in sms\"\n\n  }\n}"},"url":"https://notify.appgain.io/{{projectId}}/send","urlObject":{"protocol":"https","path":["{{projectId}}","send"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ea06c31-becf-493e-a43b-8d6ede538f6e"},{"name":"send sms -to target list","id":"d0c3635e-d7b3-4f8b-af6f-43a14d1e010d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"{\n  \"SMS\": {\n    \"message\": \"test SMS to target list in sms\"\n    ,\"target_list_name\": \"unifonic\"\n    \n  }\n}"},"url":"https://notify.appgain.io/5cf4e16b3179b9200dfd3b4b/send","urlObject":{"protocol":"https","path":["5cf4e16b3179b9200dfd3b4b","send"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"d0c3635e-d7b3-4f8b-af6f-43a14d1e010d"},{"name":"send sms -to spefic numbers","id":"02736fd8-9c53-4d0b-be8a-be2d5a7b1848","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"{\n    \"SMS\": {\n        \"message\": \"Testing team\",\n        \"receivers\": [\n            {\n                \"userID\": \"233\",\n                \"mobileNum\": \"00971559475149\"\n            }\n        ]\n    }\n}"},"url":"https://notify.appgain.io/{{projectId}}/send","urlObject":{"protocol":"https","path":["{{projectId}}","send"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"02736fd8-9c53-4d0b-be8a-be2d5a7b1848"}],"id":"0106892d-de73-401d-aa86-139021ae599d","_postman_id":"0106892d-de73-401d-aa86-139021ae599d","description":""},{"name":"webpush","item":[{"name":"send webpush","id":"44fe2d9f-a515-4320-94ba-ba8624b009e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"appapikey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"\n{\n\"webPush\": {\n        \"template_name\":\"webPush\",\n        \"message\": \"Testing team\",\n        \"$variable2\": \"welcome mohamed\",\n        \"$variable1\":\"hope you are fine\",\n            \"userId\": \"1010\"\n        }\n}\n"},"url":"https://notify.appgain.io/{{projectId}}/send","urlObject":{"protocol":"https","path":["{{projectId}}","send"],"host":["notify","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"44fe2d9f-a515-4320-94ba-ba8624b009e6"}],"id":"7b4260e2-5e5d-445b-bbd7-b43580a459a3","_postman_id":"7b4260e2-5e5d-445b-bbd7-b43580a459a3","description":""},{"name":"Automation","item":[{"name":"fire automessage","id":"0462c94b-cefe-435c-a844-426407af8d63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"appApiKey","value":"{{api_key}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://automator.appgain.io/automessages/{{projectId}}/firevent/{{triggerPointName}}/userId","urlObject":{"protocol":"https","path":["automessages","{{projectId}}","firevent","{{triggerPointName}}","userId"],"host":["automator","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"0462c94b-cefe-435c-a844-426407af8d63"},{"name":"cancel automessage","id":"413675d1-065f-499e-a99a-4aab271df3f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"appApiKey","value":"{{api_key}}"}],"url":"https://automator.appgain.io/automessages/{{projectId}}/firevent/{{triggerPointName}}/userId","urlObject":{"protocol":"https","path":["automessages","{{projectId}}","firevent","{{triggerPointName}}","userId"],"host":["automator","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"413675d1-065f-499e-a99a-4aab271df3f9"}],"id":"19a8e184-b9f4-46cf-b6f0-7f8738a71356","_postman_id":"19a8e184-b9f4-46cf-b6f0-7f8738a71356","description":""}],"id":"4a2127e5-0950-4318-8967-53bd56106a30","_postman_id":"4a2127e5-0950-4318-8967-53bd56106a30","description":""},{"name":"Media library","item":[{"name":"upload photo","id":"8c83f497-a28e-490a-a924-6e3c038673e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"appApiKey","value":"{{api_key}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"photo","type":"file","src":"/home/sfwat/Downloads/Untitled-1.png"}]},"url":"https://mysubdomain.appgain.io/{{projectId}}/upload","urlObject":{"protocol":"https","path":["{{projectId}}","upload"],"host":["mysubdomain","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"8c83f497-a28e-490a-a924-6e3c038673e1"},{"name":"upload video","id":"1ec35a88-896c-41ad-833d-8d644df14a5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"appApiKey","type":"text","value":"{{api_key}}"}],"body":{"mode":"formdata","formdata":[{"key":"video","type":"file","src":"/home/sfwat/Downloads/Untitled_ Jun 10 2020 9_50 AM.mp4"}]},"url":"https://mysubdomain.appgain.io/{{projectId}}/upload","urlObject":{"protocol":"https","path":["{{projectId}}","upload"],"host":["mysubdomain","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"1ec35a88-896c-41ad-833d-8d644df14a5e"},{"name":"list media files","id":"66ea3ef6-9c15-4f83-aebd-3e135505cb30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"appApiKey","value":"{{api_key}}","type":"text"}],"url":"https://mysubdomain.appgain.io/{{projectId}}/upload","urlObject":{"protocol":"https","path":["{{projectId}}","upload"],"host":["mysubdomain","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"66ea3ef6-9c15-4f83-aebd-3e135505cb30"},{"name":"delete media files","id":"6dd36eb3-8aeb-490d-a6d0-819c95916779","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"appApiKey","value":"{{api_key}}","type":"text"}],"url":"https://mysubdomain.appgain.io/{{projectId}}/delete_media_files?appApiKey={{api_key}}","urlObject":{"protocol":"https","path":["{{projectId}}","delete_media_files"],"host":["mysubdomain","appgain","io"],"query":[{"key":"appApiKey","value":"{{api_key}}"}],"variable":[]}},"response":[],"_postman_id":"6dd36eb3-8aeb-490d-a6d0-819c95916779"}],"id":"605be7f8-c2ca-4ba6-8781-6eded684d6e2","_postman_id":"605be7f8-c2ca-4ba6-8781-6eded684d6e2","description":""},{"name":"EventLogging","item":[{"name":"getUserInfo","id":"e8833739-7066-4fd1-b4c5-5b92445fc4b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-parse-application-id","value":"{{ParseAppID}}","type":"text"},{"key":"x-parse-master-key","value":"{{ParseMasterKey}}","type":"text"}],"url":"{{Appbackend ServerURL}}/functions/getUserInfo?userId=userId","urlObject":{"path":["functions","getUserInfo"],"host":["{{Appbackend ServerURL}}"],"query":[{"key":"userId","value":"userId"}],"variable":[]}},"response":[],"_postman_id":"e8833739-7066-4fd1-b4c5-5b92445fc4b9"},{"name":"logEvent","id":"ebaae545-22e9-4f3c-9880-16fc149245cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"appApiKey","value":"{{api_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"action\": \"click\",\n    \"type\": \"tt05\",\n    \"value\" : {\n        \"campaign_id\" : \"61797df365cae400782f75e2\",\n        \"campaign_name\" : \"company test\",\n        \"extra_params\":{\n            \"k1\":1,\n            \"k2\":5,\n            \"k5\":10\n        }\n    }\n}"},"url":"https://mysubdomain.appgain.io/user_log_event/{{projectId}}/userId","urlObject":{"protocol":"https","path":["user_log_event","{{projectId}}","userId"],"host":["mysubdomain","appgain","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"ebaae545-22e9-4f3c-9880-16fc149245cc"},{"name":"logPurchase","id":"0485e29d-daef-47b9-b5be-7304dfd9b911","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-parse-application-id","value":"{{ParseAppID}}","type":"text"},{"key":"x-parse-master-key","value":"{{ParseMasterKey}}","type":"text"}],"url":"{{Appbackend ServerURL}}/functions/logPurchase?userId=userId&name={{productName}}&currency={{currency}}&smartlink_id=id of smartlink used to acquire the user&amount=5&platform=android","urlObject":{"path":["functions","logPurchase"],"host":["{{Appbackend ServerURL}}"],"query":[{"key":"userId","value":"userId"},{"key":"name","value":"{{productName}}"},{"key":"currency","value":"{{currency}}"},{"key":"smartlink_id","value":"id of smartlink used to acquire the user"},{"key":"amount","value":"5"},{"key":"platform","value":"android"}],"variable":[]}},"response":[],"_postman_id":"0485e29d-daef-47b9-b5be-7304dfd9b911"},{"name":"get user logged events","id":"61d9afe1-e720-4efe-a60e-ce123a61ca86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.appgain.io/user_log_event/{{projectId}}/userId?project_sub_domain=mysubdomain&appApiKey={{api_key}}","urlObject":{"protocol":"https","path":["user_log_event","{{projectId}}","userId"],"host":["api","appgain","io"],"query":[{"key":"project_sub_domain","value":"mysubdomain"},{"key":"appApiKey","value":"{{api_key}}"}],"variable":[]}},"response":[],"_postman_id":"61d9afe1-e720-4efe-a60e-ce123a61ca86"}],"id":"97c2c64b-d715-414f-a90b-8a4a7c79a623","_postman_id":"97c2c64b-d715-414f-a90b-8a4a7c79a623","description":""}],"event":[{"listen":"prerequest","script":{"id":"0cba1d28-e3bb-4352-8bbc-4a78ab802aec","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"beeb3b6a-4080-4d5b-ab45-58bc5587d056","type":"text/javascript","exec":[""]}}],"variable":[{"key":"userId","value":"userId"},{"key":"subdomain","value":"mysubdomain"}]}