{"_id":"576beb8874a8640e004cece7","user":"55a7ff4f3efe0c2f0074cbe2","version":{"_id":"576beb8874a8640e004cecda","project":"55a7ff613efe0c2f0074cbe4","__v":2,"createdAt":"2016-06-23T14:00:40.149Z","releaseDate":"2016-06-23T14:00:40.149Z","categories":["576beb8874a8640e004cecdb","576beb8874a8640e004cecdc","576beb8874a8640e004cecdd","576beb8874a8640e004cecde","576beb8874a8640e004cecdf","576beb8874a8640e004cece0","576beb8874a8640e004cece1","58ee8a5737e50a2f00d12147"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"category":{"_id":"576beb8874a8640e004cecdb","project":"55a7ff613efe0c2f0074cbe4","__v":0,"version":"576beb8874a8640e004cecda","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-07-16T21:00:23.956Z","from_sync":false,"order":0,"slug":"general","title":"General"},"project":"55a7ff613efe0c2f0074cbe4","__v":1,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-07-16T21:04:37.625Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"1. Get your API key\"\n}\n[/block]\nTo access Officevibe API's, you need to get an API key for your company.\nTo get your API key, you can click here: [https://app.officevibe.com/api#/key](https://app.officevibe.com/api#/key)\n**Note**: To have access to this page, you need to have an Officevibe paid account, and be an administrator of that account.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"2. Use your API key\"\n}\n[/block]\nYou can simply add the API key in **every** requests Authorization header : \n\nAuthorization: Bearer [my API key]\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"3. Test your API key\"\n}\n[/block]\nTry your API key using the [/ping](doc:ping) call. If it works, it will return an HTTP code 200.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Note\"\n}\n[/block]\nTo have access to the API key, the requirement is to be an Officevibe Admin. If you're not, you can contact your Officevibe Admin","excerpt":"","slug":"authentication","type":"basic","title":"Authentication"}
[block:api-header] { "type": "basic", "title": "1. Get your API key" } [/block] To access Officevibe API's, you need to get an API key for your company. To get your API key, you can click here: [https://app.officevibe.com/api#/key](https://app.officevibe.com/api#/key) **Note**: To have access to this page, you need to have an Officevibe paid account, and be an administrator of that account. [block:api-header] { "type": "basic", "title": "2. Use your API key" } [/block] You can simply add the API key in **every** requests Authorization header : Authorization: Bearer [my API key] [block:api-header] { "type": "basic", "title": "3. Test your API key" } [/block] Try your API key using the [/ping](doc:ping) call. If it works, it will return an HTTP code 200. [block:api-header] { "type": "basic", "title": "Note" } [/block] To have access to the API key, the requirement is to be an Officevibe Admin. If you're not, you can contact your Officevibe Admin