{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"2d4f917a-b2c9-79f4-650a-4914db76a476","name":"Instant Win API. Documentation","description":"To use this API, you will need three <b>Environment variable</b> values:\n<ul>\n  <li><b>{{$</b><b>subdomain}}:</b> &nbsp; &nbsp; each promotion is assigned a unique subdomain</li>\n  <li><b>{{$</b><b>test-api-guid}}:</b> &nbsp;an API key for testing</b></li>\n  <li><b>{{$<b></b>live-api-guid}}:</b> &nbsp; an API key for the live promotion</b></li>\n</ul>\nThe values for these variables will be provided when you set up an account via <a href=\"https://www.instantwinapi.com/?utm_medium=website&amp;utm_campaign=links&amp;utm_source=documenter.getpostman.com\" target=\"_blank\">instantwinapi.com</a>.\nOnce you have set these in the Postman app you will be able to test/use the API directly from Postman without doing any coding.\n\n<b>WARNING:</b> In production, do not use client side scripting when connecting to the API as you will be exposing the API key.\n\nPlease visit <a href=\"https://www.instantwinapi.com/?utm_medium=website&amp;utm_campaign=links&amp;utm_source=documenter.getpostman.com\" target=\"_blank\">instantwinapi.com</a> for the latest info or send us an email: <a href=\"mailto:info@instantwinapi.com\">info@instantwinapi.com</a>. By <a href=\"https://www.tpal.com.au/?utm_medium=website&amp;utm_campaign=links&amp;utm_source=documenter.getpostman.com\" target=\"_blank\">TPAL®</a>.\n\n<b>Postman notes:</b>\n<ul>\n  <li>The programming language used in the panel on the right can be changed via the dropdown at the top of the page.</li>\n  <li>In the Postman app, there are more languages available, including <b>NodeJS, C, C#, Java and Shell.</b></li>\n  <li><b>Global</b> and <b>Environment</b> variables within the Postman app are denoted by double braces, e.g. Global: <b>{{$</b><b>guid}}</b>, <b>{{$</b><b>randomInt}}</b> and <b>{{$</b><b>timestamp}}</b>.</li>\n  <li>Environment variables are set via the 'cog' icon next to the Environment dropdown in the Postman app (top rght). You can set:  <b>{{$</b><b>subdomain}}</b>, <b>{{$</b><b>test-api-key}}</b> and <b>{{$</b><b>live-api-key}}</b>.</li>  \n\n</ul>\n<img src=\"https://in.getclicky.com/101039209ns.gif\" width=\"1\" height=\"1\" />\n\n<!-- <i>Last upated: 2 May 2020</i> -->","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"1550264","team":1420313,"collectionId":"2d4f917a-b2c9-79f4-650a-4914db76a476","publishedId":"6fePfU2","public":true,"publicUrl":"https://documenter-api.postman.tech/view/1550264/6fePfU2","privateUrl":"https://go.postman.co/documentation/1550264-2d4f917a-b2c9-79f4-650a-4914db76a476","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"documentationLayout":"classic-double-column","version":"8.10.1","publishDate":"2017-09-11T14:30:33.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[{"name":"instantwinapi.com (Template)","id":"9042c8f0-b3c1-5087-f821-9820ef338e58","owner":"1550264","values":[{"key":"$subdomain","value":"sandbox","enabled":true},{"key":"$test-api-guid","value":"00000000-0000-0000-0000-000000000001","enabled":true},{"key":"$live-api-guid","value":"00000000-0000-0000-0000-000000000002","enabled":true}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/b0a6ba45e7780aa2cb654bed160b28764bdb19b66ab1b578e5f7a6e3ed4cc3cb","favicon":"https://res.cloudinary.com/postman/image/upload/v1638419375/team/x2e85or7x2adkxxeuhjo.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"instantwinapi.com (Template)","value":"1550264-9042c8f0-b3c1-5087-f821-9820ef338e58"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/6fePfU2"}