{"_id":"576beb8874a8640e004cece7","updates":[],"githubsync":"","hidden":false,"link_external":false,"next":{"description":"","pages":[]},"user":"55a7ff4f3efe0c2f0074cbe2","version":"576beb8874a8640e004cecda","category":"576beb8874a8640e004cecdb","excerpt":"","link_url":"","type":"basic","project":"55a7ff613efe0c2f0074cbe4","title":"Authentication","__v":1,"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","parentDoc":null,"slug":"authentication","sync_unique":"","api":{"url":"","results":{"codes":[]},"settings":"","auth":"required","params":[]},"createdAt":"2015-07-16T21:04:37.625Z","isReference":false,"order":0,"childrenPages":[]}
[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