{"_id":"5951d22127d3dc001baf80c3","project":"56f962d8d522d81700600280","version":{"_id":"56f962d8d522d81700600283","hasDoc":true,"__v":5,"hasReference":true,"project":"56f962d8d522d81700600280","createdAt":"2016-03-28T16:59:04.166Z","releaseDate":"2016-03-28T16:59:04.166Z","categories":["56f962d8d522d81700600284","5951d5489435c30015923d54","5951d6de50727a00155053c6","5951d99224e2f70015dec6c6","5951e40ef5c137001533814b"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"56f962d8d522d81700600284","project":"56f962d8d522d81700600280","version":"56f962d8d522d81700600283","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-03-28T16:59:04.186Z","from_sync":false,"order":0,"slug":"documentation","title":"Getting Started"},"user":"57736a020a6d610e00dea1fd","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-06-27T03:33:53.277Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"All requests must be authenticated using one of your organization’s API keys.\nAdministrators can create and maintain API keys through the settings menu in the dashboard, by going into the API section:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/2d47ae4-Screenshot_at_2017-06-26_15-14-08.png\",\n        \"Screenshot at 2017-06-26 15-14-08.png\",\n        439,\n        487,\n        \"#9fa0a0\"\n      ]\n    }\n  ]\n}\n[/block]\nYou can create as many API keys as required to suit your different applications and environments. A valid key must be provided with every request, via HTTP basic access authentication.\n\nIf you need a separate organization for testing purposes, please contact us at support:::at:::wimo.ae.\n\n[block:html]\n{\n  \"html\": \"<span style=\\\"background-color: #6BBD5B; color:white; padding-left:5px; padding-right:5px;\\\">Get</span>\\n<a href=\\\"https://docs.wimo.ae/docs/test-api-key\\\">Testing your API key</a>\\n\"\n}\n[/block]\nYou can use this API to check that you are formatting your request correctly and that your API key is valid.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl --request GET \\\\\\n  --url http://be.wimo.ae:3000/api/v1/auth/test \\\\\\n  --header 'authorization: 95de9ce1f12861dca3335cc87b5cfd90'\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n    \\\"success\\\": true,\\n    \\\"message\\\": \\\"Hello organization 5400 hitting Wimo from 14.176.231.87, 10.0.1.139\\\"\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"authentication","type":"basic","title":"Authentication"}
All requests must be authenticated using one of your organization’s API keys. Administrators can create and maintain API keys through the settings menu in the dashboard, by going into the API section: [block:image] { "images": [ { "image": [ "https://files.readme.io/2d47ae4-Screenshot_at_2017-06-26_15-14-08.png", "Screenshot at 2017-06-26 15-14-08.png", 439, 487, "#9fa0a0" ] } ] } [/block] You can create as many API keys as required to suit your different applications and environments. A valid key must be provided with every request, via HTTP basic access authentication. If you need a separate organization for testing purposes, please contact us at support@wimo.ae. [block:html] { "html": "<span style=\"background-color: #6BBD5B; color:white; padding-left:5px; padding-right:5px;\">Get</span>\n<a href=\"https://docs.wimo.ae/docs/test-api-key\">Testing your API key</a>\n" } [/block] You can use this API to check that you are formatting your request correctly and that your API key is valid. [block:code] { "codes": [ { "code": "curl --request GET \\\n --url http://be.wimo.ae:3000/api/v1/auth/test \\\n --header 'authorization: 95de9ce1f12861dca3335cc87b5cfd90'", "language": "shell" } ] } [/block] [block:code] { "codes": [ { "code": "{\n \"success\": true,\n \"message\": \"Hello organization 5400 hitting Wimo from 14.176.231.87, 10.0.1.139\"\n}", "language": "json" } ] } [/block]