{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"1b735390-3490-846f-5062-b846a4e80e68","name":"Explara API","description":"<p>Explara supports OAuth2 authentication for access to APIs.</p>\n\n<p><b>EXPLARA ACCOUNT</b></p>\n\n<p>To get started you will first need an Explara account.\nYou can either login to your existing account here: <a href=\"https://www.explara.com/a/login\">https://www.explara.com/a/login</a>\nor, create a new account here:\n <a href=\"https://www.explara.com/a/signup\">https://www.explara.com/a/signup</a></p>\n\n<h3><b>User Access</b></h3>\n\n<p>Users can access the Explara API directly using the User Access Token which can be found here post Log In:</p>\n\n<p><img style=\"height: 10%;\" src= \"https://cdn.explara.com/screen-shot-2018-03-07-at-220180307141528.png\"/></p>\n\n<p><img style=\"height: 10%;\" src= \"https://cdn.explara.com/screen-shot-2018-03-07-at-220180307141636.png\"/></p>\n\n<p><img style=\"height: 10%;\" src= \"https://cdn.explara.com/screen-shot-2018-03-07-at-220180307142420.png\"/></p>\n\n<h3><b>App Access</b></h3>\n\n<p>For App access to Explara APIs, users are required to first register their app with Explara.\nFill in the details and create your app as shown:</p>\n\n<p><img style=\"height: 10%;\" src= \"https://cdn.explara.com/screen-shot-2018-03-07-at-220180307142437.png\"/></p>\n\n<p>Once registered, you will receive your App Client ID and Client Secret codes. Save it for future use.</p>\n\n<p><img style=\"height: 10%;\" src= \"https://cdn.explara.com/screen-shot-2018-03-07-at-220180307142454.png\"/></p>\n<h1 id=\"application-integration\">Application Integration</h1>\n\n<p>Integrating your App with Explara using OAuth2.</p>\n\n<h2 id=\"1-end-user-authorization-log-in-with-explara\">1.END USER AUTHORIZATION - Log In with Explara</h2>\n\n<p>To allow your App&rsquo;s end users to Log In using Explara, set-up your button / CTA to send a request to:</p>\n\n<p>https://www.explara.com/a/account/oauth/authorize?response_type=code&amp;client_id=yourAppClientId&amp;state=event</p>\n\n<h3 id=\"http-request\">HTTP Request</h3>\n\n<p>POST <code class=\"prettyprint\">https://www.explara.com/a/account/oauth/authorize?response_type=code&amp;client_id=yourAppClientId&amp;state=event</code></p>\n\n<p><img style=\"height: 10%;\" src= \"https://cdn.explara.com/public/developers/images/authorize.png\"/></p>\n\n<p>After user’s successful authorization, it will return authorize code to your registered callback URL.</p>\n\n<h2 id=\"2-get-access-token-for-authorized-code\">2.Get access token for authorized code.</h2>\n\n<p>To get the access token for authorize codes, you will need to send a POST request with the parameters listed below.</p>\n\n<blockquote>\n<p>The response_data contains the token. With the token, you can now call any Explara API methods. The token will be valid for 3 months; in future following the same process, user could give you access to their Explara data.</p>\n</blockquote>\n\n<h3 id=\"http-request\">HTTP Request</h3>\n\n<p>POST <code class=\"prettyprint\">https://www.explara.com/a/account/oauth/token</code></p>\n\n<h3 id=\"query-parameters\">Query Parameters</h3>\n\n<table><thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>client_id</td>\n<td>App client id</td>\n</tr>\n<tr>\n<td>client_secret</td>\n<td>app client secret</td>\n</tr>\n<tr>\n<td>grant_type</td>\n<td>authorization_code</td>\n</tr>\n<tr>\n<td>code</td>\n<td>authorization code</td>\n</tr>\n</tbody></table>\n","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"1083427","team":23425,"collectionId":"1b735390-3490-846f-5062-b846a4e80e68","publishedId":"77e9Qmp","public":true,"publicUrl":"https://apidocs.explara.com","privateUrl":"https://go.postman.co/documentation/1083427-1b735390-3490-846f-5062-b846a4e80e68","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"documentationLayout":"classic-double-column","version":"8.10.0","publishDate":"2017-10-31T10:55:05.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[],"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/8b5f85380c026bd638c679a1b3a24485261904fe57389191d15eff859d4edc3d","favicon":"https://explara.com/favicon.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"}],"canonicalUrl":"https://apidocs.explara.com/view/metadata/77e9Qmp"}