{"info":{"_postman_id":"8cabb950-4453-4871-855d-8188e8edce91","name":"Appgain.io","description":"
Appgain.io OmniChannel Messaging Platform
\n","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\": \"\",\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\": \"\",\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":"