{"info":{"_postman_id":"d1e3d388-9ffe-43d8-9a64-753951231057","name":"EARLY Public API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"11919831","collectionId":"d1e3d388-9ffe-43d8-9a64-753951231057","publishedId":"T1DwdEke","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"353B39","highlight":"005226"},"publishDate":"2025-03-18T10:25:47.000Z"},"item":[{"name":"V4 - CURRENT","item":[{"name":"Authentication","item":[{"name":"Sign-in with API Key & API Secret","event":[{"listen":"test","script":{"id":"257e8766-281e-455c-a55c-7d7d9869fd1d","exec":["var body = JSON.parse(responseBody);","if (body.token) {","    postman.setEnvironmentVariable(\"ACCESS_TOKEN\",  body.token);","}"],"type":"text/javascript","packages":{}}}],"id":"72c12d32-0275-4491-859e-3be83bfaa3e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\"    : \"{{API_KEY}}\",\n  \"apiSecret\" : \"{{API_SECRET}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/developer/sign-in","description":"<p>With this endpoint you can obtain an Access Token, which is required to access secured endpoints. To do so, you have to provide both an API Key and an API Secret.</p>\n<p>They can be generated on <a href=\"https://product.early.app\">https://product.early.app</a> or, if you have an Access Token already, with a <code>POST</code> request to <code>/developer/api-access</code>.</p>\n<p>If you have an Access Token, you need to set the <code>Authorization</code> Header in every secured request to <code>Bearer your_access_token</code>.</p>\n","urlObject":{"path":["api","v4","developer","sign-in"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"628eed36-596b-4696-98c6-869f4cbd9bfe","name":"Access Token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\"    : \"{{API_KEY}}\",\n  \"apiSecret\" : \"{{API_SECRET}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/developer/sign-in"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"1234abcdEFGH\"\n}"},{"id":"5e21b05f-6b93-411c-a161-effd883aff20","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\"    : \"{{API_KEY}}\",\n  \"apiSecret\" : \"{{API_SECRET}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/developer/sign-in"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"737e6f70-cc96-426e-a99d-81c917b761c1","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\"    : \"{{API_KEY}}\",\n  \"apiSecret\" : \"{{API_SECRET}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/developer/sign-in"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"72c12d32-0275-4491-859e-3be83bfaa3e9"},{"name":"Fetch API Key","id":"7d08aebe-d7b3-41c2-86a1-781636d9171b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/developer/api-access","description":"<p>With this endpoint you can fetch your API Key. If you haven't generated one yet, <code>null</code> will be returned.</p>\n<p> You cannot obtain an API Secret in this way, since it’s visible only once right after generation. If you have lost your API Secret, please generate a new pair of API Key &amp; API Secret.</p>\n","urlObject":{"path":["api","v4","developer","api-access"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"79d3b204-c690-48c2-b63d-7d4e4252ebb1","name":"API Key","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"{{BASE_URL}}api/v4/developer/api-access"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"apiKey\": \"ABCDefgh1234=\"\n}"},{"id":"69c4489e-771f-4970-bc95-44c9525a6216","name":"Missing Authorization header","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/developer/api-access"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"175efdb1-ad22-4728-adfe-9bb914a152d9","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/developer/api-access"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"7d08aebe-d7b3-41c2-86a1-781636d9171b"},{"name":"Generate new API Key & API Secret","event":[{"listen":"test","script":{"id":"a475c1a7-9647-4617-bbdd-931f80c089ec","exec":["var body = JSON.parse(responseBody);","if (body.apiKey) {","    postman.setEnvironmentVariable(\"API_KEY\",  body.apiKey);","}","if (body.apiSecret) {","    postman.setEnvironmentVariable(\"API_SECRET\",  body.apiSecret);","}"],"type":"text/javascript","packages":{}}}],"id":"81ee63bf-5328-4d38-bac9-1389f053b883","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v4/developer/api-access","description":"<p>With this endpoint you can generate a new pair of API Key &amp; API Secret.</p>\n<p>Every time you generate a new pair, the old one becomes invalid. Your API Secret won’t be accessible later, so please note it down in some secret place. If you have lost your API Secret, you can generate a new pair of API Key &amp; API Secret here.</p>\n","urlObject":{"path":["api","v4","developer","api-access"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"5f01c554-f0d1-4877-8c57-ab806c5ea760","name":"API Key & API Secret","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v4/developer/api-access"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"apiKey\": \"ABCDefgh1234=\",\n    \"apiSecret\": \"EFGHijkl5678=\"\n}"},{"id":"d74c721f-48b4-4d5e-aba4-a3eaeb77d657","name":"Missing Authorization header","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v4/developer/api-access"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"3283038b-e72f-4a50-ac44-9883dd43e9c3","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v4/developer/api-access"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"81ee63bf-5328-4d38-bac9-1389f053b883"},{"name":"Logout","id":"b03b34ab-1ca2-4cb4-a16d-f80ceca6b654","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v4/developer/logout","description":"<p>With this endpoint you are invalidating the current Access Token meaning all access wil be denied if you are using it afterwards again.</p>\n","urlObject":{"path":["api","v4","developer","logout"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"45ff9e75-3bd8-4d8b-b6a4-f610f1f1ba32","name":"API Key & API Secret","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v4/developer/api-access"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"apiKey\": \"ABCDefgh1234=\",\n    \"apiSecret\": \"EFGHijkl5678=\"\n}"},{"id":"5e004112-d5a7-4a29-af22-d8627b9cd28e","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v4/developer/api-access"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"e5bc2b3f-0634-4f81-9721-b408cdf9592c","name":"Missing Authorization header","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v4/developer/api-access"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"b03b34ab-1ca2-4cb4-a16d-f80ceca6b654"}],"id":"8580dc51-d41d-4d37-8e86-59e7bfd832ad","_postman_id":"8580dc51-d41d-4d37-8e86-59e7bfd832ad","description":""},{"name":"Time Tracking","item":[{"name":"Activities","item":[{"name":"List all Activities","id":"ef363185-8b39-4fbf-b03b-458291ee324a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/activities","urlObject":{"path":["api","v4","activities"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"4db016cc-d049-4a71-b029-8c5e54f6a052","name":"List of Activities","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"{{BASE_URL}}/api/v4/activities"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"activities\": [\n        {\n            \"id\": \"1\",\n            \"name\": \"abc\",\n            \"color\": \"#000000\",\n            \"folderId\": \"1\"\n        }\n    ],\n    \"inactiveActivities\": [\n        {\n            \"id\": \"2\",\n            \"name\": \"def\",\n            \"color\": \"#000000\",\n            \"folderId\": \"2\"\n        }\n    ],\n    \"archivedActivities\": [           \n        {\n            \"id\": \"3\",\n            \"name\": \"ghi\",\n            \"color\": \"#000000\",\n            \"folderId\": \"2\"\n        }\n    ]\n}"},{"id":"cc78a3e5-a9f2-4136-806b-93c70443b37e","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/activities"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"ef363185-8b39-4fbf-b03b-458291ee324a"},{"name":"Create an Activity","id":"21afd678-09fc-449e-974e-1734196d7124","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"sleeping\",\n    \"color\": \"#a1c2c3\",\n    \"folderId\": \"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/activities","description":"<p>With this endpoint you can create a new Activity. It should have a name, a folder and a color. The name doesn’t have to be unique.</p>\n","urlObject":{"path":["api","v4","activities"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"f08ef67e-1e7d-488c-8a2a-d185c15afbf3","name":"Created Activity","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"name\": \"sleeping\",\n    \"color\": \"#a1b2c3\",\n    \"folderId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/activities"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"name\": \"sleeping\",\n    \"color\": \"#a1b2c3\",\n    \"folderId\": \"1\"\n}"},{"id":"2cdc0a30-6fbb-4042-a696-e578a5818d2e","name":"Not Folder Admin","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\"        : \"sleeping\",\n  \"color\"       : \"#a1b2c3\",\n  \"spaceId\" \t: \"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/activities"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Only folder admins are allowed to create activities\"\n    }\n}"},{"id":"df347c35-72cd-4286-b7be-84e843d5205e","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\"        : \"sleeping\",\n  \"color\"       : \"#a1b2c3\",\n  \"spaceId\" \t: \"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/activities"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"1e93055a-ba88-4781-a249-9e667ccb732d","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\"        : \"sleeping\",\n  \"color\"       : \"#a1b2c3\",\n  \"spaceId\" \t: \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/activities"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"21afd678-09fc-449e-974e-1734196d7124"},{"name":"Edit an Activity","id":"45a1b847-5182-4fe3-ac01-5a0ac0e811d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"deeper sleeping\",\n    \"color\": \"#f9e8d7\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/activities/2","urlObject":{"path":["api","v4","activities","2"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"cfe3f1ad-ee12-40cb-9ab1-7e9d227d7db7","name":"Edited Activity","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"name\": \"deeper sleeping\",\n    \"color\": \"#f9e8d7\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/activities/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"name\": \"deeper sleeping\",\n    \"color\": \"#f9e8d7\",\n    \"folderId\": \"1\"\n}"},{"id":"b4d6f1e6-a0ca-4b20-94d4-812149078410","name":"Activity not found","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n  \"name\": \"deeper sleeping\",\n  \"color\": \"#f9e8d7\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/activities/2"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"71ae817f-2535-4c4f-9d84-07060b394e86","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"deeper sleeping\",\n  \"color\": \"#f9e8d7\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/activities/2"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"33ad34f9-babd-4c6c-808b-182cde1f009d","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"deeper sleeping\",\n  \"color\": \"#f9e8d7\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/activities/2"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"45a1b847-5182-4fe3-ac01-5a0ac0e811d3"},{"name":"Archive an Activity","id":"be926b1a-5aaa-403f-b8b0-576b8772538f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v4/activities/2","urlObject":{"path":["api","v4","activities","2"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"696f72b5-68c2-437e-9e8a-84f193787b79","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v4/activities/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        \"Any error which can be ignored and did not prevented action to be performed successfully.\"\n    ]\n}"},{"id":"3ca64e93-5f1f-4f9a-aca0-8ed615dac601","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v4/activities/2"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"22248613-e8e5-4383-8a14-9af0b56d8c35","name":"Activity not found","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v4/activities/2"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"be926b1a-5aaa-403f-b8b0-576b8772538f"},{"name":"Unarchive an Activity","id":"6f5b8cb5-dc7a-4258-a855-3d160203a893","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/activities/2/unarchive","urlObject":{"path":["api","v4","activities","2","unarchive"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"a744988c-fa58-4fa8-b8f4-8955a2a0223e","name":"Activity Unarchived","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer "}],"url":"{{BASE_URL}}/api/v4/activities/2/unarchive"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"name\": \"abc\",\n    \"color\": \"#000000\",\n    \"folderId\": \"1\"\n}"},{"id":"06541b59-31a4-489f-87d4-3a83d91f319f","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer "}],"url":"{{BASE_URL}}/api/v4/activities/2/unarchive"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"04a1b73c-f110-484b-afc5-74e11faed8a0","name":"Activity not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/activities/2/unarchive"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"6f5b8cb5-dc7a-4258-a855-3d160203a893"}],"id":"59c0939a-9209-4065-b476-434c339f9396","description":"<p>Activities are one of the main concepts in EARLY. You can track time on them and synchronize them with third party tools, such as JIRA.</p>\n<p>When an activity is no longer needed, you can archive it. The data already tracked on it will remain, even if an activity is archived.</p>\n","_postman_id":"59c0939a-9209-4065-b476-434c339f9396"},{"name":"Current Tracking","item":[{"name":"Show current Tracking","id":"2ff32590-05f3-42f4-91dc-df6b6e32c135","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/tracking","urlObject":{"path":["api","v4","tracking"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"54d7b867-a95b-407e-b017-71e6c6d58167","name":"Current Tracking","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/tracking"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"activity\": {\n        \"id\": \"1217348\",\n        \"name\": \"abc\",\n        \"color\": \"#000000\",\n        \"folderId\": \"1\"\n    },\n    \"startedAt\": \"2020-08-03T04:00:00.000\",\n    \"note\": {\n        \"text\": \"99 sheep <{{|t|1|}}><{{|m|2|}}>\",\n        \"tags\": [\n            {\n                \"id\": 1,\n                \"key\": \"3b381b24-c690-4000-9079-7355579162fb\",\n                \"label\": \"some tag\",\n                \"scope\": \"timeular\",\n                \"folderId\": \"1\"\n            }\n        ],\n        \"mentions\": [\n            {\n                \"id\": 2,\n                \"key\": \"2b381b24-c690-4000-9079-7355579162fb\",\n                \"label\": \"some-mention\",\n                \"scope\": \"timeular\",\n                \"folderId\": \"1\"\n            }\n        ]\n    }\n}"},{"id":"e54c75b3-0910-445e-b876-e68a8abeee44","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/tracking"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"98086ce2-0f9d-491f-ade5-a6b8780f0e03","name":"There is no current Tracking","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/tracking"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"2ff32590-05f3-42f4-91dc-df6b6e32c135"},{"name":"Start Tracking","id":"ffc19f68-496d-4a78-9ec1-bd2f21739aee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"startedAt\": \"2016-02-03T04:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tracking/1/start","urlObject":{"path":["api","v4","tracking","1","start"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"32bb0005-0bf9-49bf-a508-819c84c3eec7","name":"Started Tracking","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"startedAt\" : \"2020-08-03T04:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tracking/1217348/start"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"activity\": {\n        \"id\": \"1217348\",\n        \"name\": \"abc\",\n        \"color\": \"#000000\",\n        \"folderId\": \"1\"\n    },\n    \"startedAt\": \"2020-08-03T04:00:00.000\",\n    \"note\": {\n        \"text\": \"99 sheep <{{|t|1|}}><{{|m|2|}}>\",\n        \"tags\": [\n            {\n                \"id\": 1,\n                \"key\": \"3b381b24-c690-4000-9079-7355579162fb\",\n                \"label\": \"some tag\",\n                \"scope\": \"timeular\",\n                \"folderId\": \"1\"\n            }\n        ],\n        \"mentions\": [\n            {\n                \"id\": 2,\n                \"key\": \"2b381b24-c690-4000-9079-7355579162fb\",\n                \"label\": \"some-mention\",\n                \"scope\": \"timeular\",\n                \"folderId\": \"1\"\n            }\n        ]\n    }\n}"},{"id":"8b807be6-88aa-4f76-96a5-1be976fb59c7","name":"Activity not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"startedAt\" : \"2016-02-03T04:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tracking/1/start"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"d36d071f-ec43-4045-9326-060c00627975","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"startedAt\" : \"2020-08-03T04:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tracking/1217348/start"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"d7f22aa6-80f2-4707-a6a7-b597097869f9","name":"Tracking is already started","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"startedAt\" : \"2016-02-03T04:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tracking/1/start"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"ffc19f68-496d-4a78-9ec1-bd2f21739aee"},{"name":"Edit Tracking","id":"5b5b08ff-3ddc-4fd7-bfb4-1ae0f990c87c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"note\": {\n        \"text\": \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n    },\n    \"activityId\": \"1\",\n    \"startedAt\": \"2016-02-03T04:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tracking","description":"<p>With this endpoint you can set/edit/remove the note of your current Tracking.</p>\n<p>To remove the note set it to null/empty/blank. You can provide one or more Tags and Mentions in a note, each of them prefixed with # or @. If the related activity is bound to some Integration, let’s say a JIRA Project, JIRA task IDs are valid Mentions too.</p>\n","urlObject":{"path":["api","v4","tracking"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"8669a470-f107-4080-9b30-2bd4990114a5","name":"Edited current Tracking","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"note\"  : {\n\t\t\"text\" : \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t},\n\t\"activityId\": \"1\",\n\t\"startedAt\" : \"2016-02-03T04:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tracking"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"activity\": {\n        \"id\": \"1217348\",\n        \"name\": \"abc\",\n        \"color\": \"#000000\",\n        \"folderId\": \"1\"\n    },\n    \"startedAt\": \"2020-08-03T04:00:00.000\",\n    \"note\": {\n        \"text\": \"99 sheep <{{|t|1|}}><{{|m|2|}}>\",\n        \"tags\": [\n            {\n                \"id\": 1,\n                \"key\": \"3b381b24-c690-4000-9079-7355579162fb\",\n                \"label\": \"some tag\",\n                \"scope\": \"timeular\",\n                \"folderId\": \"1\"\n            }\n        ],\n        \"mentions\": [\n            {\n                \"id\": 2,\n                \"key\": \"2b381b24-c690-4000-9079-7355579162fb\",\n                \"label\": \"some-mention\",\n                \"scope\": \"timeular\",\n                \"folderId\": \"1\"\n            }\n        ]\n    }\n}"},{"id":"5d754bd6-12cf-4928-8743-ce35be666550","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"note\"  : {\n\t\t\"text\" : \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tracking"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"deb03649-36e4-457e-9368-b0e1557fb171","name":"There is no Tracking or Tracking for another Activity is ongoing","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"note\"  : {\n\t\t\"text\" : \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tracking"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"73ebe5c1-2340-4ae0-aef2-2216b875c36b","name":"ActivityId Not Found","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"note\"  : {\n\t\t\"text\" : \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tracking"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"ebfbf4bf-ba3b-436a-9e6d-0ec35748dfae","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"note\"  : {\n\t\t\"text\" : \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tracking"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"5b5b08ff-3ddc-4fd7-bfb4-1ae0f990c87c"},{"name":"Stop Tracking","id":"b5f602d3-cc31-4a03-abd9-9fa397121ab5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"stoppedAt\": \"2016-02-03T05:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tracking/stop","description":"<p>With this endpoint you can create a new Time Entry by stopping the current tracking. The resulting Time Entry should have a duration no shorter than 1 minute.</p>\n<p>The time entry will be created even if it overlaps with other Time Entries – in result existing Time Entries will be split or deleted in such manner, that the new one will fit without overlapping.</p>\n","urlObject":{"path":["api","v4","tracking","stop"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"3d1559a3-0f52-4783-bf42-64e883d4d84b","name":"Created Time Entry","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"stoppedAt\" : \"2020-08-03T05:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tracking/stop"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"34714420\",\n    \"activity\": {\n        \"id\": \"1217348\",\n        \"name\": \"abc\",\n        \"color\": \"#000000\",\n        \"folderId\": \"1\"\n    },\n    \"duration\": {\n        \"startedAt\": \"2020-02-03T04:00:00.000\",\n        \"stoppedAt\": \"2020-08-03T05:00:00.000\"\n    },\n    \"note\": {\n        \"text\": null,\n        \"tags\": [],\n        \"mentions\": []\n    },\n    \"errors\": [\n        \"Third Party Service error: status code = 400, message = 'no integration found for 111525 and integrationType toggl'\",\n        \"Third Party Service error: status code = 400, message = 'no integration found for 111525 and integrationType toggl'\",\n        \"Third Party Service error: status code = 400, message = 'no integration found for 111525 and integrationType harvest'\",\n        \"Third Party Service error: status code = 400, message = 'no integration found for 111525 and integrationType harvest'\",\n        \"Third Party Service error: status code = 400, message = 'no integration found for 111525 and integrationType toggl'\"\n    ]\n}"},{"id":"c9de47c0-6a24-4fa7-bb0e-2f51b9568821","name":"Activity not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"stoppedAt\" : \"2020-08-03T05:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tracking/stop"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"18cfee75-06a7-4036-b941-c9374c8d23bd","name":"Tracking is not started","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"stoppedAt\" : \"2020-08-03T05:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tracking/stop"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"3e137b80-433d-4a5b-b464-f3f4d6a539c2","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"stoppedAt\" : \"2020-08-03T05:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tracking/stop"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"b5f602d3-cc31-4a03-abd9-9fa397121ab5"},{"name":"Cancel Tracking","id":"344a5b26-cbf5-49a7-a7f1-0bbfe4b03766","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/tracking","description":"<p>With this endpoint you can cancel your current Tracking. New Time Entry won't be created.</p>\n","urlObject":{"path":["api","v4","tracking"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"d932d91c-e8ea-4e22-b0b4-370de5f85b7f","name":"Cancelled current Tracking","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/tracking"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"activity\": {\n        \"id\": \"1217348\",\n        \"name\": \"abc\",\n        \"color\": \"#000000\",\n        \"folderId\": \"1\"\n    },\n    \"startedAt\": \"2020-08-03T04:00:00.000\",\n    \"note\": {\n        \"text\": \"99 sheep <{{|t|1|}}><{{|m|2|}}>\",\n        \"tags\": [\n            {\n                \"id\": 1,\n                \"key\": \"3b381b24-c690-4000-9079-7355579162fb\",\n                \"label\": \"some tag\",\n                \"scope\": \"timeular\",\n                \"folderId\": \"1\"\n            }\n        ],\n        \"mentions\": [\n            {\n                \"id\": 2,\n                \"key\": \"2b381b24-c690-4000-9079-7355579162fb\",\n                \"label\": \"some-mention\",\n                \"scope\": \"timeular\",\n                \"folderId\": \"1\"\n            }\n        ]\n    }\n}"},{"id":"271df01b-3ed3-4fc7-9126-00cfddd8323b","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/tracking"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"344a5b26-cbf5-49a7-a7f1-0bbfe4b03766"}],"id":"e0a7e82d-97e8-4e5e-95be-31d72ca2ee70","description":"<p>A tracking is the representation of what you are doing at any given moment. When finished, a new Time Entry is created based on the tracked time. All timestamps are in the format 'YYYY-MM-DDTHH:mm:ss.SSS' in UTC, eg. '2017-12-31T23:59:59.999'.</p>\n","_postman_id":"e0a7e82d-97e8-4e5e-95be-31d72ca2ee70"},{"name":"Time Entries","item":[{"name":"Find Time Entries in given range","id":"98b4f754-ebcd-4706-b9b0-93244c24e033","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/time-entries/2016-01-01T00:00:00.000/2017-12-31T23:59:59.999","description":"<p>Find Time Entries within the given time range.</p>\n","urlObject":{"path":["api","v4","time-entries","2016-01-01T00:00:00.000","2017-12-31T23:59:59.999"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"11ccefe2-97bc-443d-93da-ec50b8f730b2","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/time-entries/2020-01-01T00:00:00.000/2020-03-31T23:59:59.999"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"timeEntries\": [\n        {\n            \"id\": \"1\",\n            \"activity\": {\n                \"id\": \"1\",\n                \"name\": \"abc\",\n                \"color\": \"#000000\",\n                \"folderId\": \"1\"\n            },\n            \"duration\": {\n                \"startedAt\": \"2020-01-01T00:00:00.000\",\n                \"stoppedAt\": \"2020-01-01T01:00:00.000\"\n            },\n            \"note\": {\n                \"text\": \"If there is a possibility of several things going wrong, the one that will cause the most damage will be the one to go wrong <{{|t|2|}}><{{|t|1|}}><{{|m|1|}}><{{|m|2|}}>\",\n                \"tags\": [\n                    {\n                        \"id\": 1,\n                        \"key\": \"43d10bff-65c6-4aab-879e-8e4b9106c99d\",\n                        \"label\": \"burst\",\n                        \"scope\": \"timeular\",\n                        \"folderId\": \"1\"\n                    },\n                    {\n                        \"id\": 2,\n                        \"key\": \"849ab930-4492-4b73-b378-8bff6d12fdd0\",\n                        \"label\": \"interpret\",\n                        \"scope\": \"timeular\",\n                        \"folderId\": \"1\"\n                    }\n                ],\n                \"mentions\": [\n                    {\n                        \"id\": 1,\n                        \"key\": \"8ed8ca39-813b-4f9d-a1ba-9a18b6c001e0\",\n                        \"label\": \"Joanie\",\n                        \"scope\": \"timeular\",\n                        \"folderId\": \"1\"\n                    },\n                    {\n                        \"id\": 2,\n                        \"key\": \"999f14a2-c0d2-430a-b1c0-23495f96b1cb\",\n                        \"label\": \"Violette\",\n                        \"scope\": \"timeular\",\n                        \"folderId\": \"1\"\n                    }\n                ]\n            }\n        }\n    ]\n}"},{"id":"6f2c7ee5-77ce-4d09-9ffd-429d129da649","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/time-entries/2020-01-01T00:00:00.000/2020-09-31T23:59:59.999"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"3606551b-c294-45b8-aa48-6c1836b282fa","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/time-entries/2020-01-01T00:00:00.000/2020-09-31T23:59:59.999"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"98b4f754-ebcd-4706-b9b0-93244c24e033"},{"name":"Create Time Entry","id":"192b7ce9-d25e-42ff-8c03-b9d06a9b0b75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"activityId\": \"1\",\n    \"startedAt\": \"2016-08-05T06:00:00.000\",\n    \"stoppedAt\": \"2016-08-05T07:00:00.000\",\n    \"note\": {\n        \"text\": \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/time-entries","description":"<p>With this endpoint, you can create a new Time Entry. It should be connected to an Activity and have a duration no shorter than 1 minute. A Note can be provided too, but it’s not required. Within this Note, you can refer one or more Tags or Mentions.</p>\n<p>These Tags and Mentions need to be referenced by their ID and put inside a special prefix and suffix, <code>&lt;{{|t|1|}}&gt;</code> for the tag with id 1 and <code>&lt;{{|m|1|}}&gt;</code> for the mention with id 1.</p>\n<p>If the related Activity is bound to some Integration, let’s say a JIRA Project, JIRA task IDs is a valid Mention. The Time Entry will be created even if it overlaps with other Time Entries – in result existing Time Entries will be split or deleted in such manner, that new one will fit without overlapping.</p>\n","urlObject":{"path":["api","v4","time-entries"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"5d777899-a0a3-4755-9b5d-769bca7854a7","name":"Created Time Entry","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"activityId\": \"1\",\n    \"startedAt\": \"2016-08-05T06:00:00.000\",\n    \"stoppedAt\": \"2016-08-05T07:00:00.000\",\n    \"note\": {\n        \"text\": \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/time-entries"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"activity\": {\n        \"id\": \"1\",\n        \"name\": \"abc\",\n        \"color\": \"#000000\",\n        \"folderId\": \"1\"\n    },\n    \"duration\": {\n        \"startedAt\": \"2016-08-05T06:00:00.000\",\n        \"stoppedAt\": \"2016-08-05T07:00:00.000\"\n    },\n    \"note\": {\n        \"text\": \"99 sheep <{{|t|1|}}><{{|m|1|}}>\",\n        \"tags\": [\n            {\n                \"id\": 1,\n                \"key\": \"dabf59bc-9997-44ca-9451-e753a11090c4\",\n                \"label\": \"some-tag\",\n                \"scope\": \"timeular\",\n                \"folderId\": \"1\"\n            }\n        ],\n        \"mentions\": [\n            {\n                \"id\": 1,\n                \"key\": \"debf59bc-9997-44ca-9451-e753a11090c4\",\n                \"label\": \"some mention\",\n                \"scope\": \"timeular\",\n                \"folderId\": \"1\"\n            }\n        ]\n    },\n    \"errors\": []\n}"},{"id":"41eb1ae9-9931-48cc-a09e-75c9424e5df6","name":"Integration-related error, eg. if new Time Entry somehow conflicts with data on the Integration side","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"activityId\": \"1\",\n    \"startedAt\": \"2016-08-05T06:00:00.000\",\n    \"stoppedAt\": \"2016-08-05T07:00:00.000\",\n    \"note\": {\n        \"text\": \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/time-entries"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"7d3786c9-b2ee-4fe0-aa4a-1ec7dc899fba","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"activityId\": \"1\",\n    \"startedAt\": \"2016-08-05T06:00:00.000\",\n    \"stoppedAt\": \"2016-08-05T07:00:00.000\",\n    \"note\": {\n        \"text\": \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/time-entries"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"d901e609-49f5-4de0-9cf2-6da5b96cb284","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"activityId\": \"1\",\n    \"startedAt\": \"2016-08-05T06:00:00.000\",\n    \"stoppedAt\": \"2016-08-05T07:00:00.000\",\n    \"note\": {\n        \"text\": \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/time-entries"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"d6511ce4-011f-4b2a-8d5e-e793f53f830b","name":"Activity not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"activityId\": \"1\",\n    \"startedAt\": \"2016-08-05T06:00:00.000\",\n    \"stoppedAt\": \"2016-08-05T07:00:00.000\",\n    \"note\": {\n        \"text\": \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/time-entries"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"192b7ce9-d25e-42ff-8c03-b9d06a9b0b75"},{"name":"Find Time Entry by its ID","id":"73ff0de6-42ba-4386-986c-5f83f7ef1372","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/time-entries/3","urlObject":{"path":["api","v4","time-entries","3"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"6ecb0646-45d7-4b50-9759-c5e441502999","name":"Found Time Entry","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"{{BASE_URL}}/api/v4/time-entries/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"3\",\n    \"activity\": {\n        \"id\": \"1\",\n        \"name\": \"abc\",\n        \"color\": \"#000000\",\n        \"folderId\": \"1\"\n    },\n    \"duration\": {\n        \"startedAt\": \"2016-08-05T06:00:00.000\",\n        \"stoppedAt\": \"2016-08-05T07:00:00.000\"\n    },\n    \"note\": {\n        \"text\": \"99 sheep <{{|t|1|}}><{{|m|1|}}>\",\n        \"tags\": [\n            {\n                \"id\": 1,\n                \"key\": \"dabf59bc-9997-44ca-9451-e753a11090c4\",\n                \"label\": \"some-tag\",\n                \"scope\": \"timeular\",\n                \"folderId\": \"1\"\n            }\n        ],\n        \"mentions\": [\n            {\n                \"id\": 1,\n                \"key\": \"debf59bc-9997-44ca-9451-e753a11090c4\",\n                \"label\": \"some mention\",\n                \"scope\": \"timeular\",\n                \"folderId\": \"1\"\n            }\n        ]\n    },\n    \"errors\": []\n}"},{"id":"3a29dd48-f24f-4d74-b86a-992c0952b536","name":"Time Entry not found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/time-entries/3"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"9d4f76d2-d93a-436f-be9e-665621658389","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/time-entries/3"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"73ff0de6-42ba-4386-986c-5f83f7ef1372"},{"name":"Edit a Time Entry","id":"8420ac26-ff58-43fa-aa10-5a58042346c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"activityId\": \"1\",\n    \"startedAt\": \"2016-08-05T06:01:00.000\",\n    \"stoppedAt\": \"2016-08-05T07:01:00.000\",\n    \"note\": {\n        \"text\": \"200 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/time-entries/3","description":"<p>With this endpoint you can edit an existing time entry. When changing the activity ID please note, that both the new and old activity attached to time entry have to belong to same integration.</p>\n<p>To remove a note, just set the complete object to null and all values within the object will be deleted too.</p>\n","urlObject":{"path":["api","v4","time-entries","3"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"9fb9e47f-c7d0-4222-a96d-15752dde22fe","name":"Edited Time Entry","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"activityId\": \"1\",\n    \"startedAt\": \"2016-08-05T06:01:00.000\",\n    \"stoppedAt\": \"2016-08-05T07:01:00.000\",\n    \"note\": {\n        \"text\": \"200 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/time-entries/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"activity\": {\n        \"id\": \"1\",\n        \"name\": \"abc\",\n        \"color\": \"#000000\",\n        \"folderId\": \"1\"\n    },\n    \"duration\": {\n        \"startedAt\": \"2016-08-05T06:00:00.000\",\n        \"stoppedAt\": \"2016-08-05T07:00:00.000\"\n    },\n    \"note\": {\n        \"text\": \"200 sheep <{{|t|1|}}><{{|m|1|}}>\",\n        \"tags\": [\n            {\n                \"id\": 1,\n                \"key\": \"dabf59bc-9997-44ca-9451-e753a11090c4\",\n                \"label\": \"some-tag\",\n                \"scope\": \"timeular\",\n                \"folderId\": \"1\"\n            }\n        ],\n        \"mentions\": [\n            {\n                \"id\": 1,\n                \"key\": \"debf59bc-9997-44ca-9451-e753a11090c4\",\n                \"label\": \"some mention\",\n                \"scope\": \"timeular\",\n                \"folderId\": \"1\"\n            }\n        ]\n    },\n    \"errors\": []\n}"},{"id":"2fc0ce77-b3af-48ff-a45d-1455766fd93b","name":"Activity or Time Entry not found","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"activityId\": \"1\",\n    \"startedAt\": \"2016-08-05T06:01:00.000\",\n    \"stoppedAt\": \"2016-08-05T07:01:00.000\",\n    \"note\": {\n        \"text\": \"200 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/time-entries/3"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"771f5243-5e1d-4215-b9c5-dd690c186a07","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"activityId\" : \"1\",\n\t\"startedAt\"  : \"2016-08-05T06:01:00.000\",\n\t\"stoppedAt\"  : \"2016-08-05T07:01:00.000\",\n\t\"note\"       : {\n\t\t\"text\" : \"200 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/time-entries/3"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"9e34a310-36c4-41da-8a4a-6752530be403","name":"Integration-related error, eg. if given integration does not exist","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"activityId\": \"1\",\n    \"startedAt\": \"2016-08-05T06:01:00.000\",\n    \"stoppedAt\": \"2016-08-05T07:01:00.000\",\n    \"note\": {\n        \"text\": \"200 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/time-entries/3"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"89cb399a-666a-4b87-9380-2f6894b1e248","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"activityId\": \"1\",\n    \"startedAt\": \"2016-08-05T06:01:00.000\",\n    \"stoppedAt\": \"2016-08-05T07:01:00.000\",\n    \"note\": {\n        \"text\": \"200 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/time-entries/3"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"8420ac26-ff58-43fa-aa10-5a58042346c2"},{"name":"Delete a Time Entry","id":"ad0986b6-aae6-4b25-acc2-333b6822b6e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v4/time-entries/3","urlObject":{"path":["api","v4","time-entries","3"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"aca790e5-984e-49b0-ab87-784087c4c4b6","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v4/time-entries/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        \"Any error which can be ignored and did not prevented action to be performed successfully.\"\n    ]\n}"},{"id":"25f7c259-35ca-46a4-bb25-75c33941dd6b","name":"Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v4/time-entries/3"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"412a743e-e051-4320-bf72-5f8f22204903","name":"Time Entry not found","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v4/time-entries/3"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"009f29b5-cc7f-4d53-868f-f746fadf0dd4","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v4/time-entries/3"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"ad0986b6-aae6-4b25-acc2-333b6822b6e6"}],"id":"64c0df6b-8da3-4d90-bc59-20624f6fe157","description":"<p>Time Entries are one of the main concepts in EARLY.</p>\n<p>They represent time spent on activities. A time entry can contain a textual Note, which allows you to add some useful context.</p>\n<p>There can be only one Time Entry in any given time-frame, even if they belong to different activities. All timestamps are in the format 'YYYY-MM-DDTHH:mm:ss.SSS' in UTC, eg. '2017-12-31T23:59:59.999'.</p>\n<p>This set of endpoints allows to manage only your own Time Entries. To see Time Entries of your team members, use <code>POST report</code> endpoint.</p>\n","_postman_id":"64c0df6b-8da3-4d90-bc59-20624f6fe157"},{"name":"Reports","item":[{"name":"Generate Report","id":"04fcb4f6-7a83-4117-91dc-1e9ab75b0519","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"date\": {\n        \"start\": \"2017-02-01\",\n        \"end\": \"2017-02-28\"\n    },\n    \"fileType\": \"json\",\n    \"activities\": {\n        \"ids\": [\n            \"1\"\n        ],\n        \"status\": \"active\"\n    },\n    \"users\": {\n        \"ids\": [\n            \"1\"\n        ]\n    },\n    \"folders\": {\n        \"ids\": [\n            \"1\"\n        ]\n    },\n    \"tags\": {\n        \"ids\": [\n            1\n        ]\n    },\n    \"mentions\": {\n        \"ids\": [\n            1\n        ]\n    },\n    \"operator\": \"OR\",\n    \"noteQuery\": \"text\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/report","description":"<p>Generates a report which contains all the Time Entries from inside the given time range. If some Time Entry exceeds the report’s time range, only the matching part will be included.</p>\n<p>Only Members with <strong>Full access</strong> can see Time Entries of other Members of a Folder.</p>\n<p>Due to <a href=\"https://support.early.app/en/articles/3757577-how-the-midnight-delay-works-with-folders\">midnight delay </a> Members with <strong>Full access</strong> are able to see all time entries created up until midnight in the time entry creator's time zone. You always see your own time entries without delay.</p>\n<p><em>Warning: For file type \"xlsx\" or \"csv\" you need a pro subscription!</em></p>\n<p>There are 2 mandatory fields:</p>\n<ul>\n<li><p>date</p>\n<ul>\n<li><p>start - \"YYYY-MM-DD\", (e.g. 2024-07-01)</p>\n</li>\n<li><p>end - \"YYYY-MM-DD\", (e.g. 2024-07-31)</p>\n</li>\n</ul>\n</li>\n<li><p>fileType (\"json\", \"xlsx\" or \"csv\" )</p>\n</li>\n</ul>\n<p>And optional fields that allow you to filter the results:</p>\n<ul>\n<li><p>activities</p>\n<ul>\n<li><p>ids (e.g. [\"1\", \"2\"])</p>\n</li>\n<li><p>status (\"active\" or \"archived\")</p>\n</li>\n</ul>\n</li>\n<li><p>users</p>\n<ul>\n<li>ids (e.g. [\"1\", \"2\"])</li>\n</ul>\n</li>\n<li><p>folders</p>\n<ul>\n<li><p>ids (e.g. [\"1\", \"2\"])</p>\n</li>\n<li><p>status (\"active\" or \"archived\")</p>\n</li>\n</ul>\n</li>\n<li><p>tags</p>\n<ul>\n<li>ids (e.g. [1, 2])</li>\n</ul>\n</li>\n<li><p>mentions</p>\n<ul>\n<li>ids (e.g. [1, 2])</li>\n</ul>\n</li>\n<li><p>operator (\"AND\" or \"OR\") - show Time Entries matching all (\"AND\") or any (\"OR\") provided Tags and Mentions, defaults to \"OR\"</p>\n</li>\n<li><p>noteQuery (e.g. \"text\")</p>\n</li>\n</ul>\n","urlObject":{"path":["api","v4","report"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"816e3cb4-68a3-4ddc-b69d-7b541bf48793","name":"Report in JSON format","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"date\": {\n        \"start\": \"2017-02-01\",\n        \"end\": \"2017-02-28\"\n    },\n    \"fileType\": \"json\",\n    \"activities\": {\n        \"ids\": [\n            \"1\"\n        ],\n        \"status\": \"active\"\n    },\n    \"users\": {\n        \"ids\": [\n            \"1\"\n        ]\n    },\n    \"folders\": {\n        \"ids\": [\n            \"1\"\n        ]\n    },\n    \"tags\": {\n        \"ids\": [\n            1\n        ]\n    },\n    \"mentions\": {\n        \"ids\": [\n            1\n        ]\n    },\n    \"operator\": \"OR\",\n    \"noteQuery\": \"text\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/report"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"timeEntries\": [\n        {\n            \"id\": \"1\",\n            \"activity\": {\n                \"id\": \"1\",\n                \"name\": \"sleeping\",\n                \"color\": \"#000000\",\n                \"folderId\": \"1\"\n            },\n            \"user\": {\n                \"id\": \"1\",\n                \"name\": \"My name\",\n                \"email\": \"my-name@example.com\"\n            },\n            \"folder\": {\n                \"id\": \"1\",\n                \"name\": \"My folder\"\n            },\n            \"duration\": {\n                \"startedAt\": \"2017-02-06T17:25:00.000\",\n                \"stoppedAt\": \"2017-02-06T18:25:00.000\"\n            },\n            \"note\": {\n                \"text\": \"<{{|m|1|}}> some text\",\n                \"tags\": [],\n                \"mentions\": [\n                    {\n                        \"id\": 1,\n                        \"key\": \"123432234\",\n                        \"label\": \"some-mention\",\n                        \"scope\": \"timeular\",\n                        \"folderId\": \"1\"\n                    }\n                ]\n            },\n            \"timezone\": \"Europe/Berlin\"\n        }\n    ]\n}"},{"id":"4528f202-c8f2-4a63-bf18-57d92e3396a6","name":"Report in CSV format","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"date\": {\n        \"start\": \"2016-02-01\",\n        \"end\": \"2017-03-01\"\n    },\n    \"fileType\": \"csv\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/report"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/csv; charset=UTF-8","description":""}],"cookie":[],"responseTime":null,"body":"\"Version\",\"TimeEntryID\",\"StartDate\",\"StartTime\",\"StartTimeOffset\",\"EndDate\",\"EndTime\",\"EndTimeOffset\",\"Duration\",\"ActivityID\",\"Activity\",\"FolderId\",\"Folder\",\"Username\",\"Note\",\"Mentions\",\"Tags\"\r\n\"4\",\"34714342\",\"2016-02-03\",\"05:00:00\",\"+0100\",\"2016-02-03\",\"06:00:00\",\"+0100\",\"01:00:00\",\"116080\",\"sleeping\",\"1\",\"My Space\",\"my-email@example.com\",\"99 sheep\",\"\",\"\"\r\n\"4\",\"34714421\",\"2016-08-05\",\"08:00:00\",\"+0200\",\"2016-08-05\",\"09:00:00\",\"+0200\",\"01:00:00\",\"1217348\",\"sleeping\",\"2\",\"Shared Space\",\"my-email@example.com\",\"99 sheep #my new tag4 @Salaidh\",\"@Salaidh\",\"#my new tag4\"\r\n\"4\",\"31623071\",\"2017-02-06\",\"18:25:00\",\"+0100\",\"2017-02-06\",\"19:25:00\",\"+0100\",\"01:00:00\",\"876519\",\"ZEIº-Test\",\"1\",\"My Space\",\"my-email@example.com\",\"@ZEIT-13\",\"@ZEIT-13\",\"\"\r\n"},{"id":"069f91c9-215e-4ad0-b3f0-44a8743430b1","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"date\": {\n        \"start\": \"2024-07-01\",\n        \"end\": \"2024-08-01\"\n    },\n    \"fileType\": \"json\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/report"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"25bdf403-05fd-4184-9e19-ede35ca7a562","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"date\": {\n        \"start\": \"2024-07-01\",\n        \"end\": \"2024-08-01\"\n    },\n    \"fileType\": \"json\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/report"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"04fcb4f6-7a83-4117-91dc-1e9ab75b0519"}],"id":"06c6b980-dbcc-4fac-9b44-dec57dda7e7d","_postman_id":"06c6b980-dbcc-4fac-9b44-dec57dda7e7d","description":""},{"name":"Tags & Mentions","item":[{"name":"Fetch Tags & Mentions","id":"fe2e519d-21bc-45f6-aec7-927635e77d7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/tags-and-mentions","description":"<p>Fetches all Tags and Mentions, including from third party integrations, such as JIRA, Toggl etc.</p>\n","urlObject":{"path":["api","v4","tags-and-mentions"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"9a359deb-2cac-4056-9a7c-6479191224ec","name":"List of Tags and Mentions","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"{{BASE_URL}}api/v4/tags-and-mentions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"tags\": [\n        {\n            \"id\": 1,\n            \"key\": \"1234\",\n            \"label\": \"some-tag\",\n            \"scope\": \"timeular\",\n            \"folderId\": \"1\"\n        }\n    ],\n    \"mentions\": [\n        {\n            \"id\": 1,\n            \"key\": \"4321\",\n            \"label\": \"some mention\",\n            \"scope\": \"timeular\",\n            \"folderId\": \"1\"\n        }\n    ]"},{"id":"3abd048e-486e-4b20-a7a9-74f0f5aa955b","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/tags-and-mentions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"fe2e519d-21bc-45f6-aec7-927635e77d7d"},{"name":"Create Tag","id":"c23b9b70-b888-43dc-ab74-5cddd3c3e581","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"tagtagtag\",\n    \"label\": \"my new tag\",\n    \"scope\": \"timeular\",\n    \"folderId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tags","description":"<p>Creates a Tag within the given Folder and scope (timeular is default).</p>\n","urlObject":{"path":["api","v4","tags"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"cbd478b9-951d-4a1e-a194-79d165b0e527","name":"Create Tag","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"key\": \"tagtagtag\",\n    \"label\": \"my new tag\",\n    \"scope\": \"timeular\",\n    \"folderId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tags"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"key\": \"tagtagtag\",\n    \"label\": \"my new tag\",\n    \"scope\": \"timeular\",\n    \"folderId\": \"1\"\n}"},{"id":"fa45398e-ddeb-4255-957a-f62d3612f828","name":"Folder Not Found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"key\": \"tagtagtag\",\n    \"label\": \"my new tag\",\n    \"scope\": \"timeular\",\n    \"spaceId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tags"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"31b076ec-efe1-4a56-af0f-793f7376134f","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"tagtagtag\",\n    \"label\": \"my new tag\",\n    \"scope\": \"timeular\",\n    \"spaceId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tags"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"3c8f5333-7384-4a8b-b133-35ce8cb0d2a7","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"tagtagtag\",\n    \"label\": \"my new tag\",\n    \"scope\": \"timeular\",\n    \"spaceId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tags"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"c23b9b70-b888-43dc-ab74-5cddd3c3e581"},{"name":"Update Tag","id":"2baca20f-6988-4f14-8b4b-3fbcbb5a81b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"New Label for tag\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/tags/15","urlObject":{"path":["api","v4","tags","15"],"host":["{{BASE_URL}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"b2cd9f64-25c6-4599-94ab-d33b16693314","name":"Updated Tag","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"label\": \"New Label for tag\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{BASE_URL}}/api/v4/tags/1","host":["{{BASE_URL}}"],"path":["api","v4","tags","1"],"query":[{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"key\": \"44f8feac-da6f-4e08-8a84-0cc5181d32d7\",\n    \"label\": \"New Label for tag\",\n    \"scope\": \"timeular\",\n    \"folderId\": \"1\"\n}"},{"id":"78f4f286-b494-46b5-8292-2e4150b1cf7a","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"label\": \"New Label for tag\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{BASE_URL}}/api/v4/tags/15","host":["{{BASE_URL}}"],"path":["api","v4","tags","15"],"query":[{"key":"","value":"","disabled":true}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"d3c0453d-11a4-4c0d-b6b5-40a30fed887e","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"New Label for tag\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{BASE_URL}}/api/v4/tags/15","host":["{{BASE_URL}}"],"path":["api","v4","tags","15"],"query":[{"key":"","value":"","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"2baca20f-6988-4f14-8b4b-3fbcbb5a81b9"},{"name":"Delete Tag","id":"ac8eba90-6107-46c4-89e3-7babdaeefc9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/tags/1","description":"<p>Deletes the given tag, returning the list of timeEntries, which were edited by this operation, as well as if the currentTracking was edited by deleting the tag.</p>\n","urlObject":{"path":["api","v4","tags","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"904bc95b-3fb3-49af-8630-48e6fc7babc2","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/tags/4015"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"timeEntryIds\": [\n        1234\n    ],\n    \"trackingEdited\": null\n}"},{"id":"48285435-4d6b-4220-871a-c0b04209fb5e","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"url":"{{BASE_URL}}/api/v4/tags/4015"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"81341239-3029-4f02-872a-e9655aea75a7","name":"Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/tags/4015"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"ac8eba90-6107-46c4-89e3-7babdaeefc9d"},{"name":"Create Mention","id":"23643fec-12a2-4fa2-8c72-d57f7fe96682","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"mention\",\n    \"label\": \"my new mention\",\n    \"scope\": \"timeular\",\n    \"folderId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/mentions","description":"<p>Creates a Mention within the given Folder and scope (timeular is default).</p>\n","urlObject":{"path":["api","v4","mentions"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"90f74a79-f477-473f-95d9-5c1225d377c7","name":"Created Mention","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"mention\",\n    \"label\": \"my new mention\",\n    \"scope\": \"timeular\",\n    \"folderId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/mentions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"key\": \"mention\",\n    \"label\": \"my new mention\",\n    \"scope\": \"timeular\",\n    \"folderId\": \"1\"\n}"},{"id":"267ac9ed-c7d0-4064-8a3a-07149c300189","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"key\": \"mention\",\n    \"label\": \"my new mention\",\n    \"scope\": \"timeular\",\n    \"spaceId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/mentions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"ea5029e2-ee5b-4ae9-a2b1-daa0719c1fda","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"mention\",\n    \"label\": \"my new mention\",\n    \"scope\": \"timeular\",\n    \"spaceId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/mentions"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"78fba127-c448-4591-80b0-998fa3c8716e","name":"Folder not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"mention\",\n    \"label\": \"my new mention\",\n    \"scope\": \"timeular\",\n    \"spaceId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/mentions"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"23643fec-12a2-4fa2-8c72-d57f7fe96682"},{"name":"Update Mention","id":"e0d26363-ad2a-493c-a118-7f61e270e7ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"My new mention label\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/mentions/15","urlObject":{"path":["api","v4","mentions","15"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"5dbd24cd-8556-4646-92bb-f27fe0c45197","name":"Updated Mention","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"My new mention label\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/mentions/557667"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"key\": \"mention\",\n    \"label\": \"My new mention label\",\n    \"scope\": \"timeular\",\n    \"folderId\": \"1\"\n}"},{"id":"d5956321-019e-455a-949a-8dd4a909ce80","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"message\": \"Explanation of what has happened\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/mentions/15"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"575bf725-7c5c-4314-97d0-012302bb2eea","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"My new mention label\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/mentions/15"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"e0d26363-ad2a-493c-a118-7f61e270e7ee"},{"name":"Delete Mention","id":"27d62d2f-97f0-49bf-bfa5-e7292ff1d421","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/mentions/6","description":"<p>Deletes the given mention, returning the list of timeEntries, which were edited by this operation, as well as if the currentTracking was edited by deleting the mention.</p>\n","urlObject":{"path":["api","v4","mentions","6"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"814e8342-6f73-4942-8546-9655805d637b","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/mentions/6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"timeEntryIds\": [\n        1234\n    ],\n    \"trackingEdited\": null\n}"},{"id":"72855bf4-e90a-4b9a-b193-a5666e33d4a6","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/mentions/6"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"ecf0d850-87f6-4057-86d3-139716623de8","name":"Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/mentions/6"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"27d62d2f-97f0-49bf-bfa5-e7292ff1d421"}],"id":"d42169cb-e0e6-4193-94b1-ab1247cdf5bb","description":"<p>Tags and Mentions are a concept for adding contextual information to time entries. You can add #tags and @mentions to a time entry's note.</p>\n","_postman_id":"d42169cb-e0e6-4193-94b1-ab1247cdf5bb"}],"id":"9f9d4781-2423-423c-8763-fa02af29687d","_postman_id":"9f9d4781-2423-423c-8763-fa02af29687d","description":""},{"name":"Users","item":[{"name":"Me","id":"1e7dfdde-e619-4a82-b9c8-88c5e39c0e95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/me","description":"<p>An endpoint for fetching your basic profile information.</p>\n","urlObject":{"path":["api","v4","me"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"21050010-5e35-4dd7-b8c8-df65bb46ea13","name":"Me","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"{{BASE_URL}}/api/v4/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"name\": \"My name\",\n    \"email\": \"my-name@example.com\"\n}"},{"id":"ec8b0669-b944-44b1-a590-66dfb95509bc","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/me"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"1e7dfdde-e619-4a82-b9c8-88c5e39c0e95"},{"name":"List all Users","id":"89798c88-eee0-429a-adae-3c9b4e7d8fe2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/users","description":"<p>An endpoint for fetching basic information about your team members.</p>\n","urlObject":{"path":["api","v4","users"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"dfedb6a5-49f0-4883-a2f7-1e363038f7d6","name":"List of Users","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"{{BASE_URL}}/api/v4/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"users\": [\n        {\n            \"id\": \"1\",\n            \"name\": \"My name\",\n            \"email\": \"my-name@example.com\"\n        },\n        {\n            \"id\": \"2\",\n            \"name\": \"My teammate\",\n            \"email\": \"my-teammate@example.com\"\n        }\n    ]\n}"},{"id":"2d0f664f-d4ab-48ac-955d-fe303b133511","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/users"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"89798c88-eee0-429a-adae-3c9b4e7d8fe2"}],"id":"eeb54493-e7c1-4f9e-a6fc-791bc6d2cabb","_postman_id":"eeb54493-e7c1-4f9e-a6fc-791bc6d2cabb","description":""},{"name":"Folders","item":[{"name":"Members","item":[{"name":"List all Folder Members","id":"2d4b52d1-df46-48c6-9e02-4475fb613793","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders/1/members","urlObject":{"path":["api","v4","folders","1","members"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"59ffe758-1667-48cd-bfc2-8c6f323a2ce2","name":"List of Folder Members","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders/1/members"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"members\": [\n        {\n            \"id\": \"1\",\n            \"name\": \"My name\",\n            \"email\": \"my-email@example.com\",\n            \"accessLevel\": \"full\"\n        },\n        {\n            \"id\": \"2\",\n            \"name\": \"My teammate\",\n            \"email\": \"my-teammate@example.com\",\n            \"accessLevel\": \"personal\"\n        }\n    ],\n    \"retiredMembers\": [\n        {\n            \"id\": \"3\",\n            \"name\": \"My old teammate\"\n        }\n    ]\n}"},{"id":"c4b068f9-d52f-4a09-9f4e-f646814c024c","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders/1/members"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"2d4b52d1-df46-48c6-9e02-4475fb613793"},{"name":"Find Folder Member by their ID","id":"20a5dd57-d697-4d85-ad19-04b47a500eee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders/1/members/2","description":"<p>An endpoint to show information about Folder Member.</p>\n<p>You can use <code>GET users</code> endpoint to find IDs of all of your team members.</p>\n<p>Access level is \"full\" or \"personal\". <strong>Full access</strong> members can do things like create and edit activities and tags within a Folder. <strong>Personal access</strong> members are able to track time entries using the activities and tags that the <strong>Full access</strong> members have created. <a href=\"https://support.early.app/en/articles/3757567-how-to-create-and-setup-folders\">Learn more</a> about access levels.</p>\n","urlObject":{"path":["api","v4","folders","1","members","2"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"1aa37754-7219-4b54-b957-9453ceb9cf2e","name":"Found Member","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders/1/members/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"2\",\n    \"name\": \"My teammate\",\n    \"email\": \"my-teammate@example.com\",\n    \"accessLevel\": \"personal\"\n}"},{"id":"3b26eeb4-3113-458b-9b1f-2a6c6d616408","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders/1/members/2"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"20a5dd57-d697-4d85-ad19-04b47a500eee"},{"name":"Add Member to Folder","id":"379ec93f-802b-43f7-a12c-c7bbf7b51555","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"my-teammate@example.com\",\n    \"accessLevel\": \"personal\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/folders/1/members","description":"<p>With this endpoint you can add a new Member to an existing Folder. You should identify new Member by email and set their access level to \"full\" or \"personal\".</p>\n<p>Team members with a <a href=\"https://support.early.app/en/articles/1770789-how-to-assign-a-team-subscription-seat\">subscription seat</a> are immediately added to Folder.</p>\n<p>Users without a subscription seat or without a EARLY account receive an invitation email and their \"id\" in response body has value \"pending\". They will appear with a <strong>Guest</strong> badge in the Members list.</p>\n","urlObject":{"path":["api","v4","folders","1","members"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"f6ebd48d-6187-46e4-b030-be615d9eb7de","name":"Added Member","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"my-teammate@example.com\",\n    \"accessLevel\": \"personal\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/folders/1/members"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"2\",\n    \"name\": \"My teammate\",\n    \"email\": \"my-teammate@example.com\",\n    \"accessLevel\": \"personal\"\n}"},{"id":"0e516b47-612b-4fc7-9f13-0f745e30ac2c","name":"Invited Member","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"guest@example.com\",\n    \"accessLevel\": \"personal\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/folders/1/members"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"pending\",\n    \"name\": \"\",\n    \"email\": \"guest@example.com\",\n    \"accessLevel\": \"personal\"\n}"},{"id":"6329e1c9-be24-46f5-97fb-5fcb1bf15af3","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"my-teammate@example.com\",\n    \"accessLevel\": \"personal\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/folders/1/members"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"},{"id":"ba5115c6-b7c2-419a-8e4f-ff2ed07ae8d0","name":"No Subscription Seat","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"my-teammate@example.com\",\n    \"accessLevel\": \"personal\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/folders/1/members"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Only users with a seat can be directly added to folders. Assign user a seat or invite them to the folder through the app instead.\"\n    }\n}"}],"_postman_id":"379ec93f-802b-43f7-a12c-c7bbf7b51555"},{"name":"Remove Member from Folder","id":"a1e03e9c-cf98-460c-ae95-e1b3626304b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders/1/members/2","description":"<p>With this endpoint you can remove a Member from Folder. Member who was removed from Folder will be returned in <code>retiredMembers</code> response field in Folder endpoints. Removing a Member can take a few minutes.</p>\n","urlObject":{"path":["api","v4","folders","1","members","2"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"eb577170-6bb2-4b59-9143-3229d882fa8a","name":"Accepted","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders/1/members/2"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"pending\"\n}"},{"id":"5029a612-1fc6-4f06-9d12-10ce596ab9bb","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders/1/members/2"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"a1e03e9c-cf98-460c-ae95-e1b3626304b6"}],"id":"8fd28cb5-9be5-4c81-9256-7c8f5bd83637","description":"<p>A set of endpoints to manage Folder Members.</p>\n","_postman_id":"8fd28cb5-9be5-4c81-9256-7c8f5bd83637"},{"name":"List all Folders","id":"dbd5c8f0-bb89-4eb8-b9c4-0175bc05a8f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders","urlObject":{"path":["api","v4","folders"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"de3b52f4-8482-475b-9a56-2b962a9a83aa","name":"List of Folders","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"{{BASE_URL}}/api/v4/folders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"folders\": [\n        {\n            \"id\": \"1\",\n            \"name\": \"My folder\",\n            \"status\": \"active\",\n            \"members\": [\n                {\n                    \"id\": \"1\",\n                    \"name\": \"My name\",\n                    \"email\": \"my-email@example.com\",\n                    \"accessLevel\": \"full\"\n                },\n                {\n                    \"id\": \"2\",\n                    \"name\": \"My teammate\",\n                    \"email\": \"my-teammate@example.com\",\n                    \"accessLevel\": \"personal\"\n                }\n            ],\n            \"retiredMembers\": [\n                {\n                    \"id\": \"3\",\n                    \"name\": \"My old teammate\"\n                }\n            ]\n        },\n        {\n            \"id\": \"2\",\n            \"name\": \"Other folder\",\n            \"status\": \"active\",\n            \"members\": [\n                {\n                    \"id\": \"1\",\n                    \"name\": \"My name\",\n                    \"email\": \"my-email@example.com\",\n                    \"accessLevel\": \"personal\"\n                },\n                {\n                    \"id\": \"2\",\n                    \"name\": \"My teammate\",\n                    \"email\": \"my-teammate@example.com\",\n                    \"accessLevel\": \"full\"\n                }\n            ],\n            \"retiredMembers\": []\n        }\n    ]\n}"},{"id":"060309d8-49a3-4d6d-8e19-f6ec5f6bdeef","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"dbd5c8f0-bb89-4eb8-b9c4-0175bc05a8f8"},{"name":"Find Folder by its ID","id":"29cb8ee4-ff3b-46d1-aa87-7bb3abe2c0f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders/1","urlObject":{"path":["api","v4","folders","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"f5abbb36-996e-4264-9de2-cc81f6b54ffe","name":"Found Folder","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"{{BASE_URL}}/api/v4/folders/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"name\": \"My folder\",\n    \"status\": \"active\",\n    \"members\": [\n        {\n            \"id\": \"1\",\n            \"name\": \"My name\",\n            \"email\": \"my-email@example.com\",\n            \"accessLevel\": \"full\"\n        },\n        {\n            \"id\": \"2\",\n            \"name\": \"My teammate\",\n            \"email\": \"my-teammate@example.com\",\n            \"accessLevel\": \"personal\"\n        }\n    ],\n    \"retiredMembers\": [\n        {\n            \"id\": \"3\",\n            \"name\": \"My old teammate\"\n        }\n    ]\n}"},{"id":"95062a04-cb01-44b6-93bf-b2784be49d30","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders/1"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"29cb8ee4-ff3b-46d1-aa87-7bb3abe2c0f3"},{"name":"Create a Folder","id":"b80bf1bb-2a8f-4124-91d7-d4a9ed024080","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"My folder\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/folders","description":"<p>With this endpoint you can create a new Folder. It should have a name, but the name doesn’t have to be unique.</p>\n<p>If you don't want a new Folder to become a <a href=\"https://support.early.app/en/articles/9014818-what-is-a-workspace-folder\">Workspace Folder</a>, add an optional field <code>isWorkspaceFolder: false</code> (defaults to <code>true</code>).</p>\n","urlObject":{"path":["api","v4","folders"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"d290f9d5-6786-4906-b2a4-bb3728a6b4b2","name":"Created Folder","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Better name\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/folders"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"name\": \"My folder\",\n    \"status\": \"active\",\n    \"members\": [\n        {\n            \"id\": \"1\",\n            \"name\": \"My name\",\n            \"email\": \"my-email@example.com\",\n            \"accessLevel\": \"full\"\n        }\n    ],\n    \"retiredMembers\": []\n}"},{"id":"b7b39ed7-1aaf-4f7f-96d3-1bc2ca2fc314","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"My folder\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/folders"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"b80bf1bb-2a8f-4124-91d7-d4a9ed024080"},{"name":"Edit a Folder","id":"40d2035a-6b0d-4b68-9259-6a4779a8928c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Better name\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/folders/1","description":"<p>With this endpoint you can edit a name of an existing Folder.</p>\n","urlObject":{"path":["api","v4","folders","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"573c9c75-44d2-48ef-b184-7c921eb7195c","name":"Edited Folder","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Better name\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/folders/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"name\": \"Better name\",\n    \"status\": \"active\",\n    \"members\": [\n        {\n            \"id\": \"1\",\n            \"name\": \"My name\",\n            \"email\": \"my-email@example.com\",\n            \"accessLevel\": \"full\"\n        },\n        {\n            \"id\": \"2\",\n            \"name\": \"My teammate\",\n            \"email\": \"my-teammate@example.com\",\n            \"accessLevel\": \"personal\"\n        }\n    ],\n    \"retiredMembers\": [\n        {\n            \"id\": \"3\",\n            \"name\": \"My old teammate\"\n        }\n    ]\n}"},{"id":"34291dc7-9107-4af2-8def-950c4559a92d","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Better name\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/folders/1"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"40d2035a-6b0d-4b68-9259-6a4779a8928c"},{"name":"Archive a folder","id":"2c15cd2d-baca-4e36-936b-377c03ad3081","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders/1/archive","description":"<p>When a Folder is no longer needed, you can archive it. It will not be possible to edit the Folder settings or add new Members. All folder Activities, Tags and Mentions will be archived. Unlike deleting a Folder, archiving can be undone.</p>\n","urlObject":{"path":["api","v4","folders","1","archive"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"3a777d4c-d5c8-4906-8066-07aa057e3f67","name":"Folder Archived","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders/1/archive"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"name\": \"My folder\",\n    \"status\": \"archived\",\n    \"members\": [\n        {\n            \"id\": \"1\",\n            \"name\": \"My name\",\n            \"email\": \"my-email@example.com\",\n            \"accessLevel\": \"full\"\n        }\n    ],\n    \"retiredMembers\": []\n}"},{"id":"73e6c5c5-8d3f-4033-bad2-59be93673071","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders/1/archive"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"2c15cd2d-baca-4e36-936b-377c03ad3081"},{"name":"Unarchive a Folder","id":"c71538c6-d899-48ef-a38b-3c5a8c2699f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders/1/unarchive","description":"<p>Undo archiving a Folder. All folder Activities, Tags and Mentions will be unarchived.</p>\n","urlObject":{"path":["api","v4","folders","1","unarchive"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"841eea7e-b100-49c9-a50e-ba3c214f9efc","name":"Folder Unarchived","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders/1/unarchive"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"name\": \"My folder\",\n    \"status\": \"active\",\n    \"members\": [\n        {\n            \"id\": \"1\",\n            \"name\": \"My name\",\n            \"email\": \"my-email@example.com\",\n            \"accessLevel\": \"full\"\n        }\n    ],\n    \"retiredMembers\": []\n}"},{"id":"0e5ef6ca-ffed-409c-8450-0f476b88f4a2","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders/1/unarchive"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"c71538c6-d899-48ef-a38b-3c5a8c2699f4"},{"name":"Delete a Folder","id":"bc2aaae1-35e9-42ee-be7f-8b07d27c9afd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/folders/1","description":"<p>With this endpoint you can delete existing Folder. Deleting a Folder is NOT reversible and cannot be undone. You may consider archiving a Folder instead. Deletion can take a few minutes.</p>\n","urlObject":{"path":["api","v4","folders","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"5d03e346-cb23-4af1-853b-9586d5f1d1af","name":"Accepted","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"url":"{{BASE_URL}}/api/v4/folders/1"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"pending\"\n}"},{"id":"6daa65a5-b7e4-42b5-89b0-ac6afa6ca900","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"url":"{{BASE_URL}}/api/v4/folders/1"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"bc2aaae1-35e9-42ee-be7f-8b07d27c9afd"}],"id":"f243beb7-ad2f-4052-888b-45dce2680104","_postman_id":"f243beb7-ad2f-4052-888b-45dce2680104","description":""},{"name":"Leaves","item":[{"name":"List all Leaves","id":"1b9995fe-89e4-41aa-9e74-cbb41e360eb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/leaves?start=2025-01-01&end=2025-04-01","description":"<p>With this endpoint you can list all your Leaves. If you are <a href=\"https://support.early.app/en/articles/1770789-how-to-assign-a-team-subscription-seat\">Admin or Owner</a> you can list Leaves of all your Team members or just one of them using <code>userId</code> param.</p>\n","urlObject":{"path":["api","v4","leaves"],"host":["{{BASE_URL}}"],"query":[{"key":"start","value":"2025-01-01"},{"key":"end","value":"2025-04-01"},{"disabled":true,"description":{"content":"<p>Optional. Filter for Leaves of a user. When not provided Leaves of all users are returned. <a href=\"https://support.early.app/en/articles/1770789-how-to-assign-a-team-subscription-seat\">Requires Admin or Owner role.</a></p>\n","type":"text/plain"},"key":"userId","value":"1"}],"variable":[]}},"response":[{"id":"99a25ea8-bdfa-44ff-bd70-8854e34b90e2","name":"List of Leaves","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":{"raw":"{{BASE_URL}}/api/v4/leaves?start=2025-01-01&end=2025-04-01","host":["{{BASE_URL}}"],"path":["api","v4","leaves"],"query":[{"key":"start","value":"2025-01-01"},{"key":"end","value":"2025-04-01"},{"key":"userId","value":"1","description":"Optional. Filter for Leaves of a user. When not provided Leaves of all users are returned. [Requires Admin or Owner role.](https://support.early.app/en/articles/1770789-how-to-assign-a-team-subscription-seat)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"timeLeaves\": [\n        {\n            \"id\": \"1\",\n            \"typeId\": \"11\",\n            \"startDate\": \"2025-02-17T00:00:00.000\",\n            \"endDate\": \"2025-02-28T23:59:59.999\",\n            \"note\": null,\n            \"status\": \"approved\",\n            \"user\": {\n                \"id\": \"1\",\n                \"name\": \"My name\",\n                \"email\": \"my-name@example.com\"\n            }\n        },\n        {\n            \"id\": \"2\",\n            \"typeId\": \"12\",\n            \"startDate\": \"2025-03-05T09:00:00.000\",\n            \"endDate\": \"2025-03-05T13:00:00.000\",\n            \"note\": \"I don't feel like working\",\n            \"status\": \"denied\",\n            \"user\": {\n                \"id\": \"1\",\n                \"name\": \"My name\",\n                \"email\": \"my-name@example.com\"\n            }\n        },\n        {\n            \"id\": \"3\",\n            \"typeId\": \"9\",\n            \"startDate\": \"2025-03-27T00:00:00.000\",\n            \"endDate\": \"2025-03-27T23:59:59.999\",\n            \"note\": null,\n            \"status\": \"pending\",\n            \"user\": {\n                \"id\": \"2\",\n                \"name\": \"My teammate\",\n                \"email\": \"my-teammate@example.com\"\n            }\n        }\n    ]\n}"},{"id":"3f1d0db1-2b82-4778-8692-fb75e1f53b02","name":"User Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":{"raw":"{{BASE_URL}}/api/v4/leaves?start=2025-01-01&end=2025-04-01&userId=1","host":["{{BASE_URL}}"],"path":["api","v4","leaves"],"query":[{"key":"start","value":"2025-01-01"},{"key":"end","value":"2025-04-01"},{"key":"userId","value":"1","description":"Optional. Filter for Leaves of a user. When not provided Leaves of all users are returned. [Requires Admin or Owner role.](https://support.early.app/en/articles/1770789-how-to-assign-a-team-subscription-seat)"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"User not found\"\n    }\n}"}],"_postman_id":"1b9995fe-89e4-41aa-9e74-cbb41e360eb3"},{"name":"List all Leave Types","id":"d0bdc2e8-7e8d-47cb-ba40-da3fdf4ff8e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/leaves/types","description":"<p>With this endpoint you can list Leave types. Other Leave requests use <code>typeId</code> to indicate their type.</p>\n","urlObject":{"path":["api","v4","leaves","types"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"9c86b3e4-a3c4-48e4-9677-9b1dfec35367","name":"List of Leave Types","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/leaves/types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"types\": [\n        {\n            \"id\": \"1\",\n            \"name\": \"Paid Leave\"\n        },\n        {\n            \"id\": \"2\",\n            \"name\": \"Sick Leave\"\n        },\n        {\n            \"id\": \"3\",\n            \"name\": \"Unpaid Leave\"\n        },\n        {\n            \"id\": \"4\",\n            \"name\": \"Public Holiday\"\n        },\n        {\n            \"id\": \"5\",\n            \"name\": \"Company Holiday\"\n        },\n        {\n            \"id\": \"6\",\n            \"name\": \"Sabbatical Leave\"\n        },\n        {\n            \"id\": \"7\",\n            \"name\": \"Bereavement Leave\"\n        },\n        {\n            \"id\": \"8\",\n            \"name\": \"Duvet Day\"\n        },\n        {\n            \"id\": \"9\",\n            \"name\": \"Gardening Leave\"\n        },\n        {\n            \"id\": \"10\",\n            \"name\": \"Time Off in Lieu\"\n        },\n        {\n            \"id\": \"11\",\n            \"name\": \"Carryover\"\n        },\n        {\n            \"id\": \"12\",\n            \"name\": \"Parental Leave\"\n        }\n    ]\n}"},{"id":"42d12774-c9f7-4b13-841f-967e5aa36784","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/leaves/types"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"message\": \"Explanation of what has happened\"\n  }\n}"}],"_postman_id":"d0bdc2e8-7e8d-47cb-ba40-da3fdf4ff8e5"},{"name":"Create a Leave","id":"ea85a312-9df6-4248-a6ab-3fabec54360b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"typeId\": \"1\",\n    \"startDate\": \"2025-01-01T06:00:00.000\",\n    \"endDate\": \"2025-01-01T20:00:00.000\",\n    \"note\": \"Time to relax\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/leaves","description":"<p>Create a Leave for yourself. If the Leave exceeds working hours for that day, it will be expanded into a full-day leave.</p>\n<p>To create a Leave on behalf of a Team member use <a href=\"https://developers.early.app\">Create a Leave for User endpoint</a> instead.</p>\n<p><code>typeId</code>, <code>startDate</code> and <code>endDate</code> fields are required.</p>\n<p><code>note</code> field is optional.</p>\n","urlObject":{"path":["api","v4","leaves"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"0478c766-fc3e-4e0b-bb3e-cc77b1754a15","name":"Created Leave","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"typeId\": \"1\",\n    \"startDate\": \"2025-01-01T06:00:00.000\",\n    \"endDate\": \"2025-01-01T20:00:00.000\",\n    \"note\": \"Time to relax\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/leaves"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"typeId\": \"1\",\n    \"startDate\": \"2025-01-01T00:00:00.000\",\n    \"endDate\": \"2025-01-01T23:59:59.999\",\n    \"note\": \"Time to relax\",\n    \"status\": \"pending\",\n    \"user\": {\n        \"id\": \"1\",\n        \"name\": \"My name\",\n        \"email\": \"my-name@example.com\"\n    }\n}"},{"id":"8971604e-fe1c-46b5-85f4-de1776e915d4","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"typeId\": \"1\",\n    \"startDate\": \"2025-01-01T06:00:00.000\",\n    \"endDate\": \"2025-01-01T20:00:00.000\",\n    \"note\": \"Time to relax\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/leaves"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"ea85a312-9df6-4248-a6ab-3fabec54360b"},{"name":"Create a Leave for User","id":"1f769296-6d23-4a4e-b15a-401dd4e2dd30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"typeId\": \"1\",\n    \"startDate\": \"2025-01-01T06:00:00.000\",\n    \"endDate\": \"2025-01-01T20:00:00.000\",\n    \"note\": \"Extra day off\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/users/2/leaves","description":"<p>Create an <code>approved</code> Leave on behalf of a Team member. Requires <a href=\"https://support.early.app/en/articles/1770789-how-to-assign-a-team-subscription-seat\">Admin or Owner role.</a></p>\n<p>If the Leave exceeds Team member's working hours for that day, it will be expanded into a full-day leave.</p>\n<p><code>typeId</code>, <code>startDate</code> and <code>endDate</code> fields are required.</p>\n<p><code>note</code> field is optional.</p>\n","urlObject":{"path":["api","v4","users","2","leaves"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"04a236e5-7b2c-46df-a030-66dacc70428a","name":"Created Leave","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"typeId\": \"1\",\n    \"startDate\": \"2025-01-01T06:00:00.000\",\n    \"endDate\": \"2025-01-01T20:00:00.000\",\n    \"note\": \"Extra day off\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/users/2/leaves"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"typeId\": \"1\",\n    \"startDate\": \"2025-01-01T00:00:00.000\",\n    \"endDate\": \"2025-01-01T23:59:59.999\",\n    \"note\": \"Extra day off\",\n    \"status\": \"approved\",\n    \"user\": {\n        \"id\": \"2\",\n        \"name\": \"My teammate\",\n        \"email\": \"my-teammate@example.com\"\n    }\n}"},{"id":"3c723dcd-45ec-4add-9db6-283811109a43","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"typeId\": \"1\",\n    \"startDate\": \"2025-01-01T06:00:00.000\",\n    \"endDate\": \"2025-01-01T20:00:00.000\",\n    \"note\": \"Extra day off\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/users/2/leaves"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"1f769296-6d23-4a4e-b15a-401dd4e2dd30"},{"name":"Approve a Leave","id":"cdcda8e5-030d-42e7-8dee-84c4954a589a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/leaves/1/approve","description":"<p>Approve a Leave of Team member. Requires <a href=\"https://support.early.app/en/articles/1770789-how-to-assign-a-team-subscription-seat\">Admin or Owner role.</a></p>\n<p>Future Leave can be approved regardless of its status, so it's possible to change status of a future Leave from <code>denied</code> to <code>approved</code> using this endpoint. Only <code>pending</code> past Leave can be approved.</p>\n","urlObject":{"path":["api","v4","leaves","1","approve"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"fd187a7b-be70-449c-9ee5-96a9568175c7","name":"Approved Leave","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/leaves/1/approve"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"typeId\": \"1\",\n    \"startDate\": \"2025-01-01T00:00:00.000\",\n    \"endDate\": \"2025-01-01T23:59:59.999\",\n    \"note\": null,\n    \"status\": \"approved\",\n    \"user\": {\n        \"id\": \"2\",\n        \"name\": \"My teammate\",\n        \"email\": \"my-teammate@example.com\"\n    }\n}"},{"id":"03f2571e-1648-49da-b02b-01c130abf53d","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/leaves/2/approve"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Only pending time leaves can be approved in the past\"\n    }\n}"}],"_postman_id":"cdcda8e5-030d-42e7-8dee-84c4954a589a"},{"name":"Deny a Leave","id":"e4256be7-7d98-4f32-a0ed-2cb26c551074","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/leaves/1/deny","description":"<p>Deny a Leave of Team member. Requires <a href=\"https://support.early.app/en/articles/1770789-how-to-assign-a-team-subscription-seat\">Admin or Owner role.</a></p>\n<p>Future Leave can be denied regardless of its status, so it's possible to change status of a future Leave from <code>approved</code> to <code>denied</code> using this endpoint. Only <code>pending</code> past Leave can be denied.</p>\n","urlObject":{"path":["api","v4","leaves","1","deny"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"0fd9102f-a51c-43b2-90ed-07204a176dc6","name":"Denied Leave","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/leaves/1/deny"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"typeId\": \"1\",\n    \"startDate\": \"2025-01-01T00:00:00.000\",\n    \"endDate\": \"2025-01-01T23:59:59.999\",\n    \"note\": null,\n    \"status\": \"denied\",\n    \"user\": {\n        \"id\": \"2\",\n        \"name\": \"My teammate\",\n        \"email\": \"my-teammate@example.com\"\n    }\n}"},{"id":"f4364797-41fa-4c3f-9a14-3493611b4389","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/leaves/2/deny"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Only pending time leaves can be denied in the past\"\n    }\n}"}],"_postman_id":"e4256be7-7d98-4f32-a0ed-2cb26c551074"},{"name":"Delete a Leave","id":"f7989f80-9e76-4838-a273-dc31fd0e7288","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/leaves/1","description":"<p>Delete a Leave. If it's a Leave of another Team member, action requires <a href=\"https://support.early.app/en/articles/1770789-how-to-assign-a-team-subscription-seat\">Admin or Owner role.</a></p>\n<p>This is an irreversible action. If you want to deny a Leave use <a href=\"https://developers.early.app/\">Deny a Leave endpoint</a> instead.</p>\n","urlObject":{"path":["api","v4","leaves","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"c3a5ee24-2b5c-4456-936c-27708f5ac907","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/leaves/1"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\"\n}"},{"id":"9ac0a691-e3f5-4891-86dc-f86c84295594","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/leaves/4"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"message\": \"Explanation of what has happened\"\n    }\n}"}],"_postman_id":"f7989f80-9e76-4838-a273-dc31fd0e7288"}],"id":"6b6a980b-23a7-4704-9cd7-caefb0ef2c95","description":"<p>Set of endpoints to manage <a href=\"https://support.early.app/en/articles/8258135-leave-tracking\">Leaves</a>. Leave can be <code>pending</code>, <code>approved</code> or <code>denied</code>.</p>\n","_postman_id":"6b6a980b-23a7-4704-9cd7-caefb0ef2c95"},{"name":"Webhooks","item":[{"name":"List available events","id":"cc25a42c-45fb-4ba0-a259-0927f00b8b3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/webhooks/event","description":"<p>Returns a list of events, which can be subscribed to.</p>\n","urlObject":{"path":["api","v4","webhooks","event"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"ac708bcf-89cc-4075-95fd-3d574e9eec37","name":"List of Events","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"https://api.early.app/api/v4/webhooks/event"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"events\": [\n        \"timeEntryCreated\",\n        \"timeEntryUpdated\",\n        \"timeEntryDeleted\",\n        \"trackingStarted\",\n        \"trackingStopped\",\n        \"trackingEdited\",\n        \"trackingCanceled\",\n        \"activityCreated\",\n        \"activityUpdated\",\n        \"activityDeleted\",\n        \"folderCreated\",\n        \"folderUpdated\",\n        \"folderDeleted\",\n        \"timeLeaveCreated\",\n        \"timeLeaveUpdated\",\n        \"timeLeaveDeleted\",\n        \"timeLeaveApproved\",\n        \"timeLeaveDenied\"\n    ]\n}"}],"_postman_id":"cc25a42c-45fb-4ba0-a259-0927f00b8b3d"},{"name":"Subscribe","id":"1f0ca463-6396-4be9-b62e-fa60d274e1ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"trackingStarted\",\n    \"target_url\": \"https://example.org/some-endpoint\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/webhooks/subscription","description":"<p>Creates a webhook subscription for the given event. That means that if the event happens (e.g. a time entry is created), the given target url will be called with the payload of the event.</p>\n<p>The URL needs to be a valid, publicly reachable, HTTPS URL.</p>\n<p>The webhook has a timeout of 10 seconds, so if it takes longer to call the given URL, it will fail.</p>\n<p>If the given target URL returns a <code>410 GONE</code> error, this webhook subscription will automatically be unsubscribed.</p>\n<p>See the Webhooks description for further information about the payloads.</p>\n","urlObject":{"path":["api","v4","webhooks","subscription"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"b0c4e033-1c4a-48b1-9d7a-f4f65bc3e396","name":"Subscription ID","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"trackingStarted\",\n    \"target_url\": \"https://example.org/some-endpoint\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/webhooks/subscription"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"123456\"\n}"},{"id":"08a6e1dd-7c65-4d88-9997-3478c44260dd","name":"Invalid Event","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"invalid\",\n    \"target_url\": \"https://example.org/some-endpoint\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/webhooks/subscription"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"invalid event provided\",\n    \"status\": \"400 Bad Request\"\n}"},{"id":"82384201-1cd9-48b5-92a7-f628a27526ba","name":"Invalid URL","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"trackingStarted\",\n    \"target_url\": \"invalid\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/webhooks/subscription"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"invalid URL provided\",\n    \"status\": \"400 Bad Request\"\n}"},{"id":"cbc70bd1-f7e7-4842-b9f5-95c99faecd9c","name":"Maximum Number of Subscriptions per Event","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"trackingStarted\",\n    \"target_url\": \"https://example.org/some-endpoint\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v4/webhooks/subscription"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"maximum subscriptions per event exceeded\",\n    \"status\": \"400 Bad Request\"\n}"}],"_postman_id":"1f0ca463-6396-4be9-b62e-fa60d274e1ff"},{"name":"Unsubscribe","id":"ad4c3dd7-bb28-447f-a6bc-147928d230e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/webhooks/subscription/123456","description":"<p>Removes a webhook subscription by id.</p>\n","urlObject":{"path":["api","v4","webhooks","subscription","123456"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"58cb67ff-4a63-4d0b-a8a0-168eab166262","name":"Unsubscribe","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/webhooks/subscription/123456"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\"\n}"},{"id":"480fa75a-183c-4edc-bfd7-5afe255505c3","name":"Subscription not found","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/webhooks/subscription/123456"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"could not find subscription with id 123456\",\n    \"status\": \"404 Not Found\"\n}"}],"_postman_id":"ad4c3dd7-bb28-447f-a6bc-147928d230e4"},{"name":"List Subscriptions","id":"f6353878-4147-462e-b702-a3fc97a0926f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/webhooks/subscription","description":"<p>Lists all webhook subscriptions for the current user.</p>\n","urlObject":{"path":["api","v4","webhooks","subscription"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"a2a5b7ed-2318-41d5-b306-99fea4c34cd2","name":"List of subscriptions","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/webhooks/subscription"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"subscriptions\": [\n        {\n            \"id\": \"123456\",\n            \"event\": \"trackingStarted\",\n            \"target_url\": \"https://example.org/some-endpoint\"\n        }\n    ]\n}"}],"_postman_id":"f6353878-4147-462e-b702-a3fc97a0926f"},{"name":"Unsubscribe all for User","id":"04443b18-b9e7-468e-8723-192747b28521","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/webhooks/subscription","description":"<p>Removes all webhooks subscriptions for the current user.</p>\n","urlObject":{"path":["api","v4","webhooks","subscription"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"13c2c2d9-c830-4abc-a70c-8ac9f95f2ec8","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v4/webhooks/subscription"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\"\n}"}],"_postman_id":"04443b18-b9e7-468e-8723-192747b28521"}],"id":"3542677f-33ae-4684-8c79-a43bba4f27a9","description":"<p>Webhooks are a way to enable bi-directional communication via the API.</p>\n<p>The concept is simple - you subscribe to one of our existing events (which can be fetched using the <code>List available events</code> endpoint) and provide a target URL.</p>\n<p>This URL needs to be a valid, publicly reachable, HTTPS URL</p>\n<p>If an event of the given type, for example <code>timeEntryCreated</code> is triggered, the URL you provided will be called with a <code>POST</code> request, containing the event payload as JSON.</p>\n<p>Examples for the currently available events and their payloads can be found below.</p>\n<p>This enables you to build systems, which react on changes made in your EARLY data. For example, you could write a tool which turns your light switch on and off if you start, or stop a Tracking. Or you know, something actually useful... ;)</p>\n<p>The possibilities are endless here and this API also finally makes it possible to integrate with tools such as <a href=\"https://zapier.com/apps/early/integrations\">Zapier</a>!</p>\n<h2 id=\"available-events\">Available Events:</h2>\n<h3 id=\"time-entries\">Time Entries</h3>\n<ul>\n<li><p>timeEntryCreated</p>\n</li>\n<li><p>timeEntryUpdated</p>\n</li>\n<li><p>timeEntryDeleted</p>\n</li>\n</ul>\n<h3 id=\"tracking\">Tracking</h3>\n<ul>\n<li><p>trackingStarted</p>\n</li>\n<li><p>trackingStopped</p>\n</li>\n<li><p>trackingEdited</p>\n</li>\n<li><p>trackingCanceled</p>\n</li>\n</ul>\n<h3 id=\"activities\">Activities</h3>\n<ul>\n<li><p>activityCreated</p>\n</li>\n<li><p>activityUpdated</p>\n</li>\n<li><p>activityDeleted</p>\n</li>\n</ul>\n<h3 id=\"folders\">Folders</h3>\n<ul>\n<li><p>folderCreated</p>\n</li>\n<li><p>folderUpdated</p>\n</li>\n<li><p>folderDeleted</p>\n</li>\n</ul>\n<h3 id=\"leaves\">Leaves</h3>\n<ul>\n<li><p>timeLeaveCreated</p>\n</li>\n<li><p>timeLeaveUpdated</p>\n</li>\n<li><p>timeLeaveDeleted</p>\n</li>\n<li><p>timeLeaveApproved</p>\n</li>\n<li><p>timeLeaveDenied</p>\n</li>\n</ul>\n<h2 id=\"example-payloads\">Example Payloads</h2>\n<h4 id=\"timeentrycreated\">timeEntryCreated</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"timeEntryCreated\",\n    \"data\":\n    {\n       \"createdTimeEntry\":\n       {\n           \"activity\":\n           {\n               \"id\": \"1\",\n               \"name\": \"some activity\",\n               \"color\": \"#ffffff\",\n               \"folderId\": \"2\"\n           },\n           \"duration\":\n           {\n               \"startedAt\": \"2016-02-03T04:00:00.000\",\n               \"stoppedAt\": \"2016-02-03T05:00:00.000\"\n           },\n           \"id\": \"1\",\n           \"note\":\n           {\n              \"mentions\":\n              [\n                  {\n                      \"id\": 1,\n                      \"key\": \"TheSheep\",\n                      \"label\": \"TheSheep\",\n                      \"scope\": \"timeular\",\n                      \"folderId\": \"2\"\n                  }\n              ],\n              \"tags\":\n              [\n                  {\n                      \"id\": 1,\n                      \"key\": \"boring\",\n                      \"label\": \"boring\",\n                      \"scope\": \"timeular\",\n                      \"folderId\": \"2\"\n                  }\n              ],\n              \"text\": \"99 sheep &lt;{{|t|1|}}&gt; &lt;{{|m|1|}}&gt;\"\n          }\n       }\n    }\n}\n\n</code></pre>\n<h4 id=\"timeentryupdated\">timeEntryUpdated</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"timeEntryUpdated\",\n    \"data\":\n    {\n       \"updatedTimeEntry\":\n       {\n           \"activity\":\n           {\n               \"id\": \"1\",\n               \"name\": \"some activity\",\n               \"color\": \"#ffffff\",\n               \"folderId\": \"2\"\n           },\n           \"duration\":\n           {\n               \"startedAt\": \"2016-02-03T04:00:00.000\",\n               \"stoppedAt\": \"2016-02-03T05:00:00.000\"\n           },\n           \"id\": \"1\",\n           \"note\":\n           {\n              \"mentions\":\n              [\n                  {\n                      \"id\": 1,\n                      \"key\": \"TheSheep\",\n                      \"label\": \"TheSheep\",\n                      \"scope\": \"timeular\",\n                      \"folderId\": \"2\"\n                  }\n              ],\n              \"tags\":\n              [\n                  {\n                      \"id\": 1,\n                      \"key\": \"boring\",\n                      \"label\": \"boring\",\n                      \"scope\": \"timeular\",\n                      \"folderId\": \"2\"\n                  }\n              ],\n              \"text\": \"99 sheep &lt;{{|t|1|}}&gt; &lt;{{|m|1|}}&gt;\"\n          }\n       }\n    }\n}\n\n</code></pre>\n<h4 id=\"timeentrydeleted\">timeEntryDeleted</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"timeEntryDeleted\",\n    \"data\":\n    {\n        \"deletedTimeEntry\": \n        {\n          \"id\": \"1\"\n        }\n    }\n}\n\n</code></pre>\n<h4 id=\"trackingstarted\">trackingStarted</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"trackingStarted\",\n    \"data\":\n    {\n        \"currentTracking\":\n        {\n            \"id\": 1,\n            \"activity\":\n            {\n                \"id\": \"1\",\n                \"name\": \"some activity\",\n                \"color\": \"#ffffff\",\n                \"folderId\": \"2\"\n            },\n            \"note\":\n            {\n                \"mentions\":\n                [\n                    {\n                        \"id\": 1,\n                        \"key\": \"TheSheep\",\n                        \"label\": \"TheSheep\",\n                        \"scope\": \"timeular\",\n                        \"folderId\": \"2\"\n                    }\n                ],\n                \"tags\":\n                [\n                    {\n                        \"id\": 1,\n                        \"key\": \"boring\",\n                        \"label\": \"boring\",\n                        \"scope\": \"timeular\",\n                        \"folderId\": \"2\"\n                    }\n                ],\n                \"text\": \"99 sheep &lt;{{|t|1|}}&gt; &lt;{{|m|1|}}&gt;\"\n            },\n            \"startedAt\": \"2016-02-03T04:00:00.000\"\n        }\n    }\n}\n\n</code></pre>\n<h4 id=\"trackingstopped\">trackingStopped</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"trackingStopped\",\n    \"data\": \n    {\n        \"newTimeEntry\":\n        {\n            \"activity\":\n            {\n                \"id\": \"1\",\n                \"name\": \"some activity\",\n                \"color\": \"#ffffff\",\n                \"folderId\": \"2\"\n            },\n            \"duration\":\n            {\n                \"startedAt\": \"2016-02-03T04:00:00.000\",\n                \"stoppedAt\": \"2016-02-03T05:00:00.000\"\n            },\n            \"id\": \"1\",\n            \"note\":\n            {\n                \"mentions\":\n                [\n                    {\n                        \"id\": 1,\n                        \"key\": \"TheSheep\",\n                        \"label\": \"TheSheep\",\n                        \"scope\": \"timeular\",\n                        \"folderId\": \"2\"\n                    }\n                ],\n                \"tags\":\n                [\n                    {\n                        \"id\": 1,\n                        \"key\": \"boring\",\n                        \"label\": \"boring\",\n                        \"scope\": \"timeular\",\n                        \"folderId\": \"2\"\n                    }\n                ],\n                \"text\": \"99 sheep &lt;{{|t|1|}}&gt; &lt;{{|m|1|}}&gt;\"\n            }\n        }\n    }\n}\n\n</code></pre>\n<h4 id=\"trackingedited\">trackingEdited</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"trackingEdited\",\n    \"data\":\n    {\n        \"currentTracking\":\n        {\n            \"id\": 1,\n            \"activity\":\n            {\n                \"id\": \"1\",\n                \"name\": \"some activity\",\n                \"color\": \"#ffffff\",\n                \"folderId\": \"2\"\n            },\n            \"note\":\n            {\n                \"mentions\":\n                [\n                    {\n                        \"id\": 1,\n                        \"key\": \"TheSheep\",\n                        \"label\": \"TheSheep\",\n                        \"scope\": \"timeular\",\n                        \"folderId\": \"2\"\n                    }\n                ],\n                \"tags\":\n                [\n                    {\n                        \"id\": 1,\n                        \"key\": \"boring\",\n                        \"label\": \"boring\",\n                        \"scope\": \"timeular\",\n                        \"folderId\": \"2\"\n                    }\n                ],\n                \"text\": \"99 sheep &lt;{{|t|1|}}&gt; &lt;{{|m|1|}}&gt;\"\n            },\n            \"startedAt\": \"2016-02-03T04:00:00.000\"\n        }\n    }\n}\n\n</code></pre>\n<h4 id=\"trackingcanceled\">trackingCanceled</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"trackingCanceled\",\n    \"data\":\n    {\n        \"currentTracking\":\n        {\n            \"id\": 1,\n            \"activity\":\n            {\n                \"id\": \"1\",\n                \"name\": \"some activity\",\n                \"color\": \"#ffffff\",\n                \"folderId\": \"2\"\n            },\n            \"note\":\n            {\n                \"mentions\":\n                [\n                    {\n                        \"id\": 1,\n                        \"key\": \"TheSheep\",\n                        \"label\": \"TheSheep\",\n                        \"scope\": \"timeular\",\n                        \"folderId\": \"2\"\n                    }\n                ],\n                \"tags\":\n                [\n                    {\n                        \"id\": 1,\n                        \"key\": \"boring\",\n                        \"label\": \"boring\",\n                        \"scope\": \"timeular\",\n                        \"folderId\": \"2\"\n                    }\n                ],\n                \"text\": \"99 sheep &lt;{{|t|1|}}&gt; &lt;{{|m|1|}}&gt;\"\n            },\n            \"startedAt\": \"2016-02-03T04:00:00.000\"\n        }\n    }\n}\n\n</code></pre>\n<h4 id=\"activitycreated\">activityCreated</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"activityCreated\",\n    \"data\":\n    {            \n        \"createdActivity\":\n         {\n             \"id\": \"1\",\n             \"name\": \"some activity\",\n             \"color\": \"#ffffff\",\n             \"folderId\": \"2\"\n         }\n    }\n}\n\n</code></pre>\n<h4 id=\"activityupdated\">activityUpdated</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"activityUpdated\",\n    \"data\":\n    {            \n        \"updatedActivity\":\n         {\n             \"id\": \"1\",\n             \"name\": \"some activity\",\n             \"color\": \"#ffffff\",\n             \"folderId\": \"2\"\n         }\n    }\n}\n\n</code></pre>\n<h4 id=\"activitydeleted\">activityDeleted</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"activityDeleted\",\n    \"data\":\n    {            \n        \"deletedActivity\":\n         {\n             \"id\": \"1\"\n         }\n    }\n}\n\n</code></pre>\n<h4 id=\"foldercreated\">folderCreated</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"folderCreated\",\n    \"data\":\n    {            \n        \"id\": \"1\",\n        \"name\": \"some folder\"\n    }\n}\n\n</code></pre>\n<h4 id=\"folderupdated\">folderUpdated</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"folderUpdated\",\n    \"data\":\n    { \n        \"id\": \"1\",\n        \"name\": \"some folder\"\n    }\n}\n\n</code></pre>\n<h4 id=\"folderdeleted\">folderDeleted</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"folderDeleted\",\n    \"data\":\n    {\n        \"id\": \"1\",\n        \"name\": \"some folder\"\n    }\n}\n\n</code></pre>\n<h4 id=\"timeleavecreated\">timeLeaveCreated</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"timeLeaveCreated\",\n    \"data\":\n    {\n        \"id\": \"1\",\n        \"typeId\": \"1\",\n        \"startDate\": \"2025-01-01T14:00:00.000\",\n        \"endDate\": \"2025-01-01T18:00:00.000\",\n        \"status\": \"pending\",\n        \"user\":\n        {\n            \"id\": \"456\",\n            \"name\": \"My teammate\",\n            \"email\": \"my-teammate@example.com\"\n        }\n    }\n}\n\n</code></pre>\n<h4 id=\"timeleaveupdated\">timeLeaveUpdated</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"timeLeaveUpdated\",\n    \"data\":\n    {\n        \"id\": \"1\",\n        \"typeId\": \"1\",\n        \"startDate\": \"2025-01-01T10:00:00.000\",\n        \"endDate\": \"2025-01-01T16:00:00.000\",\n        \"status\": \"pending\",\n        \"user\":\n        {\n            \"id\": \"456\",\n            \"name\": \"My teammate\",\n            \"email\": \"my-teammate@example.com\"\n        }\n    }\n}\n\n</code></pre>\n<h4 id=\"timeleavedeleted\">timeLeaveDeleted</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"timeLeaveDeleted\",\n    \"data\":\n    {\n        \"id\": \"1\"\n    }\n}\n\n</code></pre>\n<h4 id=\"timeleaveapproved\">timeLeaveApproved</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"timeLeaveApproved\",\n    \"data\":\n    {\n        \"id\": \"1\",\n        \"typeId\": \"1\",\n        \"startDate\": \"2025-01-01T10:00:00.000\",\n        \"endDate\": \"2025-01-01T16:00:00.000\",\n        \"status\": \"approved\",\n        \"user\":\n        {\n            \"id\": \"456\",\n            \"name\": \"My teammate\",\n            \"email\": \"my-teammate@example.com\"\n        }\n    }\n}\n\n</code></pre>\n<h4 id=\"timeleavedenied\">timeLeaveDenied</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"timeLeaveDenied\",\n    \"data\":\n    {\n        \"id\": \"1\",\n        \"typeId\": \"1\",\n        \"startDate\": \"2025-01-01T10:00:00.000\",\n        \"endDate\": \"2025-01-01T16:00:00.000\",\n        \"status\": \"denied\",\n        \"user\":\n        {\n            \"id\": \"456\",\n            \"name\": \"My teammate\",\n            \"email\": \"my-teammate@example.com\"\n        }\n    }\n}\n\n</code></pre>\n","_postman_id":"3542677f-33ae-4684-8c79-a43bba4f27a9"}],"id":"399708a8-6f54-457c-aecf-c187820e1e8e","description":"<p>Welcome to the documentation of EARLY Public API v4.</p>\n<p>Most of the endpoints are secured.</p>\n<p>In order to access them you have to provide an Access Token. To obtain an Access Token, you have to sign-in with a pair of API Key and API Secret first. API Key &amp; API Secret can be generated on <a href=\"https://product.early.app\">https://product.early.app</a>.</p>\n<p>If you have any questions, please visit <a href=\"https://support.early.app\">https://support.early.app</a>.</p>\n<p>Happy API browsing!</p>\n","_postman_id":"399708a8-6f54-457c-aecf-c187820e1e8e"},{"name":"V3","item":[{"name":"Authentication","item":[{"name":"Sign-in with API Key & API Secret","event":[{"listen":"test","script":{"id":"257e8766-281e-455c-a55c-7d7d9869fd1d","exec":["var body = JSON.parse(responseBody);","if (body.token) {","    postman.setEnvironmentVariable(\"ACCESS_TOKEN\",  body.token);","}"],"type":"text/javascript"}}],"id":"12de6e46-4b3a-437b-94b2-39b7782eb24c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\"    : \"{{API_KEY}}\",\n  \"apiSecret\" : \"{{API_SECRET}}\"\n}"},"url":"{{BASE_URL}}/api/v3/developer/sign-in","description":"<p>With this endpoint you can obtain an Access Token, which is required to access secured endpoints. To do so, you have to provide both an API Key and an API Secret.</p>\n<p>They can be generated on <a href=\"https://product.early.app\">https://product.early.app</a> or, if you have an Access Token already, with a <code>POST</code> request to <code>/developer/api-access</code>.</p>\n<p>If you have an Access Token, you need to set the <code>Authorization</code> Header in every secured request to <code>Bearer your_access_token</code>.</p>\n","urlObject":{"path":["api","v3","developer","sign-in"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"b6f6c0f3-a076-44b9-9ddc-fb4a04cd574e","name":"Access Token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\"    : \"{{API_KEY}}\",\n  \"apiSecret\" : \"{{API_SECRET}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/developer/sign-in"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"1234abcdEFGH\"\n}"},{"id":"b8d90945-9e02-4213-b339-b8e0ba2266be","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\"    : \"{{API_KEY}}\",\n  \"apiSecret\" : \"{{API_SECRET}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/developer/sign-in"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"c695fbea-a344-45a6-8395-f6b888e76dd4","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\"    : \"{{API_KEY}}\",\n  \"apiSecret\" : \"{{API_SECRET}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/developer/sign-in"},"code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"12de6e46-4b3a-437b-94b2-39b7782eb24c"},{"name":"Fetch API Key","id":"2cc9aa7c-c235-4b2d-a1b5-7587167bd542","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/developer/api-access","description":"<p>With this endpoint you can fetch your API Key. If you haven't generated one yet, <code>null</code> will be returned.</p>\n<p> You cannot obtain an API Secret in this way, since it’s visible only once right after generation. If you have lost your API Secret, please generate a new pair of API Key &amp; API Secret.</p>\n","urlObject":{"path":["api","v3","developer","api-access"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"7b971c4e-c6d8-4a7a-a5a0-92a0c85c65d8","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/developer/api-access"},"code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"c0b75095-4db2-42ed-ae20-caa70acfe9ca","name":"API Key","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/developer/api-access"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"apiKey\": \"ABCDefgh1234=\"\n}"},{"id":"c8ef82fe-9582-4e1a-9533-c814092d8064","name":"Missing Authorization header","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/developer/api-access"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"2cc9aa7c-c235-4b2d-a1b5-7587167bd542"},{"name":"Generate new API Key & API Secret","event":[{"listen":"test","script":{"id":"a475c1a7-9647-4617-bbdd-931f80c089ec","exec":["var body = JSON.parse(responseBody);","if (body.apiKey) {","    postman.setEnvironmentVariable(\"API_KEY\",  body.apiKey);","}","if (body.apiSecret) {","    postman.setEnvironmentVariable(\"API_SECRET\",  body.apiSecret);","}"],"type":"text/javascript"}}],"id":"e1db0328-fad2-4679-82c6-c16a89130fce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/developer/api-access","description":"<p>With this endpoint you can generate a new pair of API Key &amp; API Secret.</p>\n<p>Every time you generate a new pair, the old one becomes invalid. Your API Secret won’t be accessible later, so please note it down in some secret place. If you have lost your API Secret, you can generate a new pair of API Key &amp; API Secret here.</p>\n","urlObject":{"path":["api","v3","developer","api-access"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"cab36616-5060-4c6a-a5d6-633132983ad8","name":"API Key & API Secret","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/developer/api-access"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"apiKey\": \"ABCDefgh1234=\",\n    \"apiSecret\": \"EFGHijkl5678=\"\n}"},{"id":"18c06bf7-310f-4bde-a682-397e260e2bfb","name":"Missing Authorization header","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/developer/api-access"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"deb6cbc0-0ad4-4809-9324-b3770dffedb4","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/developer/api-access"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"e1db0328-fad2-4679-82c6-c16a89130fce"},{"name":"Logout","event":[{"listen":"test","script":{"id":"e8f916a2-d4f3-4f0d-b899-ca211673b7b6","exec":[""],"type":"text/javascript"}}],"id":"b2a18382-8f61-4222-bb5d-fa58c2c260a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/developer/logout","description":"<p>With this endpoint you are invalidating the current Access Token meaning all access wil be denied if you are using it afterwards again.</p>\n","urlObject":{"path":["api","v3","developer","logout"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"29917d3b-74fb-49e5-8bb7-2d760b084f71","name":"API Key & API Secret","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/developer/api-access"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"apiKey\": \"ABCDefgh1234=\",\n    \"apiSecret\": \"EFGHijkl5678=\"\n}"},{"id":"601f0545-14de-460c-a661-24519b11157b","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/developer/api-access"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"8eb3d171-bb22-47ed-8cb3-2303a3b7313b","name":"Missing Authorization header","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/developer/api-access"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"b2a18382-8f61-4222-bb5d-fa58c2c260a9"}],"id":"3ef02b84-a98e-471d-a350-4e2213968df4","_postman_id":"3ef02b84-a98e-471d-a350-4e2213968df4","description":""},{"name":"Integrations","item":[{"name":"List enabled Integrations","id":"cb7bdc76-d2cb-42f8-8f34-fd2fd2488959","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/integrations","description":"<p>With this endpoint you can list the names of all Integrations you have enabled on <a href=\"https://product.early.app\">https://product.early.app</a></p>\n","urlObject":{"path":["api","v3","integrations"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"d1815d02-7f40-4bca-9088-cad78b5c438a","name":"List of enabled Integrations","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/integrations"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"integrations\": [\n        \"jira\",\n        \"toggl\",\n        \"trello\"\n    ]\n}"},{"id":"6dd64274-9cde-49cc-8cb7-616bbe0e592c","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"{{BASE_URL}}/api/v3/integrations"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n   \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"cb7bdc76-d2cb-42f8-8f34-fd2fd2488959"}],"id":"6c2786ad-c495-47c9-82fc-556544ea8f90","description":"<p>Your EARLY account can be connected with Integrations, eg. JIRA. Check them out on <a href=\"https://product.early.app/#/settings/integrations\">https://product.early.app/#/settings/integrations</a>.</p>\n","event":[{"listen":"prerequest","script":{"id":"c82f89a4-4b7d-4ae3-a21c-3ceb85a589f7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d3abda3d-a0a6-4c4b-87aa-a1f944c8b700","type":"text/javascript","exec":[""]}}],"_postman_id":"6c2786ad-c495-47c9-82fc-556544ea8f90"},{"name":"Time Tracking","item":[{"name":"Activities","item":[{"name":"List all Activities","id":"9ac8c381-7e91-4802-8f02-e6918493e902","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/activities","urlObject":{"path":["api","v3","activities"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"b550fe08-3c72-4fa2-b38d-1611c3b5096c","name":"List of Activities","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/activities"},"code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"activities\": [\n        {\n            \"id\": \"1\",\n            \"name\": \"abc\",\n            \"color\": \"#000000\",\n            \"integration\": \"zei\",\n            \"spaceId\": \"1\",\n            \"deviceSide\": null\n        }\n    ],\n    \"inactiveActivities\": [\n        {\n            \"id\": \"2\",\n            \"name\": \"def\",\n            \"color\": \"#000000\",\n            \"integration\": \"zei\",\n            \"spaceId\": \"2\"\n        }\n    ],\n    \"archivedActivities\": [           \n        {\n            \"id\": \"3\",\n            \"name\": \"ghi\",\n            \"color\": \"#000000\",\n            \"integration\": \"zei\",\n            \"spaceId\": \"2\"\n        }\n    ]\n}"},{"id":"739c3a94-8359-4105-82da-268d918c8a09","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/activities"},"code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"9ac8c381-7e91-4802-8f02-e6918493e902"},{"name":"Create an Activity","id":"591f7ca0-7ec5-4c0e-b0d0-99b6967ce53e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\"        : \"sleeping\",\n  \"color\"       : \"#a1c2c3\",\n  \"integration\" : \"zei\",\n  \"spaceId\" \t: \"123456\"\n}"},"url":"{{BASE_URL}}/api/v3/activities","description":"<p>With this endpoint you can create a new Activity. It should have a name, a space and a color.</p>\n<p>The name doesn’t have to be unique. You can also provide an Integration to which the activity will belong (zei by default, which means no special Integration). You can obtain a list of enabled Integrations by making a GET request to /api/v3/integrations.</p>\n","urlObject":{"path":["api","v3","activities"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"6635d45b-47de-4b65-a12a-ee78fdca1f4e","name":"Created Activity","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\"        : \"sleeping\",\n  \"color\"       : \"#a1b2c3\",\n  \"integration\" : \"zei\",\n  \"spaceId\" \t: \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/activities"},"code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"name\": \"sleeping\",\n    \"color\": \"#a1b2c3\",\n    \"integration\": \"zei\",\n    \"spaceId\": \"1\",\n    \"deviceSide\": null\n}"},{"id":"1340fa1d-de53-43c3-ab8d-40ce5fba591b","name":"Integration-related error, eg. if given integration does not exist","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\"        : \"sleeping\",\n  \"color\"       : \"#a1b2c3\",\n  \"integration\" : \"zei\",\n  \"spaceId\" \t: \"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/activities"},"code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"},{"id":"1a7decfb-e2a0-4263-8632-9245aea21eeb","name":"Not Space Admin","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\"        : \"sleeping\",\n  \"color\"       : \"#a1b2c3\",\n  \"integration\" : \"zei\",\n  \"spaceId\" \t: \"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/activities"},"code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Only space admins are allowed to create activities\"\n}"},{"id":"5853aa8a-35bb-44af-be20-0c04a58156e0","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\"        : \"sleeping\",\n  \"color\"       : \"#a1b2c3\",\n  \"integration\" : \"zei\",\n  \"spaceId\" \t: \"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/activities"},"code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"},{"id":"f7298108-29fd-4186-86e4-59fea71a7982","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\"        : \"sleeping\",\n  \"color\"       : \"#a1b2c3\",\n  \"integration\" : \"zei\",\n  \"spaceId\" \t: \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/activities"},"code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"591f7ca0-7ec5-4c0e-b0d0-99b6967ce53e"},{"name":"Edit an Activity","id":"1ac62610-1bb7-411c-846b-c9690fa3ace5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"deeper sleeping\",\n  \"color\": \"#f9e8d7\"\n}"},"url":"{{BASE_URL}}/api/v3/activities/2","urlObject":{"path":["api","v3","activities","2"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"26e5685b-1c07-4ebd-a872-fa879b79a487","name":"Edited Activity","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"deeper sleeping\",\n  \"color\": \"#f9e8d7\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/activities/2"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"name\": \"deeper sleeping\",\n    \"color\": \"#f9e8d7\",\n    \"integration\": \"zei\",\n    \"spaceId\": \"1\"\n}"},{"id":"13674ce5-306b-4049-b18d-fba145cb0970","name":"Activity not found","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"deeper sleeping\",\n  \"color\": \"#f9e8d7\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/activities/2"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"197a7726-4a16-4f8f-a155-6f2deb9f1647","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"deeper sleeping\",\n  \"color\": \"#f9e8d7\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/activities/2"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"b1dc985c-5e24-4d90-9e81-5a486a878ad5","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"deeper sleeping\",\n  \"color\": \"#f9e8d7\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/activities/2"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"1ac62610-1bb7-411c-846b-c9690fa3ace5"},{"name":"Archive an Activity","id":"234c5874-2086-4104-bff7-af9b9efeced8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/activities/2","urlObject":{"path":["api","v3","activities","2"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"b9fec6d4-00e0-453c-96fe-d438ce9ae236","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/activities/2"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        \"Any error which can be ignored and did not prevented action to be performed successfully.\"\n    ]\n}"},{"id":"4ffda1d7-8c69-4b21-bca6-0a9a9b8345b8","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/activities/2"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"cc25e45f-f3c3-4cde-b411-362976d2edec","name":"Activity not found","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/activities/2"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"234c5874-2086-4104-bff7-af9b9efeced8"},{"name":"Assign an Activity to Device Side","id":"8307c8c6-d1d0-476b-abcf-cf76c3d319c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/activities/1/device-side/1","description":"<p>With this endpoint you can assign an activity to any Side of your active Device. We do not know how many Sides your Device has and which ones are valid (the default Tracker has 8 sides numbered from 1 to 8). </p>\n<p>In order to activate your Device, make a POST request to /api/v3/devices/{deviceSerial}/activate.</p>\n","urlObject":{"path":["api","v3","activities","1","device-side","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"bc998777-0b3e-4a68-9134-cb072e3a6fea","name":"Activity after assignment","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/activities/1/device-side/1"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"123\",\n  \"name\": \"sleeping\",\n  \"color\": \"#a1b2c3\",\n  \"integration\": \"zei\",\n  \"deviceSide\": null,\n  \"spaceId\": \"1\"\n}"},{"id":"12733510-9aa4-4224-a3b6-322f4b97f687","name":"No Device is Active","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/activities/1/device-side/1"},"code":409,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"7870ace2-3181-4d1d-9f2d-9d57356efed3","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/activities/1/device-side/1"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"93f32872-53a2-4072-86b2-f7df5cd636e2","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/activities/1/device-side/1"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"bc65f468-4f75-4f62-8ae7-c1dfcad7844a","name":"Activity not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/activities/1/device-side/1"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"8307c8c6-d1d0-476b-abcf-cf76c3d319c0"},{"name":"Unassign an Activity from a Device Side","id":"583e3518-e1df-4a9f-8af7-83efbdd6e79b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/activities/1/device-side/1","description":"<p>With this endpoint, you can delete an assignment of an Activity from a Side of your active Device. In order to activate one proper Device, make a POST request to /api/v3/devices/{deviceSerial}/activate.</p>\n","urlObject":{"path":["api","v3","activities","1","device-side","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"25e1c544-df8c-4d58-9482-dbd2e6898589","name":"Activity after unassignment","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/activities/1/device-side/1"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"123\",\n    \"name\": \"sleeping\",\n    \"color\": \"#a1b2c3\",\n    \"integration\": \"zei\",\n    \"deviceSide\": null,\n    \"spaceId\": \"1\"\n}"},{"id":"0da8de07-e118-40f8-8008-18de49b612eb","name":"No Device is Active or Activity is not assigned to given Device Side","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/activities/1/device-side/1"},"code":409,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"c451c138-e58f-4d23-b8fe-f0b1df7d9578","name":"Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/activities/1/device-side/1"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"e753f471-9299-4742-b764-debe562cad0f","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/activities/1/device-side/1"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"fb1093d3-7e85-4240-bee1-7e24e8fa18c5","name":"Activity not found","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/activities/1/device-side/1"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"583e3518-e1df-4a9f-8af7-83efbdd6e79b"}],"id":"2752b0a3-79f3-40a9-a897-5ef81f20c8e3","description":"<p>Activities are one of the main concepts in EARLY. You can track time on them and synchronize them with third party tools, such as JIRA.</p>\n<p>When an activity is no longer needed, you can archive it. The data already tracked on it will remain, even if an activity is archived.</p>\n","event":[{"listen":"prerequest","script":{"id":"7d6b65ab-1c17-4464-8bf3-679cab07c9a8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5b2f0452-5cba-4957-986e-9fd1dc664bf4","type":"text/javascript","exec":[""]}}],"_postman_id":"2752b0a3-79f3-40a9-a897-5ef81f20c8e3"},{"name":"Devices","item":[{"name":"List all known Devices","id":"68bff2d1-b66b-4a34-bcf9-0dbd6e0b411b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/devices","urlObject":{"path":["api","v3","devices"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"31748d4c-11f1-4569-91d5-17bba0928abd","name":"List of Known Devices","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/devices"},"code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 03 Aug 2020 13:16:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.17.8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Access-Control-Allow-Methods","value":"OPTIONS,GET,POST,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type,Authorization,User-ID,Do-Not-Pass-To-Third-Party-Service"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Allow","value":"HEAD, GET, OPTIONS"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n  \"devices\": [\n    {\n      \"serial\": \"123\",\n      \"name\": \"Personal Tracker\",\n      \"active\": true,\n      \"disabled\": false\n    }\n  ]\n}"},{"id":"965c87cf-8a59-461e-a0ef-56b8b792428b","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/devices"},"code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 03 Aug 2020 13:16:07 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.17.8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Access-Control-Allow-Methods","value":"OPTIONS,GET,POST,PUT,PATCH,DELETE"},{"key":"Access-Control-Allow-Headers","value":"Content-Type,Authorization,User-ID,Do-Not-Pass-To-Third-Party-Service"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Allow","value":"HEAD, GET, OPTIONS"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"68bff2d1-b66b-4a34-bcf9-0dbd6e0b411b"},{"name":"Activate Device","id":"2d3946a1-d112-443b-8058-0b27f3fde396","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/activate","urlObject":{"path":["api","v3","devices","TZabc123","activate"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"6cf60e0f-ea9c-4fd3-872b-2c1d910f2d2f","name":"Activated Device","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/activate"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"serial\": \"123\",\n    \"name\": \"Personal Tracker\",\n    \"active\": true,\n    \"disabled\": false\n}"},{"id":"50dee26b-6e79-473c-90ca-235a4280ab5b","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/activate"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"b1b4426d-29b9-47f1-a49b-1da251571c0f","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/activate"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"2d3946a1-d112-443b-8058-0b27f3fde396"},{"name":"Deactivate Device","id":"59928e50-d695-4118-8d71-13079f4ae9d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/deactivate","urlObject":{"path":["api","v3","devices","TZabc123","deactivate"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"3aee723e-898e-4f62-b92a-6f6e06da2481","name":"Deactivated Device","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/deactivate"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"serial\": \"123\",\n    \"name\": \"Personal Tracker\",\n    \"active\": true,\n    \"disabled\": false\n}"},{"id":"1f52986d-4e45-445d-a6ce-71c2255cccd4","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/deactivate"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"3343d720-a2da-4c58-84ae-a4ae4da0fdd4","name":"Device is not known. Make it Active to make it known too.","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/deactivate"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"7274c8c3-9cad-4210-b945-444691c679c3","name":"Device does not have the status Active.","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/deactivate"},"code":409,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"bf168ab3-bb37-4b49-a383-209f5618ad31","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/deactivate"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"59928e50-d695-4118-8d71-13079f4ae9d9"},{"name":"Edit Device","id":"78ab7505-587f-469a-974f-781647bc4900","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\" : \"Doge\"\n}"},"url":"{{BASE_URL}}/api/v3/devices/TZabc123","description":"<p>With this endpoint you can set the name of your device. The name is trimmed from leading and trailing whitespaces. You can remove the name from a Device by setting it to null/blank/empty.</p>\n","urlObject":{"path":["api","v3","devices","TZabc123"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"c5feda4f-ae00-4c83-9a1b-60e56397cc64","name":"Edited Device","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\" : \"Doge\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/devices/TZabc123"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"serial\": \"123\",\n    \"name\": \"Personal Tracker\",\n    \"active\": true,\n    \"disabled\": false\n}"},{"id":"15968ae2-1682-4544-83df-f090197ff2d8","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\" : \"Doge\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/devices/TZabc123"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"557ed6d4-cb77-4aa9-990c-f849ad05f778","name":"Device is not known. Make it Active to make it known too.","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\" : \"Doge\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/devices/TZabc123"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"f3c19882-0da2-4dbb-94a0-c1b97d524668","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\" : \"Doge\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/devices/TZabc123"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"78ab7505-587f-469a-974f-781647bc4900"},{"name":"Forget Device","id":"08024987-8f56-41d4-8653-97cbf1202809","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123","description":"<p>With this endpoint, you can remove a Device from the list of known Devices. In order to remove the Device, you have to make it active again with a POST request to /api/v3/devices/{deviceSerial}/activate.</p>\n","urlObject":{"path":["api","v3","devices","TZabc123"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"9b6f4996-6a5b-4f63-b5f1-fb7ba318114b","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123"},"code":204,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"2c17cf4e-f497-4973-a311-61132e813277","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"5bed397f-5d26-4744-9922-bd73643ed08d","name":"Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"a5c239be-54db-40e5-94d3-672e8c736de4","name":"Device is not known. Make it Active to make it known too.","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"08024987-8f56-41d4-8653-97cbf1202809"},{"name":"Disable Device","id":"985dae45-b3db-4993-a4b1-5847044388bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/disable","urlObject":{"path":["api","v3","devices","TZabc123","disable"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"4d8c3314-53db-406c-a611-1a4809c8b2b1","name":"Disabled Device","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/disable"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"serial\": \"123\",\n    \"name\": \"Personal Tracker\",\n    \"active\": true,\n    \"disabled\": false\n}"},{"id":"75ca666e-ee82-4749-bad0-e7c030a52d3f","name":"Device is not known. Make it Active to make it known too.","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/disable"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"ccd79143-9c8e-4909-8142-fc03c65b48f3","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/disable"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"ec0d9d98-6389-4046-8f64-9c3f7938ed6b","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/disable"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"985dae45-b3db-4993-a4b1-5847044388bd"},{"name":"Enable Device","id":"96f1eb5b-5aa6-43eb-9176-fd8b7bd5b16f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/enable","urlObject":{"path":["api","v3","devices","TZabc123","enable"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"f15eed0e-4c08-4cfd-8557-ec5dadef97df","name":"Enabled Device","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/enable"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"serial\": \"123\",\n    \"name\": \"Personal Tracker\",\n    \"active\": true,\n    \"disabled\": false\n}"},{"id":"20bf6718-6993-41f8-b4d1-2e2722d24cb6","name":"Device is not known. Make it Active to make it known too.","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/enable"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"cc874813-cfac-496f-96cc-b42ac652d3c7","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/enable"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"d062df45-96a2-46bd-a056-c7b5a13032c4","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/devices/TZabc123/enable"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"96f1eb5b-5aa6-43eb-9176-fd8b7bd5b16f"}],"id":"526713b9-9d1f-473f-afe3-aa27f75a659b","description":"<p>The device represents your Tracker. At the very beginning EARLY knows nothing about your Devices, but you can activate any Device by providing its Serial number.</p>\n<p>Only one Device can be active at any given moment, to ensure the EARLY client can perform actions in context of same paired Tracker.</p>\n<p>Moreover you can name your Devices to distinguish them easily. Devices can be marked as disabled too, which can help you to see which Devices should not handle Side changes (until enabled again).</p>\n","event":[{"listen":"prerequest","script":{"id":"c368c0e4-c155-4291-9706-7e9b7dda67bf","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"80893148-d9c3-4351-80ad-c4088e4d0f85","type":"text/javascript","exec":[""]}}],"_postman_id":"526713b9-9d1f-473f-afe3-aa27f75a659b"},{"name":"Current Tracking","item":[{"name":"Show current Tracking","id":"13f48c99-bf92-4892-9f5d-ae17f603526a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/tracking","urlObject":{"path":["api","v3","tracking"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"6852a254-5dda-4b0d-a4b3-2401178ed76a","name":"Current Tracking","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/tracking"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"currentTracking\": {\n        \"id\": 1,\n        \"activityId\": \"1217348\",\n        \"startedAt\": \"2020-08-03T04:00:00.000\",\n        \"note\": {\n            \"text\": \"99 sheep <{{|t|1|}}> <{{|m|2|}}>\",\n            \"tags\": [\n                {\n                    \"id\": 1,\n                    \"key\": \"3b381b24-c690-4000-9079-7355579162fb\",\n                    \"label\": \"some tag\",\n                    \"scope\": \"timeular\",\n                    \"spaceId\": \"1\"\n                }\n            ],\n            \"mentions\": [\n                {\n                    \"id\": 2,\n                    \"key\": \"2b381b24-c690-4000-9079-7355579162fb\",\n                    \"label\": \"some-mention\",\n                    \"scope\": \"timeular\",\n                    \"spaceId\": \"1\"\n                }\n            ]\n        }\n    }\n}"},{"id":"d8e4ea9f-4c15-49ae-81cf-1580586bc75e","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/tracking"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"13f48c99-bf92-4892-9f5d-ae17f603526a"},{"name":"Start Tracking","id":"4d1dcf30-125a-48d3-8895-27e611581f50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"startedAt\" : \"2016-02-03T04:00:00.000\"\n}"},"url":"{{BASE_URL}}/api/v3/tracking/1/start","urlObject":{"path":["api","v3","tracking","1","start"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"d1d5620a-a2be-4624-9e6f-7472db96e874","name":"Started Tracking","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"startedAt\" : \"2020-08-03T04:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/tracking/1217348/start"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"currentTracking\": {\n        \"id\": 1,\n        \"activityId\": \"1217348\",\n        \"startedAt\": \"2020-08-03T04:00:00.000\",\n        \"note\": {\n            \"text\": \"99 sheep <{{|t|1|}}> <{{|m|2|}}>\",\n            \"tags\": [\n                {\n                    \"id\": 1,\n                    \"key\": \"3b381b24-c690-4000-9079-7355579162fb\",\n                    \"label\": \"some tag\",\n                    \"scope\": \"timeular\",\n                    \"spaceId\": \"1\"\n                }\n            ],\n            \"mentions\": [\n                {\n                    \"id\": 2,\n                    \"key\": \"2b381b24-c690-4000-9079-7355579162fb\",\n                    \"label\": \"some-mention\",\n                    \"scope\": \"timeular\",\n                    \"spaceId\": \"1\"\n                }\n            ]\n        }\n    }\n}"},{"id":"45c8e577-b61a-4ce3-9fe1-bf200d444f65","name":"Activity not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"startedAt\" : \"2016-02-03T04:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/tracking/1/start"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"5a3dddad-2249-4566-a144-7ed7dae1abab","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"startedAt\" : \"2020-08-03T04:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/tracking/1217348/start"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"},{"id":"b4d463a5-b310-47ee-b0bc-04d61e292bcb","name":"Tracking is already started","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"startedAt\" : \"2016-02-03T04:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/tracking/1/start"},"code":409,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"4d1dcf30-125a-48d3-8895-27e611581f50"},{"name":"Edit Tracking","id":"52af0d09-fdd8-4095-81bd-d3319cda2c22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"note\"  : {\n\t\t\"text\" : \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t},\n\t\"activityId\": \"1\",\n\t\"startedAt\" : \"2016-02-03T04:00:00.000\"\n}"},"url":"{{BASE_URL}}/api/v3/tracking","description":"<p>With this endpoint you can set/edit/remove the note of your current Tracking.</p>\n<p>To remove the note set it to null/empty/blank. You can provide one or more Tags and Mentions in a note, each of them prefixed with # or @. If the related activity is bound to some Integration, let’s say a JIRA Project, JIRA task IDs are valid Mentions too.</p>\n","urlObject":{"path":["api","v3","tracking"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"0420b687-c202-4b24-9f2f-e7f812a1525c","name":"Edited current Tracking","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"note\"  : {\n\t\t\"text\" : \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t},\n\t\"activityId\": \"1\",\n\t\"startedAt\" : \"2016-02-03T04:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/tracking"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"currentTracking\": {\n        \"id\": 1,\n        \"activityId\": \"1217348\",\n        \"startedAt\": \"2020-08-03T04:00:00.000\",\n        \"note\": {\n            \"text\": \"99 sheep <{{|t|1|}}> <{{|m|2|}}>\",\n            \"tags\": [\n                {\n                    \"id\": 1,\n                    \"key\": \"3b381b24-c690-4000-9079-7355579162fb\",\n                    \"label\": \"some tag\",\n                    \"scope\": \"timeular\",\n                    \"spaceId\": \"1\"\n                }\n            ],\n            \"mentions\": [\n                {\n                    \"id\": 2,\n                    \"key\": \"2b381b24-c690-4000-9079-7355579162fb\",\n                    \"label\": \"some-mention\",\n                    \"scope\": \"timeular\",\n                    \"spaceId\": \"1\"\n                }\n            ]\n        }\n    }\n}"},{"id":"24f2f30e-1dc4-45be-ac92-6c5baa27dd5a","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"note\"  : {\n\t\t\"text\" : \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/tracking"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"46b8601c-1810-43eb-aa78-3a16a3116a9f","name":"There is no Tracking or Tracking for another Activity is ongoing","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"note\"  : {\n\t\t\"text\" : \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/tracking"},"code":409,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"89b8a855-2ae8-4bdd-837d-c97c25d3abef","name":"ActivityId Not Found","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"note\"  : {\n\t\t\"text\" : \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/tracking"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"b2fd9e81-f6cd-433b-8b12-6db946c5760b","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"note\"  : {\n\t\t\"text\" : \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/tracking"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"52af0d09-fdd8-4095-81bd-d3319cda2c22"},{"name":"Stop Tracking","id":"329c8b25-a27f-41f9-bdd6-8db04627f0ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"stoppedAt\" : \"2016-02-03T05:00:00.000\"\n}"},"url":"{{BASE_URL}}/api/v3/tracking/stop","description":"<p>With this endpoint you can create a new Time Entry by stopping the current tracking. The resulting Time Entry should have a duration no shorter than 1 minute.</p>\n<p>The time entry will be created even if it overlaps with other Time Entries – in result existing Time Entries will be split or deleted in such manner, that the new one will fit without overlapping.</p>\n","urlObject":{"path":["api","v3","tracking","stop"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"8559c34c-318d-49c1-ac8f-9796267785e5","name":"Created Time Entry","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"stoppedAt\" : \"2020-08-03T05:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/tracking/stop"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"createdTimeEntry\": {\n        \"id\": \"34714420\",\n        \"activityId\": \"1217348\",\n        \"duration\": {\n            \"startedAt\": \"2020-02-03T04:00:00.000\",\n            \"stoppedAt\": \"2020-08-03T05:00:00.000\"\n        },\n        \"note\": {\n            \"text\": null,\n            \"tags\": [],\n            \"mentions\": []\n        }\n    },\n    \"errors\": [\n        \"Third Party Service error: status code = 400, message = 'no integration found for 111525 and integrationType toggl'\",\n        \"Third Party Service error: status code = 400, message = 'no integration found for 111525 and integrationType toggl'\",\n        \"Third Party Service error: status code = 400, message = 'no integration found for 111525 and integrationType harvest'\",\n        \"Third Party Service error: status code = 400, message = 'no integration found for 111525 and integrationType harvest'\",\n        \"Third Party Service error: status code = 400, message = 'no integration found for 111525 and integrationType toggl'\"\n    ]\n}"},{"id":"2c3b2296-69ae-4c21-a395-2e58bf2f6ed7","name":"Activity not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"stoppedAt\" : \"2020-08-03T05:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/tracking/stop"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"},{"id":"69dd7af4-82f4-4777-a27e-e4f1718369ce","name":"Tracking is not started","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"stoppedAt\" : \"2020-08-03T05:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/tracking/stop"},"code":409,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"},{"id":"fd3e06bc-a096-492d-ba1b-9750402c9759","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"stoppedAt\" : \"2020-08-03T05:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/tracking/stop"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"329c8b25-a27f-41f9-bdd6-8db04627f0ea"}],"id":"50cd59ac-7aa5-4494-b901-2e6139bbe434","description":"<p>A tracking is the representation of what you are doing at any given moment. When finished, a new Time Entry is created based on the tracked time. All timestamps are in the format 'YYYY-MM-DDTHH:mm:ss.SSS' in UTC, eg. '2017-12-31T23:59:59.999'.</p>\n","event":[{"listen":"prerequest","script":{"id":"7f600c97-9069-499e-ba17-9e874248d99c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8a2777ea-5336-4f5b-a78e-ce478a740e69","type":"text/javascript","exec":[""]}}],"_postman_id":"50cd59ac-7aa5-4494-b901-2e6139bbe434"},{"name":"Time Entries","item":[{"name":"Find Time Entries in given range","id":"d4c6e3c4-c38b-4891-aa19-907460f43f9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/time-entries/2016-01-01T00:00:00.000/2017-12-31T23:59:59.999","description":"<p>Find Time Entries within the given time range.</p>\n","urlObject":{"path":["api","v3","time-entries","2016-01-01T00:00:00.000","2017-12-31T23:59:59.999"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"aa6070af-a931-486b-b73e-37f5935da005","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/time-entries/2020-01-01T00:00:00.000/2020-03-31T23:59:59.999"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"timeEntries\": [\n        {\n            \"id\": \"1\",\n            \"activityId\": \"1\",\n            \"duration\": {\n                \"startedAt\": \"2020-01-01T00:00:00.000\",\n                \"stoppedAt\": \"2020-01-01T01:00:00.000\"\n            },\n            \"note\": {\n                \"text\": \"If there is a possibility of several things going wrong, the one that will cause the most damage will be the one to go wrong <{{|t|2|}}> <{{|t|1|}}> <{{|m|1|}}> <{{|m|2|}}>\",\n                \"tags\": [\n                    {\n                        \"id\": 1,\n                        \"key\": \"43d10bff-65c6-4aab-879e-8e4b9106c99d\",\n                        \"label\": \"burst\",\n                        \"scope\": \"timeular\",\n                        \"spaceId\": \"1\"\n                    },\n                    {\n                        \"id\": 2,\n                        \"key\": \"849ab930-4492-4b73-b378-8bff6d12fdd0\",\n                        \"label\": \"interpret\",\n                        \"scope\": \"timeular\",\n                        \"spaceId\": \"1\"\n                    }\n                ],\n                \"mentions\": [\n                    {\n                        \"id\": 1,\n                        \"key\": \"8ed8ca39-813b-4f9d-a1ba-9a18b6c001e0\",\n                        \"label\": \"Joanie\",\n                        \"scope\": \"timeular\",\n                        \"spaceId\": \"1\"\n                    },\n                    {\n                        \"id\": 2,\n                        \"key\": \"999f14a2-c0d2-430a-b1c0-23495f96b1cb\",\n                        \"label\": \"Violette\",\n                        \"scope\": \"timeular\",\n                        \"spaceId\": \"1\"\n                    }\n                ]\n            }\n        }\n    ]\n}"},{"id":"ab0e91df-bb4f-4313-9ac1-a22bf86cc7ce","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/time-entries/2020-01-01T00:00:00.000/2020-09-31T23:59:59.999"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"},{"id":"b427eaa5-4865-4b89-b4eb-9f142a8bf094","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/time-entries/2020-01-01T00:00:00.000/2020-09-31T23:59:59.999"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"d4c6e3c4-c38b-4891-aa19-907460f43f9b"},{"name":"Create Time Entry","id":"e66a9e5a-1035-4522-a9fc-5df5a5a05ef7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"activityId\" : \"1\",\n\t\"startedAt\"  : \"2016-08-05T06:00:00.000\",\n\t\"stoppedAt\"  : \"2016-08-05T07:00:00.000\",\n\t\"note\"       : {\n\t\t\"text\" : \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}"},"url":"{{BASE_URL}}/api/v3/time-entries","description":"<p>With this endpoint, you can create a new Time Entry. It should be connected to an Activity and have a duration no shorter than 1 minute. A Note can be provided too, but it’s not required. Within this Note, you can refer one or more Tags or Mentions.</p>\n<p>These Tags and Mentions need to be referenced by their ID and put inside a special prefix and suffix, <code>&lt;{{|t|1|}}&gt;</code> for the tag with id 1 and <code>&lt;{{|m|1|}}&gt;</code> for the mention with id 1.</p>\n<p>If the related Activity is bound to some Integration, let’s say a JIRA Project, JIRA task IDs is a valid Mention. The Time Entry will be created even if it overlaps with other Time Entries – in result existing Time Entries will be split or deleted in such manner, that new one will fit without overlapping.</p>\n","urlObject":{"path":["api","v3","time-entries"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"87610fb0-a10b-447b-bb11-a282a064bf8d","name":"Created Time Entry","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"activityId\" : \"1\",\n\t\"startedAt\"  : \"2016-08-05T06:00:00.000\",\n\t\"stoppedAt\"  : \"2016-08-05T07:00:00.000\",\n\t\"note\"       : {\n\t\t\"text\" : \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/time-entries"},"code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"activityId\": \"1\",\n    \"duration\": {\n        \"startedAt\": \"2016-08-05T06:00:00.000\",\n        \"stoppedAt\": \"2016-08-05T07:00:00.000\"\n    },\n    \"note\": {\n        \"text\": \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\",\n        \"tags\": [\n            {\n                \"id\": 1,\n                \"key\": \"dabf59bc-9997-44ca-9451-e753a11090c4\",\n                \"label\": \"some-tag\",\n                \"scope\": \"timeular\",\n                \"spaceId\": \"1\"\n            }\n        ],\n        \"mentions\": [\n            {\n                \"id\": 1,\n                \"key\": \"debf59bc-9997-44ca-9451-e753a11090c4\",\n                \"label\": \"some mention\",\n                \"scope\": \"timeular\",\n                \"spaceId\": \"1\"\n            }\n        ]\n    },\n    \"errors\": []\n}"},{"id":"13fe0f9f-c824-4e4b-b72e-411d05c5d9de","name":"Integration-related error, eg. if new Time Entry somehow conflicts with data on the Integration side","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"activityId\" : \"1\",\n\t\"startedAt\"  : \"2016-08-05T06:00:00.000\",\n\t\"stoppedAt\"  : \"2016-08-05T07:00:00.000\",\n\t\"note\"       : {\n\t\t\"text\" : \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/time-entries"},"code":500,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"},{"id":"85ff07e6-ffb1-4c5d-8b68-299cd77332c8","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"activityId\" : \"1\",\n\t\"startedAt\"  : \"2016-08-05T06:00:00.000\",\n\t\"stoppedAt\"  : \"2016-08-05T07:00:00.000\",\n\t\"note\"       : {\n\t\t\"text\" : \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/time-entries"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"},{"id":"ab8223b8-442d-4e06-b7ba-4e166a38979d","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"activityId\" : \"1\",\n\t\"startedAt\"  : \"2016-08-05T06:00:00.000\",\n\t\"stoppedAt\"  : \"2016-08-05T07:00:00.000\",\n\t\"note\"       : {\n\t\t\"text\" : \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/time-entries"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"},{"id":"efa0e0a6-12bd-41d5-8b61-47b42de13705","name":"Activity not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"activityId\" : \"1\",\n\t\"startedAt\"  : \"2016-08-05T06:00:00.000\",\n\t\"stoppedAt\"  : \"2016-08-05T07:00:00.000\",\n\t\"note\"       : {\n\t\t\"text\" : \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/time-entries"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"e66a9e5a-1035-4522-a9fc-5df5a5a05ef7"},{"name":"Find Time Entry by its ID","id":"b4c0569e-a8a7-4c11-9b82-d091bf656812","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/time-entries/3","urlObject":{"path":["api","v3","time-entries","3"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"02b084cd-743a-4fc7-8a35-657eaf484ffc","name":"Found Time Entry","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/time-entries/3"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"3\",\n    \"activityId\": \"1\",\n    \"duration\": {\n        \"startedAt\": \"2016-08-05T06:00:00.000\",\n        \"stoppedAt\": \"2016-08-05T07:00:00.000\"\n    },\n    \"note\": {\n        \"text\": \"99 sheep <{{|t|1|}}> <{{|m|1|}}>\",\n        \"tags\": [\n            {\n                \"id\": 1,\n                \"key\": \"dabf59bc-9997-44ca-9451-e753a11090c4\",\n                \"label\": \"some-tag\",\n                \"scope\": \"timeular\",\n                \"spaceId\": \"1\"\n            }\n        ],\n        \"mentions\": [\n            {\n                \"id\": 1,\n                \"key\": \"debf59bc-9997-44ca-9451-e753a11090c4\",\n                \"label\": \"some mention\",\n                \"scope\": \"timeular\",\n                \"spaceId\": \"1\"\n            }\n        ]\n    },\n    \"errors\": []\n}"},{"id":"4d100d95-490d-469e-a2d1-8adb11770e81","name":"Time Entry not found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/time-entries/3"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"dd730a09-c2db-46c2-ac48-6bf2c978c484","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/time-entries/3"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"b4c0569e-a8a7-4c11-9b82-d091bf656812"},{"name":"Edit a Time Entry","id":"18d45e78-35f7-4dc2-a6c4-edb2405014ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"activityId\" : \"1\",\n\t\"startedAt\"  : \"2016-08-05T06:01:00.000\",\n\t\"stoppedAt\"  : \"2016-08-05T07:01:00.000\",\n\t\"note\"       : {\n\t\t\"text\" : \"200 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}"},"url":"{{BASE_URL}}/api/v3/time-entries/3","description":"<p>With this endpoint you can edit an existing time entry. When changing the activity ID please note, that both the new and old activity attached to time entry have to belong to same integration.</p>\n<p>To remove a note, just set the complete object to null and all values within the object will be deleted too.</p>\n","urlObject":{"path":["api","v3","time-entries","3"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"515270ee-0cf4-4c11-857c-85d0cdee2920","name":"Edited Time Entry","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"activityId\" : \"1\",\n\t\"startedAt\"  : \"2016-08-05T06:01:00.000\",\n\t\"stoppedAt\"  : \"2016-08-05T07:01:00.000\",\n\t\"note\"       : {\n\t\t\"text\" : \"200 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/time-entries/3"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"activityId\": \"1\",\n    \"duration\": {\n        \"startedAt\": \"2016-08-05T06:00:00.000\",\n        \"stoppedAt\": \"2016-08-05T07:00:00.000\"\n    },\n    \"note\": {\n        \"text\": \"200 sheep <{{|t|1|}}> <{{|m|1|}}>\",\n        \"tags\": [\n            {\n                \"id\": 1,\n                \"key\": \"dabf59bc-9997-44ca-9451-e753a11090c4\",\n                \"label\": \"some-tag\",\n                \"scope\": \"timeular\",\n                \"spaceId\": \"1\"\n            }\n        ],\n        \"mentions\": [\n            {\n                \"id\": 1,\n                \"key\": \"debf59bc-9997-44ca-9451-e753a11090c4\",\n                \"label\": \"some mention\",\n                \"scope\": \"timeular\",\n                \"spaceId\": \"1\"\n            }\n        ]\n    },\n    \"errors\": []\n}"},{"id":"033e6260-0424-4a8c-8075-6a0ebfa293ba","name":"Activity or Time Entry not found","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"activityId\" : \"1\",\n\t\"startedAt\"  : \"2016-08-05T06:01:00.000\",\n\t\"stoppedAt\"  : \"2016-08-05T07:01:00.000\",\n\t\"note\"       : {\n\t\t\"text\" : \"200 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/time-entries/3"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"37cd16b3-e430-4fcb-b838-2fe2e3cd7c69","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"activityId\" : \"1\",\n\t\"startedAt\"  : \"2016-08-05T06:01:00.000\",\n\t\"stoppedAt\"  : \"2016-08-05T07:01:00.000\",\n\t\"note\"       : {\n\t\t\"text\" : \"200 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/time-entries/3"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"b2025de2-27ac-4bde-a6d5-048f09794617","name":"Integration-related error, eg. if given integration does not exist","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"activityId\" : \"1\",\n\t\"startedAt\"  : \"2016-08-05T06:01:00.000\",\n\t\"stoppedAt\"  : \"2016-08-05T07:01:00.000\",\n\t\"note\"       : {\n\t\t\"text\" : \"200 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/time-entries/3"},"code":500,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"c2809750-9bf1-4817-ba68-c8d247423129","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"activityId\" : \"1\",\n\t\"startedAt\"  : \"2016-08-05T06:01:00.000\",\n\t\"stoppedAt\"  : \"2016-08-05T07:01:00.000\",\n\t\"note\"       : {\n\t\t\"text\" : \"200 sheep <{{|t|1|}}> <{{|m|1|}}>\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/time-entries/3"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"18d45e78-35f7-4dc2-a6c4-edb2405014ed"},{"name":"Delete a Time Entry","id":"a987147c-7c11-4fdc-9ca5-7b03e0999199","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/time-entries/3","urlObject":{"path":["api","v3","time-entries","3"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"5806ba8f-9e03-4a09-9bb8-3a7fc7de0da3","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/time-entries/3"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        \"Any error which can be ignored and did not prevented action to be performed successfully.\"\n    ]\n}"},{"id":"60256e56-bb89-4cbe-84f7-b02031c872df","name":"Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/time-entries/3"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"9a596f90-df26-495a-b3ef-3f68e60b3b25","name":"Time Entry not found","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/time-entries/3"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"af80cb21-3e7c-4b2a-99ca-416d3d5fd632","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v3/time-entries/3"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"a987147c-7c11-4fdc-9ca5-7b03e0999199"}],"id":"b4e1b90d-7ffb-4551-bb66-7e8baa4e3b4e","description":"<p>Time Entries are one of the main concepts in EARLY.</p>\n<p>They represent time spent on activities. A time entry can contain a textual Note, which allows you to add some useful context.</p>\n<p>There can be only one Time Entry in any given time-frame, even if they belong to different activities. All timestamps are in the format 'YYYY-MM-DDTHH:mm:ss.SSS' in UTC, eg. '2017-12-31T23:59:59.999'.</p>\n","event":[{"listen":"prerequest","script":{"id":"db1d48d0-5d8c-4397-9012-487c94ea8f6a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b292dd81-e937-42b3-9971-d837ac152b4b","type":"text/javascript","exec":[""]}}],"_postman_id":"b4e1b90d-7ffb-4551-bb66-7e8baa4e3b4e"},{"name":"Reports","item":[{"name":"Generate Report","id":"f9bed9f5-6fbe-4062-9881-76b117430eb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/report/2016-01-01T00:00:00.000/2017-12-31T23:59:59.999?timezone=Europe/Warsaw","description":"<p>Generates a report which contains all the Time Entries from inside the given time range. If some Time Entry exceeds the report’s time range, only the matching part will be included.</p>\n<p><em>Warning: For this endpoint you need a pro subscription!</em></p>\n<p>There are three optional query parameters:</p>\n<ul>\n<li>activityId (e.g. 1)</li>\n<li>noteQuery (e.g. \"sometext\")</li>\n<li>fileType (\"xlsx\" or \"csv\" - defaults to \"csv\")</li>\n</ul>\n<p>And one mandatory parameter:</p>\n<ul>\n<li>timezone (e.g. Europe/Warsaw)</li>\n</ul>\n","urlObject":{"path":["api","v3","report","2016-01-01T00:00:00.000","2017-12-31T23:59:59.999"],"host":["{{BASE_URL}}"],"query":[{"key":"timezone","value":"Europe/Warsaw"}],"variable":[]}},"response":[{"id":"0d64e4ad-f179-493b-a4b0-518938c19d92","name":"Report in CSV or XLSX format","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":{"raw":"{{BASE_URL}}/api/v3/report/2016-01-01T00:00:00.000/2017-12-31T23:59:59.999?timezone=Europe/Warsaw","host":["{{BASE_URL}}"],"path":["api","v3","report","2016-01-01T00:00:00.000","2017-12-31T23:59:59.999"],"query":[{"key":"timezone","value":"Europe/Warsaw"}]}},"code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"\"Version\",\"TimeEntryID\",\"StartDate\",\"StartTime\",\"StartTimeOffset\",\"EndDate\",\"EndTime\",\"EndTimeOffset\",\"Duration\",\"ActivityID\",\"Activity\",\"SpaceId\",\"Space\",\"Username\",\"Note\",\"Mentions\",\"Tags\"\r\n\"4\",\"34714342\",\"2016-02-03\",\"05:00:00\",\"+0100\",\"2016-02-03\",\"06:00:00\",\"+0100\",\"01:00:00\",\"116080\",\"sleeping\",\"1\",\"My Space\",\"my-email@example.com\",\"99 sheep\",\"\",\"\"\r\n\"4\",\"34714421\",\"2016-08-05\",\"08:00:00\",\"+0200\",\"2016-08-05\",\"09:00:00\",\"+0200\",\"01:00:00\",\"1217348\",\"sleeping\",\"2\",\"Shared Space\",\"my-email@example.com\",\"99 sheep #my new tag4 @Salaidh\",\"@Salaidh\",\"#my new tag4\"\r\n\"4\",\"31623071\",\"2017-02-06\",\"18:25:00\",\"+0100\",\"2017-02-06\",\"19:25:00\",\"+0100\",\"01:00:00\",\"876519\",\"ZEIº-Test\",\"1\",\"My Space\",\"my-email@example.com\",\"@ZEIT-13\",\"@ZEIT-13\",\"\"\r\n"},{"id":"38c2acdb-fade-4d9b-b6ec-38896b5c85d0","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":{"raw":"{{BASE_URL}}/api/v3/report/2016-01-01T00:00:00.000/2017-12-31T23:59:59.999?timezone=Europe/Warsaw","host":["{{BASE_URL}}"],"path":["api","v3","report","2016-01-01T00:00:00.000","2017-12-31T23:59:59.999"],"query":[{"key":"timezone","value":"Europe/Warsaw"}]}},"code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"f4e4c9fa-9fe7-48eb-b955-2a61c07b9b7e","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":{"raw":"{{BASE_URL}}/api/v3/report/2016-01-01T00:00:00.000/2017-12-31T23:59:59.999?timezone=Europe/Warsaw","host":["{{BASE_URL}}"],"path":["api","v3","report","2016-01-01T00:00:00.000","2017-12-31T23:59:59.999"],"query":[{"key":"timezone","value":"Europe/Warsaw"}]}},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"f9bed9f5-6fbe-4062-9881-76b117430eb2"},{"name":"All Data as JSON","id":"e12c5e47-8f39-4984-b757-798dcbbf2365","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/report/data/2016-01-01T00:00:00.000/2017-12-31T23:59:59.999","description":"<p>Generates a Report which contains all the Time Entries from inside the given time range as JSON from all personal spaces and shared spaces. If some Time Entry exceeds the report’s time range, only matching part will be included.</p>\n","urlObject":{"path":["api","v3","report","data","2016-01-01T00:00:00.000","2017-12-31T23:59:59.999"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"6e6c53e3-dda8-462e-82b6-9aece54e3cb4","name":"All Data as JSON","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/report/data/2016-01-01T00:00:00.000/2017-12-31T23:59:59.999"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"timeEntries\": [\n        {\n            \"id\": \"1\",\n            \"creator\": \"1\",\n            \"activity\": {\n                \"id\": \"1\",\n                \"name\": \"sleeping\",\n                \"color\": \"#000000\",\n                \"integration\": \"zei\",\n                \"spaceId\": \"1\"\n            },\n            \"duration\": {\n                \"startedAt\": \"2017-02-06T17:25:00.000\",\n                \"stoppedAt\": \"2017-02-06T18:25:00.000\"\n            },\n            \"note\": {\n                \"text\": \"<{{|m|1|}}> some text\",\n                \"tags\": [],\n                \"mentions\": [\n                    {\n                        \"id\": 1,\n                        \"key\": \"123432234\",\n                        \"label\": \"some-mention\",\n                        \"scope\": \"timeular\",\n                        \"spaceId\": \"1\"\n                    }\n                ]\n            }\n        }\n    ]\n}"},{"id":"b429c04c-7992-4ef1-bbb1-7f533e76a138","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/report/data/2016-01-01T00:00:00.000/2017-12-31T23:59:59.999"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"e12c5e47-8f39-4984-b757-798dcbbf2365"}],"id":"6881779e-b28f-4506-89f9-c8188c37f149","_postman_id":"6881779e-b28f-4506-89f9-c8188c37f149","description":""},{"name":"Tags & Mentions","item":[{"name":"Fetch Tags & Mentions","id":"03a2a812-cb0a-45e6-8fc6-74a0ff439909","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/tags-and-mentions","description":"<p>Fetches all Tags and Mentions, including from third party integrations, such as JIRA, Toggl etc.</p>\n","urlObject":{"path":["api","v3","tags-and-mentions"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"9e6482aa-b867-492d-ac17-0cde068384ad","name":"List of Tags and Mentions","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/tags-and-mentions"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"tags\": [\n        {\n            \"id\": 1,\n            \"key\": \"1234\",\n            \"label\": \"some-tag\",\n            \"scope\": \"timeular\",\n            \"spaceId\": \"1\"\n        }\n    ],\n    \"mentions\": [\n        {\n            \"id\": 1,\n            \"key\": \"4321\",\n            \"label\": \"some mention\",\n            \"scope\": \"timeular\",\n            \"spaceId\": \"1\"\n        }\n    ]"},{"id":"d2265968-6830-471b-84a7-844c404d824f","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/tags-and-mentions"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"03a2a812-cb0a-45e6-8fc6-74a0ff439909"},{"name":"Create Tag","id":"d62392ca-2eb2-40c9-8d14-834ba581122e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"key\": \"tagtagtag\",\n\t\"label\": \"my new tag\",\n\t\"scope\": \"timeular\",\n\t\"spaceId\": \"1\"\n}"},"url":"{{BASE_URL}}/api/v3/tags","description":"<p>Creates a Tag within the given space and scope (timeular is default).</p>\n","urlObject":{"path":["api","v3","tags"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"2ee41b1f-eb5e-4d61-b389-156ca1a0d104","name":"Create Tag","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"key\": \"tagtagtag\",\n\t\"label\": \"my new tag\",\n\t\"scope\": \"timeular\",\n\t\"spaceId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/tags"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"key\": \"tagtagtag\",\n    \"label\": \"my new tag\",\n    \"scope\": \"timeular\",\n    \"spaceId\": \"1\"\n}"},{"id":"2925302a-f084-4446-a6b5-777854992e18","name":"Space Not Found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"key\": \"tagtagtag\",\n\t\"label\": \"my new tag\",\n\t\"scope\": \"timeular\",\n\t\"spaceId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/tags"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"},{"id":"2c84b3dc-f49e-4971-b5fa-86ef8d1e63ab","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"key\": \"tagtagtag\",\n\t\"label\": \"my new tag\",\n\t\"scope\": \"timeular\",\n\t\"spaceId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/tags"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"},{"id":"7803a143-851a-4b92-a93a-e75e32d22994","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"key\": \"tagtagtag\",\n\t\"label\": \"my new tag\",\n\t\"scope\": \"timeular\",\n\t\"spaceId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/tags"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"d62392ca-2eb2-40c9-8d14-834ba581122e"},{"name":"Update Tag","id":"34edd1e9-c5fd-47f3-83a6-bc16e6409d11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"New Label for tag\"\n}"},"url":"{{BASE_URL}}/api/v3/tags/15","urlObject":{"path":["api","v3","tags","15"],"host":["{{BASE_URL}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"e315ee83-3b36-4a15-9a97-420c2521d7d2","name":"Updated Tag","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"New Label for tag\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{BASE_URL}}/api/v3/tags/1","host":["{{BASE_URL}}"],"path":["api","v3","tags","1"],"query":[{"key":"","value":"","disabled":true}]}},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"key\": \"44f8feac-da6f-4e08-8a84-0cc5181d32d7\",\n    \"label\": \"New Label for tag\",\n    \"scope\": \"timeular\",\n    \"spaceId\": \"1\"\n}"},{"id":"565ae333-1fa2-4e23-b46e-3c0c1e85a41e","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"New Label for tag\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{BASE_URL}}/api/v3/tags/15","host":["{{BASE_URL}}"],"path":["api","v3","tags","15"],"query":[{"key":"","value":"","disabled":true}]}},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"},{"id":"635481ca-a1dd-457a-84b7-ceb09b99ef61","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"New Label for tag\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{BASE_URL}}/api/v3/tags/15","host":["{{BASE_URL}}"],"path":["api","v3","tags","15"],"query":[{"key":"","value":"","disabled":true}]}},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"34edd1e9-c5fd-47f3-83a6-bc16e6409d11"},{"name":"Delete Tag","id":"c930c6f5-e825-413e-b430-434a05e96e6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"url":"{{BASE_URL}}/api/v3/tags/1","description":"<p>Deletes the given tag, returning the list of timeEntries, which were edited by this operation, as well as if the currentTracking was edited by deleting the tag.</p>\n","urlObject":{"path":["api","v3","tags","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"683eaa3e-52b9-4c22-b6a3-c1a8fbc46fa6","name":"Ok","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"url":"{{BASE_URL}}/api/v3/tags/4015"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"timeEntryIds\": [\n        1234\n    ],\n    \"trackingEdited\": null\n}"},{"id":"37d8d083-15b4-4487-9867-ad6172a726ee","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"url":"{{BASE_URL}}/api/v3/tags/4015"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"},{"id":"b14ed729-ad49-4f56-b512-b6ad0d68a9e0","name":"Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"url":"{{BASE_URL}}/api/v3/tags/4015"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"c930c6f5-e825-413e-b430-434a05e96e6c"},{"name":"Create Mention","id":"b0de30da-39f4-4d21-b5d5-09e79940c820","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"key\": \"mention\",\n\t\"label\": \"my new mention\",\n\t\"scope\": \"timeular\",\n\t\"spaceId\": \"1\"\n}"},"url":"{{BASE_URL}}/api/v3/mentions","description":"<p>Creates a Mention within the given space and scope (timeular is default).</p>\n","urlObject":{"path":["api","v3","mentions"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"71ad12d2-bb19-4bbe-9e88-cc7efa0bb8e2","name":"Created Mention","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"key\": \"mention\",\n\t\"label\": \"my new mention\",\n\t\"scope\": \"timeular\",\n\t\"spaceId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/mentions"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"key\": \"mention\",\n    \"label\": \"my new mention\",\n    \"scope\": \"timeular\",\n    \"spaceId\": \"1\"\n}"},{"id":"57964efd-1012-40c4-958a-5c1abeccece9","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"key\": \"mention\",\n\t\"label\": \"my new mention\",\n\t\"scope\": \"timeular\",\n\t\"spaceId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/mentions"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"},{"id":"c8c13c66-1af6-4dd2-9ac6-b03ce9e4d533","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"key\": \"mention\",\n\t\"label\": \"my new mention\",\n\t\"scope\": \"timeular\",\n\t\"spaceId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/mentions"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"},{"id":"d0f867b5-35f2-4165-bc68-e8901be4148f","name":"Space not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"key\": \"mention\",\n\t\"label\": \"my new mention\",\n\t\"scope\": \"timeular\",\n\t\"spaceId\": \"1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/mentions"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"b0de30da-39f4-4d21-b5d5-09e79940c820"},{"name":"Update Mention","id":"b00ccf63-701c-471f-abd1-31735f6224d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"My new mention label\"\n}"},"url":"{{BASE_URL}}/api/v3/mentions/15","urlObject":{"path":["api","v3","mentions","15"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"e4074abd-1ca2-4808-931f-a8b990fc49be","name":"Updated Mention","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"My new mention label\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/mentions/557667"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"key\": \"mention\",\n    \"label\": \"My new mention label\",\n    \"scope\": \"timeular\",\n    \"spaceId\": \"1\"\n}"},{"id":"89b6dd07-fb03-48db-9cbb-4d4d25de0247","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"message\": \"Explanation of what has happened\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/mentions/15"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 557667,\n    \"key\": \"mention\",\n    \"label\": \"My new mention label\",\n    \"scope\": \"timeular\",\n    \"spaceId\": \"6\"\n}"},{"id":"c9e4c441-d104-4637-8557-5931b3a39b12","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"My new mention label\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/mentions/15"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"b00ccf63-701c-471f-abd1-31735f6224d3"},{"name":"Delete Mention","id":"a7e6b2fa-d879-4368-a4f1-eea14808eef8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"url":"{{BASE_URL}}/api/v3/mentions/6","description":"<p>Deletes the given mention, returning the list of timeEntries, which were edited by this operation, as well as if the currentTracking was edited by deleting the mention.</p>\n","urlObject":{"path":["api","v3","mentions","6"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"0361e509-5f25-4c82-90e6-0efb0084383b","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"url":"{{BASE_URL}}/api/v3/mentions/6"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"timeEntryIds\": [\n        1234\n    ],\n    \"trackingEdited\": null\n}"},{"id":"29e2e6f6-ed5a-4dd9-9450-217dc7aa7548","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"url":"{{BASE_URL}}/api/v3/mentions/6"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"dfc38481-f269-4638-bd4a-59745051a97e","name":"Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}","type":"text"}],"url":"{{BASE_URL}}/api/v3/mentions/6"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"a7e6b2fa-d879-4368-a4f1-eea14808eef8"}],"id":"662b0438-86e8-449a-b96f-99d97ebdfe21","description":"<p>Tags and Mentions are a concept for adding contextual information to time entries. You can add #tags and @mentions to a time entry's note.</p>\n","event":[{"listen":"prerequest","script":{"id":"2933b64e-4efb-4a6f-97f9-315236dd48be","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dbaf5ef9-0f89-4adc-8941-9b01a6e07270","type":"text/javascript","exec":[""]}}],"_postman_id":"662b0438-86e8-449a-b96f-99d97ebdfe21"}],"id":"4b9ff530-e044-48d8-9e86-541fde76b11e","_postman_id":"4b9ff530-e044-48d8-9e86-541fde76b11e","description":""},{"name":"User Profile","item":[{"name":"User","item":[{"name":"Me","id":"bbf459e2-ff90-4aeb-b064-7febaa4eba70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/me","description":"<p>An endpoint for fetching your basic profile information.</p>\n","urlObject":{"path":["api","v3","me"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"8a585ee5-aa49-4d7a-ac6a-2cf6ae3809fa","name":"Me","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/me"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"userId\": \"1\",\n        \"name\": \"my name\",\n        \"email\": \"my-name@example.com\",\n        \"defaultSpaceId\": \"1\"\n    }\n}"},{"id":"ec1a5031-08b1-4d9a-ad19-f16850d1ca15","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/me"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"bbf459e2-ff90-4aeb-b064-7febaa4eba70"}],"id":"f1d6c648-2df3-4fa1-9405-54a66ac2717f","event":[{"listen":"prerequest","script":{"id":"db7a44fe-eb97-49e6-a73e-45ff64944ec9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"00ce87d9-575f-46a4-b480-ea1f9cf454b9","type":"text/javascript","exec":[""]}}],"_postman_id":"f1d6c648-2df3-4fa1-9405-54a66ac2717f","description":""},{"name":"Space","item":[{"name":"Spaces with Members","id":"a5bba235-9229-48cb-a5f9-ee557a0bacf9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/space","description":"<p>Fetches the personal and shared spaces for the current user, with the members and retired members for these spaces.</p>\n<p>You will only get other members and retired members for spaces you are admin of, otherwise you will get the space admins and yourself as a member in the response.</p>\n","urlObject":{"path":["api","v3","space"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"2d5b313b-e130-4505-96f0-549a009fa0c2","name":"List Spaces with Members","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/space"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"1\",\n            \"name\": \"My Personal Space\",\n            \"default\": true,\n            \"members\": [\n                {\n                    \"id\": \"1\",\n                    \"name\": \"my name\",\n                    \"email\": \"me-email@example.com\",\n                    \"role\": \"Admin\"\n                }\n            ],\n            \"retiredMembers\": []\n        },\n        {\n            \"id\": \"2\",\n            \"name\": \"My Shared Space\",\n            \"default\": false,\n            \"members\": [\n                {\n                    \"id\": \"2\",\n                    \"name\": \"my friends name\",\n                    \"email\": \"my-friend@example.com\",\n                    \"role\": \"Admin\"\n                },\n                {\n                    \"id\": \"1\",\n                    \"name\": \"my name\",\n                    \"email\": \"me-email@example.com\",\n                    \"role\": \"Member\"\n                }\n                \n            ],\n            \"retiredMembers\": []\n        },\n        {\n            \"id\": \"3\",\n            \"name\": \"My Shared Space\",\n            \"default\": false,\n            \"members\": [\n                {\n                    \"id\": \"1\",\n                    \"name\": \"my name\",\n                    \"email\": \"me-email@example.com\",\n                    \"role\": \"Admin\"\n                },\n                {\n                    \"id\": \"2\",\n                    \"name\": \"my friends name\",\n                    \"email\": \"my-friend@example.com\",\n                    \"role\": \"Member\"\n                }\n                \n            ],\n            \"retiredMembers\": [\n                {\n                    \"id\": \"3\",\n                    \"name\": \"Former Member 1\",\n                }\n            ]\n        }\n    ]\n}"},{"id":"b8caf96f-ec4c-48e7-a53b-910e43e5c026","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/space"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"a5bba235-9229-48cb-a5f9-ee557a0bacf9"}],"id":"fe116695-5263-46c2-ab42-db038295c151","event":[{"listen":"prerequest","script":{"id":"ca5105c9-b242-4e9e-8422-c034e7307d3b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"00e03670-d268-450f-84fd-8ccb6f7acdf0","type":"text/javascript","exec":[""]}}],"_postman_id":"fe116695-5263-46c2-ab42-db038295c151","description":""}],"id":"15020d79-4db7-4cea-ab7a-b1363b2e15ce","_postman_id":"15020d79-4db7-4cea-ab7a-b1363b2e15ce","description":""},{"name":"Webhooks","item":[{"name":"List available events","id":"8a39dd40-8282-4d1e-9315-1945c3117321","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/webhooks/event","description":"<p>Returns a list of events, which can be subscribed to.</p>\n","urlObject":{"path":["api","v3","webhooks","event"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"f1af40fe-f168-414b-aee5-2e84f5d874fd","name":"List of Events","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/webhooks/event"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"events\": [\n        \"timeEntryCreated\",\n        \"timeEntryUpdated\",\n        \"timeEntryDeleted\",\n        \"trackingStarted\",\n        \"trackingStopped\",\n        \"trackingEdited\",\n        \"trackingCanceled\"\n    ]\n}"}],"_postman_id":"8a39dd40-8282-4d1e-9315-1945c3117321"},{"name":"Subscribe","id":"f3ed186d-288f-4a7e-9a35-31c849f936c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"trackingStarted\",\n    \"target_url\": \"https://example.org/some-endpoint\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/webhooks/subscription","description":"<p>Creates a webhook subscription for the given event. That means that if the event happens (e.g. a time entry is created), the given target url will be called with the payload of the event.</p>\n<p>The URL needs to be a valid, publicly reachable, HTTPS URL.</p>\n<p>The webhook has a timeout of 10 seconds, so if it takes longer to call the given URL, it will fail.</p>\n<p>If the given target URL returns a <code>410 GONE</code> error, this webhook subscription will automatically be unsubscribed.</p>\n<p>See the Webhooks description for further information about the payloads.</p>\n","urlObject":{"path":["api","v3","webhooks","subscription"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"61d7399f-395f-4fd4-8dd9-1f1364025f24","name":"Invalid URL","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"trackingStarted\",\n    \"target_url\": \"invalid\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/webhooks/subscription"},"code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"invalid URL provided\",\n    \"status\": \"400 Bad Request\"\n}"},{"id":"94a4ce20-d1ae-4abc-b062-f90d783d40c5","name":"Maximum Number of Subscriptions per Event","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"trackingStarted\",\n    \"target_url\": \"https://example.org/some-endpoint\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/webhooks/subscription"},"code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"maximum subscriptions per event exceeded\",\n    \"status\": \"400 Bad Request\"\n}"},{"id":"d5545e07-982d-4ef4-a214-b356206c9072","name":"Invalid Event","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"invalid\",\n    \"target_url\": \"https://example.org/some-endpoint\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/webhooks/subscription"},"code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"invalid event provided\",\n    \"status\": \"400 Bad Request\"\n}"},{"id":"ee57c7a1-b64e-43a2-bd6f-fbe07e660973","name":"Subscription ID","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"trackingStarted\",\n    \"target_url\": \"https://example.org/some-endpoint\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v3/webhooks/subscription"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"123456\"\n}"}],"_postman_id":"f3ed186d-288f-4a7e-9a35-31c849f936c2"},{"name":"Unsubscribe","id":"49f4cefd-7e39-437d-b411-469335b6cb15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/webhooks/subscription/123456","description":"<p>Removes a webhook subscription by id.</p>\n","urlObject":{"path":["api","v3","webhooks","subscription","123456"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"40d70f72-1b0a-44bf-9a39-2b8a757d3ad9","name":"Subscription not found","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/webhooks/subscription/123456"},"code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"could not find subscription with id 123456\",\n    \"status\": \"404 Not Found\"\n}"},{"id":"c6cbd204-3f70-4548-807d-e05bd1b76d93","name":"Unsubscribe","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/webhooks/subscription/123456"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\"\n}"}],"_postman_id":"49f4cefd-7e39-437d-b411-469335b6cb15"},{"name":"List Subscriptions","id":"295fadf6-7f50-48b2-8c1b-daa426046e68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/webhooks/subscription","description":"<p>Lists all webhook subscriptions for the current user.</p>\n","urlObject":{"path":["api","v3","webhooks","subscription"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"6bd8ff3a-8265-49de-8a41-5004516b3f25","name":"List of subscriptions","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/webhooks/subscription"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"subscriptions\": [\n        {\n            \"id\": \"123456\",\n            \"event\": \"trackingStarted\",\n            \"target_url\": \"https://example.org/some-endpoint\"\n        }\n    ]\n}"}],"_postman_id":"295fadf6-7f50-48b2-8c1b-daa426046e68"},{"name":"Unsubscribe all for User","id":"3e7db6eb-4bbe-400e-b155-ba7ffde690d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/webhooks/subscription","description":"<p>Removes all webhooks subscriptions for the current user.</p>\n","urlObject":{"path":["api","v3","webhooks","subscription"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"c73d4745-5e2f-4e9c-a9c5-9acc5bcce656","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v3/webhooks/subscription"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\"\n}"}],"_postman_id":"3e7db6eb-4bbe-400e-b155-ba7ffde690d4"}],"id":"ee43a6cf-0307-4a73-ac2b-71f50feac605","description":"<p>Webhooks are a way to enable bi-directional communication via the API.</p>\n<p>The concept is simple - you subscribe to one of our existing events (which can be fetched using the <code>List available events</code> endpoint) and provide a target URL.</p>\n<p>This URL needs to be a valid, publicly reachable, HTTPS URL</p>\n<p>If an event of the given type, for example <code>timeEntryCreated</code> is triggered, the URL you provided will be called with a <code>POST</code> request, containing the event payload as JSON.</p>\n<p>Examples for the currently available events and their payloads can be found below.</p>\n<p>This enables you to build systems, which react on changes made in your EARLY data. For example, you could write a tool which turns your light switch on and off if you start, or stop a Tracking. Or you know, something actually useful... ;)</p>\n<p>The possibilities are endless here and this API also finally makes it possible to integrate with tools such as <a href=\"https://zapier.com/apps/early/integrations\">Zapier</a>!</p>\n<h2 id=\"available-events\">Available Events:</h2>\n<ul>\n<li><p>timeEntryCreated</p>\n</li>\n<li><p>timeEntryUpdated</p>\n</li>\n<li><p>timeEntryDeleted</p>\n</li>\n<li><p>trackingStarted</p>\n</li>\n<li><p>trackingStopped</p>\n</li>\n<li><p>trackingEdited</p>\n</li>\n<li><p>trackingCanceled</p>\n</li>\n</ul>\n<h2 id=\"example-payloads\">Example Payloads</h2>\n<h4 id=\"timeentrycreated\">timeEntryCreated</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"timeEntryCreated\",\n    \"data\":\n    {\n       \"createdTimeEntry\":\n       {\n           \"activity\":\n           {\n               \"id\": \"1\",\n               \"name\": \"some activity\",\n               \"color\": \"#ffffff\",\n               \"integration\": \"zei\",\n               \"spaceId\": \"2\"\n           },\n           \"duration\":\n           {\n               \"startedAt\": \"2016-02-03T04:00:00.000\",\n               \"stoppedAt\": \"2016-02-03T05:00:00.000\"\n           },\n           \"id\": \"1\",\n           \"note\":\n           {\n              \"mentions\":\n              [\n                  {\n                      \"id\": 1,\n                      \"key\": \"TheSheep\",\n                      \"label\": \"TheSheep\",\n                      \"scope\": \"timeular\",\n                      \"spaceId\": \"2\"\n                  }\n              ],\n              \"tags\":\n              [\n                  {\n                      \"id\": 1,\n                      \"key\": \"boring\",\n                      \"label\": \"boring\",\n                      \"scope\": \"timeular\",\n                      \"spaceId\": \"2\"\n                  }\n              ],\n              \"text\": \"99 sheep &lt;{{|t|1|}}&gt; &lt;{{|m|1|}}&gt;\"\n          }\n       }\n    }\n}\n\n</code></pre>\n<h4 id=\"timeentryupdated\">timeEntryUpdated</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"timeEntryUpdated\",\n    \"data\":\n    {\n       \"updatedTimeEntry\":\n       {\n           \"activity\":\n           {\n               \"id\": \"1\",\n               \"name\": \"some activity\",\n               \"color\": \"#ffffff\",\n               \"integration\": \"zei\",\n               \"spaceId\": \"2\"\n           },\n           \"duration\":\n           {\n               \"startedAt\": \"2016-02-03T04:00:00.000\",\n               \"stoppedAt\": \"2016-02-03T05:00:00.000\"\n           },\n           \"id\": \"1\",\n           \"note\":\n           {\n              \"mentions\":\n              [\n                  {\n                      \"id\": 1,\n                      \"key\": \"TheSheep\",\n                      \"label\": \"TheSheep\",\n                      \"scope\": \"timeular\",\n                      \"spaceId\": \"2\"\n                  }\n              ],\n              \"tags\":\n              [\n                  {\n                      \"id\": 1,\n                      \"key\": \"boring\",\n                      \"label\": \"boring\",\n                      \"scope\": \"timeular\",\n                      \"spaceId\": \"2\"\n                  }\n              ],\n              \"text\": \"99 sheep &lt;{{|t|1|}}&gt; &lt;{{|m|1|}}&gt;\"\n          }\n       }\n    }\n}\n\n</code></pre>\n<h4 id=\"timeentrydeleted\">timeEntryDeleted</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"timeEntryDeleted\",\n    \"data\":\n    {\n        \"deletedTimeEntry\": \n        {\n          \"id\": \"1\"\n        }\n    }\n}\n\n</code></pre>\n<h4 id=\"trackingstarted\">trackingStarted</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"trackingStarted\",\n    \"data\":\n    {\n        \"currentTracking\":\n        {\n            \"id\": 1,\n            \"activity\":\n            {\n                \"id\": \"1\",\n                \"name\": \"some activity\",\n                \"color\": \"#ffffff\",\n                \"integration\": \"zei\",\n                \"spaceId\": \"2\"\n            },\n            \"note\":\n            {\n                \"mentions\":\n                [\n                    {\n                        \"id\": 1,\n                        \"key\": \"TheSheep\",\n                        \"label\": \"TheSheep\",\n                        \"scope\": \"timeular\",\n                        \"spaceId\": \"2\"\n                    }\n                ],\n                \"tags\":\n                [\n                    {\n                        \"id\": 1,\n                        \"key\": \"boring\",\n                        \"label\": \"boring\",\n                        \"scope\": \"timeular\",\n                        \"spaceId\": \"2\"\n                    }\n                ],\n                \"text\": \"99 sheep &lt;{{|t|1|}}&gt; &lt;{{|m|1|}}&gt;\"\n            },\n            \"startedAt\": \"2016-02-03T04:00:00.000\"\n        }\n    }\n}\n\n</code></pre>\n<h4 id=\"trackingstopped\">trackingStopped</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"trackingStopped\",\n    \"data\": \n    {\n        \"createdTimeEntries\": [], // time entries which were created\n        \"deletedTimeEntries\": [], // ids of deleted timeentries\n        \"editedTimeEntries\": [], // time entries which were edited\n        \"newTimeEntry\":\n        {\n            \"activity\":\n            {\n                \"id\": \"1\",\n                \"name\": \"some activity\",\n                \"color\": \"#ffffff\",\n                \"integration\": \"zei\",\n                \"spaceId\": \"2\"\n            },\n            \"duration\":\n            {\n                \"startedAt\": \"2016-02-03T04:00:00.000\",\n                \"stoppedAt\": \"2016-02-03T05:00:00.000\"\n            },\n            \"id\": \"1\",\n            \"note\":\n            {\n                \"mentions\":\n                [\n                    {\n                        \"id\": 1,\n                        \"key\": \"TheSheep\",\n                        \"label\": \"TheSheep\",\n                        \"scope\": \"timeular\",\n                        \"spaceId\": \"2\"\n                    }\n                ],\n                \"tags\":\n                [\n                    {\n                        \"id\": 1,\n                        \"key\": \"boring\",\n                        \"label\": \"boring\",\n                        \"scope\": \"timeular\",\n                        \"spaceId\": \"2\"\n                    }\n                ],\n                \"text\": \"99 sheep &lt;{{|t|1|}}&gt; &lt;{{|m|1|}}&gt;\"\n            }\n        }\n    }\n}\n\n</code></pre>\n<h4 id=\"trackingedited\">trackingEdited</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"trackingEdited\",\n    \"data\":\n    {\n        \"currentTracking\":\n        {\n            \"id\": 1,\n            \"activity\":\n            {\n                \"id\": \"1\",\n                \"name\": \"some activity\",\n                \"color\": \"#ffffff\",\n                \"integration\": \"zei\",\n                \"spaceId\": \"2\"\n            },\n            \"note\":\n            {\n                \"mentions\":\n                [\n                    {\n                        \"id\": 1,\n                        \"key\": \"TheSheep\",\n                        \"label\": \"TheSheep\",\n                        \"scope\": \"timeular\",\n                        \"spaceId\": \"2\"\n                    }\n                ],\n                \"tags\":\n                [\n                    {\n                        \"id\": 1,\n                        \"key\": \"boring\",\n                        \"label\": \"boring\",\n                        \"scope\": \"timeular\",\n                        \"spaceId\": \"2\"\n                    }\n                ],\n                \"text\": \"99 sheep &lt;{{|t|1|}}&gt; &lt;{{|m|1|}}&gt;\"\n            },\n            \"startedAt\": \"2016-02-03T04:00:00.000\"\n        }\n    }\n}\n\n</code></pre>\n<h4 id=\"trackingcanceled\">trackingCanceled</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"userId\": \"123\",\n    \"eventType\": \"trackingCanceled\",\n    \"data\":\n    {\n        \"currentTracking\":\n        {\n            \"id\": 1,\n            \"activity\":\n            {\n                \"id\": \"1\",\n                \"name\": \"some activity\",\n                \"color\": \"#ffffff\",\n                \"integration\": \"zei\",\n                \"spaceId\": \"2\"\n            },\n            \"note\":\n            {\n                \"mentions\":\n                [\n                    {\n                        \"id\": 1,\n                        \"key\": \"TheSheep\",\n                        \"label\": \"TheSheep\",\n                        \"scope\": \"timeular\",\n                        \"spaceId\": \"2\"\n                    }\n                ],\n                \"tags\":\n                [\n                    {\n                        \"id\": 1,\n                        \"key\": \"boring\",\n                        \"label\": \"boring\",\n                        \"scope\": \"timeular\",\n                        \"spaceId\": \"2\"\n                    }\n                ],\n                \"text\": \"99 sheep &lt;{{|t|1|}}&gt; &lt;{{|m|1|}}&gt;\"\n            },\n            \"startedAt\": \"2016-02-03T04:00:00.000\"\n        }\n    }\n}\n\n</code></pre>\n","event":[{"listen":"prerequest","script":{"id":"cbded347-6398-41a8-9683-4ac121d4d308","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"40cd44da-4fde-4bde-b8c1-367ad725c44e","type":"text/javascript","exec":[""]}}],"_postman_id":"ee43a6cf-0307-4a73-ac2b-71f50feac605"}],"id":"832677a3-73d5-4bde-85dc-40af433414c1","description":"<p><strong>WARNING: This is not the latest version of the API. Please use the latest version.</strong></p>\n<p>Welcome to the documentation of EARLY Public API v3.</p>\n<p>Most of the endpoints are secured.</p>\n<p>In order to access them you have to provide an Access Token. To obtain an Access Token, you have to sign-in with a pair of API Key and API Secret first. API Key &amp; API Secret can be generated on <a href=\"https://product.early.app\">https://product.early.app</a>.</p>\n<p>If you have any questions, please visit <a href=\"https://support.early.app\">https://support.early.app</a>.</p>\n<p>Happy API browsing!</p>\n","event":[{"listen":"prerequest","script":{"id":"0ed96726-ff29-4721-aaf7-62ac9e9c5a5d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"35d703fb-1be8-4932-9b34-77f95de6c03b","type":"text/javascript","exec":[""]}}],"_postman_id":"832677a3-73d5-4bde-85dc-40af433414c1"},{"name":"V2","item":[{"name":"Authentication","item":[{"name":"Sign-in with API Key & API Secret","event":[{"listen":"test","script":{"id":"f021498e-3190-4397-8bdf-4559bb27c47d","exec":["var body = JSON.parse(responseBody);","if (body.token) {","    postman.setEnvironmentVariable(\"ACCESS_TOKEN\",  body.token);","}"],"type":"text/javascript"}}],"id":"e1d08019-f45b-4370-8673-c0dd0a2930dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\"    : \"{{API_KEY}}\",\n  \"apiSecret\" : \"{{API_SECRET}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/developer/sign-in","description":"<p>With this endpoint you can obtain an Access Token, which is required to access secured endpoints. To do so, you have to provide both an API Key and an API Secret.</p>\n<p>They can be generated on <a href=\"https://product.early.app\">https://product.early.app</a> or, if you have an Access Token already, with a <code>POST</code> request to <code>/developer/api-access</code>.</p>\n<p>If you have an Access Token, you need to set the <code>Authorization</code> Header in every secured request to <code>Bearer your_access_token</code>.</p>\n","urlObject":{"path":["api","v2","developer","sign-in"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"34831a49-29fe-409d-8c1b-7acb4fbf8ede","name":"Access Token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\"    : \"{{API_KEY}}\",\n  \"apiSecret\" : \"{{API_SECRET}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/developer/sign-in"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"1234abcdEFGH\"\n}"},{"id":"51fcc4e6-5dd9-4f2e-86b6-265700ad201a","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\"    : \"{{API_KEY}}\",\n  \"apiSecret\" : \"{{API_SECRET}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/developer/sign-in"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"c490bdff-7d77-49ce-94b3-9f1b72fbeb99","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\"    : \"{{API_KEY}}\",\n  \"apiSecret\" : \"{{API_SECRET}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/developer/sign-in"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"e1d08019-f45b-4370-8673-c0dd0a2930dc"},{"name":"Fetch API Key","id":"51970cd1-f510-4c65-a5f6-d1e9c1901e18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/developer/api-access","description":"<p>With this endpoint you can fetch your API Key. If you haven't generated one yet, <code>null</code> will be returned.</p>\n<p> You cannot obtain an API Secret in this way, since it’s visible only once right after generation. If you have lost your API Secret, please generate a new pair of API Key &amp; API Secret.</p>\n","urlObject":{"path":["api","v2","developer","api-access"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"41ad374e-18ea-445a-8e9e-bd44c48e4190","name":"API Key","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/developer/api-access"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"apiKey\": \"ABCDefgh1234=\"\n}"},{"id":"003af7d6-1698-45c7-815d-3f6e9abbb589","name":"Missing Authorization header","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/developer/api-access"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"f4b00357-4a89-4811-8d6f-70e3b36f74d6","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/developer/api-access"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"51970cd1-f510-4c65-a5f6-d1e9c1901e18"},{"name":"Generate new API Key & API Secret","event":[{"listen":"test","script":{"id":"1b79f1c1-36b7-4b93-af96-67b31dc1e491","exec":["var body = JSON.parse(responseBody);","if (body.apiKey) {","    postman.setEnvironmentVariable(\"API_KEY\",  body.apiKey);","}","if (body.apiSecret) {","    postman.setEnvironmentVariable(\"API_SECRET\",  body.apiSecret);","}"],"type":"text/javascript"}}],"id":"8d4c30f4-bb42-4324-b282-adc224fc65e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/developer/api-access","description":"<p>With this endpoint you can generate a new pair of API Key &amp; API Secret.</p>\n<p>Every time you generate a new pair, the old one becomes invalid. Your API Secret won’t be accessible later, so please note it down in some secret place. If you have lost your API Secret, you can generate a new pair of API Key &amp; API Secret here.</p>\n","urlObject":{"path":["api","v2","developer","api-access"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"0adcbf80-1d97-4a06-b1fc-8f88595cf46a","name":"API Key & API Secret","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/developer/api-access"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"apiKey\": \"ABCDefgh1234=\",\n    \"apiSecret\": \"EFGHijkl5678=\"\n}"},{"id":"7f846742-e756-499d-b366-a42f8e9bb339","name":"Missing Authorization header","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/developer/api-access"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"db1789b9-bc72-456a-8554-784c147d641a","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/developer/api-access"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"8d4c30f4-bb42-4324-b282-adc224fc65e5"}],"id":"9b15fe5f-8391-4533-a6b5-2af3c4c46f4b","_postman_id":"9b15fe5f-8391-4533-a6b5-2af3c4c46f4b","description":""},{"name":"Integrations","item":[{"name":"List enabled Integrations","id":"ec63a9c3-ea0d-4415-9797-9bf9707e9e39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/integrations","description":"<p>With this endpoint you can list the names of all Integrations you have enabled on <a href=\"https://product.early.app/\">https://product.early.app/</a></p>\n","urlObject":{"path":["api","v2","integrations"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"ceda18fb-4ddf-44fc-beca-1bd565fd4e98","name":"List of enabled Integrations","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/integrations"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"integrations\": [\n        \"jira\",\n        \"toggl\",\n        \"trello\"\n    ]\n}"},{"id":"14098a6d-c5c7-4960-b972-350e687994a5","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/integrations"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"ec63a9c3-ea0d-4415-9797-9bf9707e9e39"}],"id":"e8eaffd2-de16-4e5c-b7bb-a2444f5cc479","description":"<p>Your EARLY account can be connected with Integrations, eg. JIRA. Check them out on <a href=\"https://product.early.app/#/settings/integrations\">https://product.early.app/#/settings/integrations</a>.</p>\n","event":[{"listen":"prerequest","script":{"id":"b01a086f-d905-4917-81d0-2c6e9378652a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"31672293-7a40-4ede-abef-a64e22c0a7a2","type":"text/javascript","exec":[""]}}],"_postman_id":"e8eaffd2-de16-4e5c-b7bb-a2444f5cc479"},{"name":"Time Tracking","item":[{"name":"Activities","item":[{"name":"List all Activities","id":"afae3849-2da7-4203-b452-b829b5203436","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/activities","urlObject":{"path":["api","v2","activities"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"ad05b00d-a99c-4dae-80a5-6acd9a3ab145","name":"List of Activites","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/activities"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"activities\": [\n        {\n            \"id\": \"123\",\n            \"name\": \"sleeping\",\n            \"color\": \"#a1b2c3\",\n            \"integration\": \"zei\",\n            \"deviceSide\": null\n        }\n    ]\n}"},{"id":"a42754c9-5947-4a9f-bc7b-855e8036c6a8","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/activities"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"afae3849-2da7-4203-b452-b829b5203436"},{"name":"Create an Activity","id":"c7afd73f-58ea-4d8f-92b8-ac447aec3ff0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\"        : \"sleeping\",\n  \"color\"       : \"#a1b2c3\",\n  \"integration\" : \"zei\"\n}"},"url":"{{BASE_URL}}/api/v2/activities","description":"<p>With this endpoint you can create a new Activity. It should have a name and a color.</p>\n<p>The name doesn’t have to be unique. You can also provide an Integration to which the a ctivity will belong (zei by default, which means no special Integration). You can obtain a list of enabled Integrations by making a GET request to /api/v1/integrations.</p>\n","urlObject":{"path":["api","v2","activities"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"75d10830-08d6-44d0-85d0-0bdd48c57594","name":"Created Activity","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\"        : \"sleeping\",\n  \"color\"       : \"#a1b2c3\",\n  \"integration\" : \"zei\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/activities"},"code":201,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"123\",\n    \"name\": \"sleeping\",\n    \"color\": \"#a1b2c3\",\n    \"integration\": \"zei\",\n    \"deviceSide\": null\n}"},{"id":"09118461-0590-4d17-9ee0-10aea5b890ef","name":"Integration-related error, eg. if given integration does not exist","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\"        : \"sleeping\",\n  \"color\"       : \"#a1b2c3\",\n  \"integration\" : \"zei\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/activities"},"code":500,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"cf33cafc-669a-48fe-a161-781b1e826c74","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\"        : \"sleeping\",\n  \"color\"       : \"#a1b2c3\",\n  \"integration\" : \"zei\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/activities"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"d742afa4-e4e8-4500-8f63-66dbb8fd9f52","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\"        : \"sleeping\",\n  \"color\"       : \"#a1b2c3\",\n  \"integration\" : \"zei\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/activities"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"c7afd73f-58ea-4d8f-92b8-ac447aec3ff0"},{"name":"Edit an Activity","id":"e89a59c1-1151-4c52-b1e9-3b9f7f5492b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"deeper sleeping\",\n  \"color\": \"#f9e8d7\"\n}"},"url":"{{BASE_URL}}/api/v2/activities/2","urlObject":{"path":["api","v2","activities","2"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"69e47d61-fa24-410a-8d18-ff8191eb5057","name":"Edited Activity","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"deeper sleeping\",\n  \"color\": \"#f9e8d7\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/activities/2"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"123\",\n    \"name\": \"sleeping\",\n    \"color\": \"#a1b2c3\",\n    \"integration\": \"zei\",\n    \"deviceSide\": null\n}"},{"id":"0f177b0b-8b28-4e8b-8cfa-e2e14103898f","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"deeper sleeping\",\n  \"color\": \"#f9e8d7\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/activities/2"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"0f2493c7-f1bf-4272-b3c6-0e80277c48f6","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"deeper sleeping\",\n  \"color\": \"#f9e8d7\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/activities/2"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"ba9e5809-784d-4b5b-b7a8-9107e4937f2e","name":"Activity not found","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"deeper sleeping\",\n  \"color\": \"#f9e8d7\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/activities/2"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"e89a59c1-1151-4c52-b1e9-3b9f7f5492b7"},{"name":"Archive an Activity","id":"22bbcab0-0448-443f-ba64-b640120649cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/activities/2","urlObject":{"path":["api","v2","activities","2"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"a492057b-49e5-4686-9c1a-3a5f61c772e1","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/activities/2"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        \"Any error which can be ignored and did not prevented action to be performed successfully.\"\n    ]\n}"},{"id":"3920fae1-0d31-4209-bd98-2d9349ddcd1c","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/activities/2"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"9874db6b-b285-476c-8e77-9af69ebc2200","name":"Activity not found","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/activities/2"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"22bbcab0-0448-443f-ba64-b640120649cb"},{"name":"Assign an Activity to Device Side","id":"db2dea7b-91a9-43ea-ac8f-8c6e90747093","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/activities/1/device-side/1","description":"<p>With this endpoint you can assign an activity to any Side of your active Device. We do not know how many Sides your Device has and which ones are valid (the default Tracker has 8 sides numbered from 1 to 8). </p>\n<p>In order to activate your Device, make a POST request to /api/v2/devices/{deviceSerial}/active.</p>\n","urlObject":{"path":["api","v2","activities","1","device-side","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"cf4f04c8-2911-4062-bb03-42a99b813472","name":"Activity after assignment","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/activities/1/device-side/1"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"123\",\n    \"name\": \"sleeping\",\n    \"color\": \"#a1b2c3\",\n    \"integration\": \"zei\",\n    \"deviceSide\": null\n}"},{"id":"16c31812-3bb1-41d4-9fe1-88f015a99664","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/activities/1/device-side/1"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"},{"id":"2df2690c-5e26-45d4-91ec-f1501f452765","name":"No Device is Active","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/activities/1/device-side/1"},"code":409,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"3b8ddbae-2379-4ddd-b678-7b7ae8592aa1","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/activities/1/device-side/1"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"7f2c2de4-36fe-4e54-8ed7-67c18728dfd1","name":"Activity not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/activities/1/device-side/1"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"db2dea7b-91a9-43ea-ac8f-8c6e90747093"},{"name":"Unassign an Activity from a Device Side","id":"1a98f995-a61d-4851-a5d9-1c32367e97d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/activities/1/device-side/1","description":"<p>With this endpoint, you can delete an assignment of an Activity from a Side of your active Device. In order to activate one proper Device, make a POST request to /api/v2/devices/{deviceSerial}/active.</p>\n","urlObject":{"path":["api","v2","activities","1","device-side","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"5d90a550-ef96-4cab-9694-9cbaeb4fdd10","name":"Activity after unassignment","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/activities/1/device-side/1"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"123\",\n    \"name\": \"sleeping\",\n    \"color\": \"#a1b2c3\",\n    \"integration\": \"zei\",\n    \"deviceSide\": null\n}"},{"id":"22a07944-56a2-4eb6-803c-97fed6bfb4fd","name":"Activity not found","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/activities/1/device-side/1"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"95b9b202-9d22-4e36-8629-27b1e5094f04","name":"Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/activities/1/device-side/1"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"b33dee1e-403e-45da-8ebf-1108229ed5ef","name":"No Device is Active or Activity is not assigned to given Device Side","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/activities/1/device-side/1"},"code":409,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"e7970b83-28b7-4dff-a756-f81bc1a61a92","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/activities/1/device-side/1"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"1a98f995-a61d-4851-a5d9-1c32367e97d2"},{"name":"List all Archived Activities","id":"5e2d2313-a57d-4060-abe1-989d4daca365","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/archived-activities","urlObject":{"path":["api","v2","archived-activities"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"84b2e41a-2d42-4f8e-9dd7-18395dfa60d2","name":"List of Archived Activites","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/archived-activities"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"archivedActivities\": [\n        {\n            \"id\": \"123\",\n            \"name\": \"sleeping\",\n            \"color\": \"#a1b2c3\",\n            \"integration\": \"zei\"\n        }\n    ]\n}"},{"id":"ac8d4b74-6e94-4869-a98d-412976c8fcdd","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/archived-activities"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"5e2d2313-a57d-4060-abe1-989d4daca365"}],"id":"d5bc8691-6f81-421d-afed-dc6a963e6856","description":"<p>Activities are one of the main concepts in EARLY. You can track time on them and synchronize them with third party tools, such as JIRA.</p>\n<p>When an activity is no longer needed, you can archive it. The data already tracked on it will remain, even if an activity is archived.</p>\n","event":[{"listen":"prerequest","script":{"id":"de2f6d9c-e5a2-4a79-a560-77d188d3c83d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bfb90a91-759f-4e3e-987e-bfcaa5ca66ad","type":"text/javascript","exec":[""]}}],"_postman_id":"d5bc8691-6f81-421d-afed-dc6a963e6856"},{"name":"Devices","item":[{"name":"List all known Devices","id":"4fa92072-208c-4d1a-b58d-d64dd9110865","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/devices","urlObject":{"path":["api","v2","devices"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"1bdb4771-38dc-4547-afa0-b30efc25df8a","name":"List of Known Devices","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/devices"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"devices\": [\n        {\n            \"serial\": \"123\",\n            \"name\": \"Personal Tracker\",\n            \"active\": true,\n            \"disabled\": false\n        }\n    ]\n}"},{"id":"3feabbcb-ee3b-4a8d-911a-01fa8e55ae2f","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/devices"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"4fa92072-208c-4d1a-b58d-d64dd9110865"},{"name":"Sets the status of a Device to active","id":"460bd3cf-8172-4902-aba8-7425263a82c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/active","urlObject":{"path":["api","v2","devices","TZabc123","active"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"d9bc3c6c-f41e-45c2-8ba6-896bf5885bc4","name":"Activated Device","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/active"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"serial\": \"123\",\n    \"name\": \"Personal Tracker\",\n    \"active\": true,\n    \"disabled\": false\n}"},{"id":"82330ab7-e5db-408e-8ff2-7e62de1dd33c","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/active"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"a94437d2-2da2-40f3-9c04-6a26cfab1de9","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/active"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"460bd3cf-8172-4902-aba8-7425263a82c7"},{"name":"Removes the active status from the given Device","id":"2a7b6d9b-4adf-4bdb-bf6a-6114a8f2038f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/active","urlObject":{"path":["api","v2","devices","TZabc123","active"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"9494ee71-849c-4f6c-b260-a1e2d1866ea6","name":"Deactivated Device","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/active"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"serial\": \"123\",\n    \"name\": \"Personal Tracker\",\n    \"active\": true,\n    \"disabled\": false\n}"},{"id":"3a2a1a2e-7b59-41c8-af63-b3ea00399e0b","name":"Device does not have the status Active.","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/active"},"code":409,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"64d266ef-a15e-44bd-867c-9f293dab8c43","name":"Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/active"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"891b0cf4-5c88-4690-bde0-82ef735957bd","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/active"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"c6e251a2-3cea-4fe5-b610-661d8d46b682","name":"Device is not known. Make it Active to make it known too.","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/active"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"2a7b6d9b-4adf-4bdb-bf6a-6114a8f2038f"},{"name":"Edit a Device","id":"fde0a1f4-eedc-418f-b95d-41cd4e3144ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\" : \"Doge\"\n}"},"url":"{{BASE_URL}}/api/v2/devices/TZabc123","description":"<p>With this endpoint you can set the name of your device. The name is trimmed from leading and trailing whitespaces. You can remove the name from a Device by setting it to null/blank/empty.</p>\n","urlObject":{"path":["api","v2","devices","TZabc123"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"1cb89879-0b67-40d7-898e-ca73b80d7ee7","name":"Edited Device","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\" : \"Doge\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/devices/TZabc123"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"serial\": \"123\",\n    \"name\": \"Personal Tracker\",\n    \"active\": true,\n    \"disabled\": false\n}"},{"id":"0253e87f-8610-4af4-a165-d44de4e295fc","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\" : \"Doge\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/devices/TZabc123"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"156da131-c56e-4165-a3c1-a1a579151966","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\" : \"Doge\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/devices/TZabc123"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"673efd32-30ea-4c0c-881a-3ff89974c1ea","name":"Device is not known. Make it Active to make it known too.","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\" : \"Doge\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/devices/TZabc123"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"fde0a1f4-eedc-418f-b95d-41cd4e3144ee"},{"name":"Remove known Device","id":"cf4afb22-657f-483b-abc4-51bead8e5f01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123","description":"<p>With this endpoint, you can remove a Device from the list of known Devices. In order to remove the Device, you have to make it active again with a POST request to /api/v2//devices/{deviceSerial}/active.</p>\n","urlObject":{"path":["api","v2","devices","TZabc123"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"8eaec43b-0ed0-4585-b105-d3804576fd03","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123"},"code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"0900d190-c686-413a-9377-7042ac928850","name":"Device is not known. Make it Active to make it known too.","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"c027987b-c9e3-4023-8724-c075f712c7a0","name":"Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"c0f469d7-5ad9-48f4-ba21-2eacead10a20","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"cf4afb22-657f-483b-abc4-51bead8e5f01"},{"name":"Disable a Device","id":"49f9620b-026c-432b-9c27-ae7360141ffe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/disabled","urlObject":{"path":["api","v2","devices","TZabc123","disabled"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"a24296a2-a55d-4c6d-842f-44775a5700f8","name":"Disabled Device","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/disabled"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"serial\": \"123\",\n    \"name\": \"Personal Tracker\",\n    \"active\": true,\n    \"disabled\": false\n}"},{"id":"0dc25185-f502-4be6-b456-b40cdb81bd16","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/disabled"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"19b76529-8b7e-45b1-82be-7dfa5db76320","name":"Device is not known. Make it Active to make it known too.","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/disabled"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"6db28dd3-8e96-4328-b4df-11b4613a083a","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/disabled"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"49f9620b-026c-432b-9c27-ae7360141ffe"},{"name":"Enable a Device","id":"b40aee81-2f6f-4443-ad55-e1623ae58e15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/disabled","urlObject":{"path":["api","v2","devices","TZabc123","disabled"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"c2ca7745-3960-40db-b59c-3c9af8c4ad94","name":"Enabled Device","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/disabled"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"serial\": \"123\",\n    \"name\": \"Personal Tracker\",\n    \"active\": true,\n    \"disabled\": false\n}"},{"id":"32e17c75-c1d7-4a3f-b549-252fc0438f80","name":"Device is not known. Make it Active to make it known too.","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/disabled"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"792a2467-d032-4c70-9385-91cd1a44fedc","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/disabled"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"cbc5c803-0665-49c9-88b0-3a47bb63b07a","name":"Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/devices/TZabc123/disabled"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"b40aee81-2f6f-4443-ad55-e1623ae58e15"}],"id":"c34e4c78-eb17-4096-a554-ce4956e0bcc6","description":"<p>The device represents your Tracker. At the very beginning EARLY knows nothing about your Devices, but you can activate any Device by providing its Serial number.</p>\n<p>Only one Device can be active at any given moment, to ensure the EARLY client can perform actions in context of same paired Tracker.</p>\n<p>Moreover you can name your Devices to distinguish them easily. Devices can be marked as disabled too, which can help you to see which Devices should not handle Side changes (until enabled again).</p>\n","event":[{"listen":"prerequest","script":{"id":"9c854b27-6152-4552-9385-fa50c4602646","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"edcb34de-62df-413c-9c10-299546db266c","type":"text/javascript","exec":[""]}}],"_postman_id":"c34e4c78-eb17-4096-a554-ce4956e0bcc6"},{"name":"Current Tracking","item":[{"name":"Show current Tracking","id":"e3edf286-f246-43a4-ae35-9738170ea5c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/tracking","urlObject":{"path":["api","v2","tracking"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"96a8186a-0436-4152-ac70-d36f90cebafb","name":"Current Tracking","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/tracking"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"currentTracking\": {\n        \"activity\": {\n            \"id\": \"123\",\n            \"name\": \"sleeping\",\n            \"color\": \"#a1b2c3\",\n            \"integration\": \"zei\"\n        },\n        \"startedAt\": \"2017-01-02T03:04:05.678\",\n        \"note\": {\n            \"text\": \"development Working with John on the new project\",\n            \"tags\": [\n                {\n                    \"indices\": [\n                        0,\n                        11\n                    ],\n                    \"key\": \"development\"\n                }\n            ],\n            \"mentions\": [\n                {\n                    \"indices\": [\n                        25,\n                        29\n                    ],\n                    \"key\": \"John\"\n                }\n            ]\n        }\n    }\n}"},{"id":"19c0b1ed-0600-48be-98d8-b0295a86ec9a","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/tracking"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"e3edf286-f246-43a4-ae35-9738170ea5c4"},{"name":"Start Tracking","id":"c82fdaee-4545-4a0b-86c5-dfbaa5b831f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"startedAt\" : \"2016-02-03T04:00:00.000\"\n}"},"url":"{{BASE_URL}}/api/v2/tracking/1/start","urlObject":{"path":["api","v2","tracking","1","start"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"1134b5fd-097c-4a59-8fef-a686585e970c","name":"Started Tracking","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"startedAt\" : \"2016-02-03T04:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/tracking/1/start"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"currentTracking\": {\n        \"activity\": {\n            \"id\": \"123\",\n            \"name\": \"sleeping\",\n            \"color\": \"#a1b2c3\",\n            \"integration\": \"zei\"\n        },\n        \"startedAt\": \"2017-01-02T03:04:05.678\",\n        \"note\": {\n            \"text\": \"development Working with John on the new project\",\n            \"tags\": [\n                {\n                    \"indices\": [\n                        0,\n                        11\n                    ],\n                    \"key\": \"development\"\n                }\n            ],\n            \"mentions\": [\n                {\n                    \"indices\": [\n                        25,\n                        29\n                    ],\n                    \"key\": \"John\"\n                }\n            ]\n        }\n    },\n    \"errors\": {\n        \"errors\": [\n            \"Any error which can be ignored and did not prevent the action to be performed successfully.\"\n        ]\n    }\n}"},{"id":"909abf08-62e1-44d3-8bbc-d373be5377f2","name":"Tracking is already started","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"startedAt\" : \"2016-02-03T04:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/tracking/1/start"},"code":409,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"9d2e3597-5911-4477-8e59-341617816f13","name":"Activity not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"startedAt\" : \"2016-02-03T04:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/tracking/1/start"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"cedfb31d-cc7d-44cb-8f0c-435a839de96b","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"startedAt\" : \"2016-02-03T04:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/tracking/1/start"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"c82fdaee-4545-4a0b-86c5-dfbaa5b831f2"},{"name":"Edit Tracking","id":"623e655f-a6e0-43b6-8c2a-6e7fcccaa4dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"note\"  : {\n\t\t\"text\" : \"99 sheep boring TheSheep\",\n\t\t\t\"tags\" : [\n\t\t\t\t{ \"indices\" : [9,15], \"key\" : \"boring\" }\n\t\t\t],\n\t\t\t\"mentions\" : [\n\t\t\t\t{ \"indices\" : [16,24], \"key\" : \"TheSheep\" }\n\t\t\t]\n\t}\n}"},"url":"{{BASE_URL}}/api/v2/tracking/1","description":"<p>With this endpoint you can set/edit/remove the note of your current Tracking.</p>\n<p>To remove the note set it to null/empty/blank. You can provide one or more Tags and Mentions in a note, each of them prefixed with # or @. If the related activity is bound to some Integration, let’s say a JIRA Project, JIRA task IDs are valid Mentions too.</p>\n","urlObject":{"path":["api","v2","tracking","1"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"1c785e46-fab0-42ce-bcf9-7e861315f200","name":"Edited current Tracking","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"note\"  : {\n\t\t\"text\" : \"99 sheep boring TheSheep\",\n\t\t\t\"tags\" : [\n\t\t\t\t{ \"indices\" : [9,15], \"key\" : \"boring\" }\n\t\t\t],\n\t\t\t\"mentions\" : [\n\t\t\t\t{ \"indices\" : [16,24], \"key\" : \"TheSheep\" }\n\t\t\t]\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/tracking/1"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"currentTracking\": {\n        \"activity\": {\n            \"id\": \"123\",\n            \"name\": \"sleeping\",\n            \"color\": \"#a1b2c3\",\n            \"integration\": \"zei\"\n        },\n        \"startedAt\": \"2017-01-02T03:04:05.678\",\n        \"note\": {\n            \"text\": \"development Working with John on the new project\",\n            \"tags\": [\n                {\n                    \"indices\": [\n                        0,\n                        11\n                    ],\n                    \"key\": \"development\"\n                }\n            ],\n            \"mentions\": [\n                {\n                    \"indices\": [\n                        25,\n                        29\n                    ],\n                    \"key\": \"John\"\n                }\n            ]\n        }\n    }\n}"},{"id":"1a853069-0f42-471f-9a43-c373574d9875","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"note\"  : {\n\t\t\"text\" : \"99 sheep boring TheSheep\",\n\t\t\t\"tags\" : [\n\t\t\t\t{ \"indices\" : [9,15], \"key\" : \"boring\" }\n\t\t\t],\n\t\t\t\"mentions\" : [\n\t\t\t\t{ \"indices\" : [16,24], \"key\" : \"TheSheep\" }\n\t\t\t]\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/tracking/1"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"26397988-6327-4a34-b840-3b887ccc6bac","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"note\"  : {\n\t\t\"text\" : \"99 sheep boring TheSheep\",\n\t\t\t\"tags\" : [\n\t\t\t\t{ \"indices\" : [9,15], \"key\" : \"boring\" }\n\t\t\t],\n\t\t\t\"mentions\" : [\n\t\t\t\t{ \"indices\" : [16,24], \"key\" : \"TheSheep\" }\n\t\t\t]\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/tracking/1"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"7abc1bf3-46f3-4fc8-be77-b3769ba4d0f8","name":"There is no Tracking or Tracking for another Activity is ongoing","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"note\"  : {\n\t\t\"text\" : \"99 sheep boring TheSheep\",\n\t\t\t\"tags\" : [\n\t\t\t\t{ \"indices\" : [9,15], \"key\" : \"boring\" }\n\t\t\t],\n\t\t\t\"mentions\" : [\n\t\t\t\t{ \"indices\" : [16,24], \"key\" : \"TheSheep\" }\n\t\t\t]\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/tracking/1"},"code":409,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"9103ead8-ec7b-4922-a113-52061da666ff","name":"ActivityId Not Found","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"note\"  : {\n\t\t\"text\" : \"99 sheep boring TheSheep\",\n\t\t\t\"tags\" : [\n\t\t\t\t{ \"indices\" : [9,15], \"key\" : \"boring\" }\n\t\t\t],\n\t\t\t\"mentions\" : [\n\t\t\t\t{ \"indices\" : [16,24], \"key\" : \"TheSheep\" }\n\t\t\t]\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/tracking/1"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"623e655f-a6e0-43b6-8c2a-6e7fcccaa4dd"},{"name":"Stop Tracking","id":"311094a8-3290-4735-be03-96953dc3d44b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"stoppedAt\" : \"2016-02-03T05:00:00.000\"\n}"},"url":"{{BASE_URL}}/api/v2/tracking/1/stop","description":"<p>With this endpoint you can create a new Time Entry by stopping the current tracking. The resulting Time Entry should have a duration no shorter than 1 minute.</p>\n<p>The time entry will be created even if it overlaps with other Time Entries – in result existing Time Entries will be split or deleted in such manner, that the new one will fit without overlapping.</p>\n","urlObject":{"path":["api","v2","tracking","1","stop"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"d5336db5-fc44-405a-b4f0-8489a9801a28","name":"Created Time Entry","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"stoppedAt\" : \"2016-02-03T05:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/tracking/1/stop"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"createdTimeEntry\": {\n        \"id\": \"987\",\n        \"activity\": {\n            \"id\": \"123\",\n            \"name\": \"sleeping\",\n            \"color\": \"#a1b2c3\",\n            \"integration\": \"zei\"\n        },\n        \"duration\": {\n            \"startedAt\": \"2017-01-02T03:04:05.678\",\n            \"stoppedAt\": \"2017-02-03T04:05:06.789\"\n        },\n        \"note\": {\n            \"text\": \"development Working with John on the new project\",\n            \"tags\": [\n                {\n                    \"indices\": [\n                        0,\n                        11\n                    ],\n                    \"key\": \"development\"\n                }\n            ],\n            \"mentions\": [\n                {\n                    \"indices\": [\n                        25,\n                        29\n                    ],\n                    \"key\": \"John\"\n                }\n            ]\n        }\n    }\n}"},{"id":"4f1ccf9c-c09e-47bd-8a09-7707fd58d346","name":"Tracking is not started","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"stoppedAt\" : \"2016-02-03T05:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/tracking/1/stop"},"code":409,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"ce1d9f93-a1ed-44d7-a5dd-214537033937","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"stoppedAt\" : \"2016-02-03T05:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/tracking/1/stop"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"e44a3b82-8b47-47f5-8321-af54008509eb","name":"Activity not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Subscriber-ID","value":"postman1"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"stoppedAt\" : \"2016-02-03T05:00:00.000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/tracking/1/stop"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"311094a8-3290-4735-be03-96953dc3d44b"}],"id":"5ba6257d-58dd-4a74-aa6a-298c9ec39fb2","description":"<p>A tracking is the representation of what you are doing at any given moment. When finished, a new Time Entry is created based on the tracked time. All timestamps are in the format 'YYYY-MM-DDTHH:mm:ss.SSS' in UTC, eg. '2017-12-31T23:59:59.999'.</p>\n","event":[{"listen":"prerequest","script":{"id":"bf39eca8-5f76-48c3-afdf-d1a53e1d3344","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f54af5f4-7ec8-4147-a691-00dcfc9eeb8d","type":"text/javascript","exec":[""]}}],"_postman_id":"5ba6257d-58dd-4a74-aa6a-298c9ec39fb2"},{"name":"Time Entries","item":[{"name":"Find Time Entries in given range","id":"d950b394-7427-4dae-a9f6-472becc07eda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/time-entries/2016-01-01T00:00:00.000/2017-12-31T23:59:59.999","description":"<p>Find Time Entries within the given time range.</p>\n","urlObject":{"path":["api","v2","time-entries","2016-01-01T00:00:00.000","2017-12-31T23:59:59.999"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"0a4b7ff6-15c6-4762-8601-91e01f31df1d","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/time-entries/2016-01-01T00:00:00.000/2017-12-31T23:59:59.999"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"timeEntries\": [\n        {\n            \"id\": \"987\",\n            \"activity\": {\n                \"id\": \"123\",\n                \"name\": \"sleeping\",\n                \"color\": \"#a1b2c3\",\n                \"integration\": \"zei\"\n            },\n            \"duration\": {\n                \"startedAt\": \"2017-01-02T03:04:05.678\",\n                \"stoppedAt\": \"2017-02-03T04:05:06.789\"\n            },\n            \"note\": {\n                \"text\": \"development Working with John on the new project\",\n                \"tags\": [\n                    {\n                        \"indices\": [\n                            0,\n                            11\n                        ],\n                        \"key\": \"development\"\n                    }\n                ],\n                \"mentions\": [\n                    {\n                        \"indices\": [\n                            25,\n                            29\n                        ],\n                        \"key\": \"John\"\n                    }\n                ]\n            }\n        }\n    ]\n}"},{"id":"53207918-717d-4f6b-ac74-b33e6b9b666b","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/time-entries/2016-01-01T00:00:00.000/2017-12-31T23:59:59.999"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"6d94293e-9587-4f41-8529-e19c2a48d755","name":"Bad Request","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/time-entries/2016-01-01T00:00:00.000/2017-12-31T23:59:59.999"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"d7e10661-78d9-44e2-a7a0-f433741b8419","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/time-entries/2016-01-01T00:00:00.000/2017-12-31T23:59:59.999"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"d950b394-7427-4dae-a9f6-472becc07eda"},{"name":"Create Time Entry","id":"6e2246f2-bd4b-41a6-a3c9-ac8ab53cadc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"activityId\" : \"1\",\n  \"startedAt\"  : \"2016-08-05T06:00:00.000\",\n  \"stoppedAt\"  : \"2016-08-05T07:00:00.000\",\n  \"note\"  : {\n\t\"text\" : \"99 sheep boring TheSheep\",\n\t\t\"tags\" : [\n\t\t\t{ \"indices\" : [9,15], \"key\" : \"boring\" }\n\t\t],\n\t\t\"mentions\" : [\n\t\t\t{ \"indices\" : [16,24], \"key\" : \"TheSheep\" }\n\t\t]\n  }\n}"},"url":"{{BASE_URL}}/api/v2/time-entries","description":"<p>With this endpoint you can create a new time entry. It should be connected to an activity and have a duration no shorter than 1 minute. The note can be provided as well, but it’s not required.</p>\n<p>You can provide one or more tags and mentions, each of their prefixes must be configured with the start and the end index within the note text and can be defined with a key. If the key is not defined a random id will be generated and assigned. If you are referring to an existing tag or mention you can provide that key but the content of the tag or mention must be the same.\nIf the related Activity is bound to some Integration, let’s say a JIRA Project, JIRA task IDs are a valid Mention too.</p>\n<p>The time entry will be created even if it overlaps with other Time Entries – in result existing time entries will be split or deleted in such manner, that the new one will fit without overlapping.</p>\n","urlObject":{"path":["api","v2","time-entries"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"a6ca4fd3-4d88-473f-8303-f4ef691ecf0f","name":"Created Time Entry","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"activityId\" : \"1\",\n  \"startedAt\"  : \"2016-08-05T06:00:00.000\",\n  \"stoppedAt\"  : \"2016-08-05T07:00:00.000\",\n  \"note\"  : {\n\t\"text\" : \"99 sheep boring TheSheep\",\n\t\t\"tags\" : [\n\t\t\t{ \"indices\" : [9,15], \"key\" : \"boring\" }\n\t\t],\n\t\t\"mentions\" : [\n\t\t\t{ \"indices\" : [16,24], \"key\" : \"TheSheep\" }\n\t\t]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/time-entries"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"987\",\n    \"activity\": {\n        \"id\": \"123\",\n        \"name\": \"sleeping\",\n        \"color\": \"#a1b2c3\",\n        \"integration\": \"zei\"\n    },\n    \"duration\": {\n        \"startedAt\": \"2017-01-02T03:04:05.678\",\n        \"stoppedAt\": \"2017-02-03T04:05:06.789\"\n    },\n    \"note\": {\n        \"text\": \"development Working with John on the new project\",\n        \"tags\": [\n            {\n                \"indices\": [\n                    0,\n                    11\n                ],\n                \"key\": \"development\"\n            }\n        ],\n        \"mentions\": [\n            {\n                \"indices\": [\n                    25,\n                    29\n                ],\n                \"key\": \"John\"\n            }\n        ]\n    }\n}"},{"id":"1b78bdb1-1e7b-4cf3-88a2-41fc75c1b203","name":"Activity not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"activityId\" : \"1\",\n  \"startedAt\"  : \"2016-08-05T06:00:00.000\",\n  \"stoppedAt\"  : \"2016-08-05T07:00:00.000\",\n  \"note\"  : {\n\t\"text\" : \"99 sheep boring TheSheep\",\n\t\t\"tags\" : [\n\t\t\t{ \"indices\" : [9,15], \"key\" : \"boring\" }\n\t\t],\n\t\t\"mentions\" : [\n\t\t\t{ \"indices\" : [16,24], \"key\" : \"TheSheep\" }\n\t\t]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/time-entries"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"28bbed40-ef00-42b9-b34d-3f02efd368c5","name":"Integration-related error, eg. if new Time Entry somehow conflicts with data on the Integration side","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"activityId\" : \"1\",\n  \"startedAt\"  : \"2016-08-05T06:00:00.000\",\n  \"stoppedAt\"  : \"2016-08-05T07:00:00.000\",\n  \"note\"  : {\n\t\"text\" : \"99 sheep boring TheSheep\",\n\t\t\"tags\" : [\n\t\t\t{ \"indices\" : [9,15], \"key\" : \"boring\" }\n\t\t],\n\t\t\"mentions\" : [\n\t\t\t{ \"indices\" : [16,24], \"key\" : \"TheSheep\" }\n\t\t]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/time-entries"},"code":500,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"4d1f295d-8a49-4771-83e1-fd175df17297","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"activityId\" : \"1\",\n  \"startedAt\"  : \"2016-08-05T06:00:00.000\",\n  \"stoppedAt\"  : \"2016-08-05T07:00:00.000\",\n  \"note\"  : {\n\t\"text\" : \"99 sheep boring TheSheep\",\n\t\t\"tags\" : [\n\t\t\t{ \"indices\" : [9,15], \"key\" : \"boring\" }\n\t\t],\n\t\t\"mentions\" : [\n\t\t\t{ \"indices\" : [16,24], \"key\" : \"TheSheep\" }\n\t\t]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/time-entries"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"f6c152fe-5b3d-4de4-8fbe-70e0880abcc7","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"activityId\" : \"1\",\n  \"startedAt\"  : \"2016-08-05T06:00:00.000\",\n  \"stoppedAt\"  : \"2016-08-05T07:00:00.000\",\n  \"note\"  : {\n\t\"text\" : \"99 sheep boring TheSheep\",\n\t\t\"tags\" : [\n\t\t\t{ \"indices\" : [9,15], \"key\" : \"boring\" }\n\t\t],\n\t\t\"mentions\" : [\n\t\t\t{ \"indices\" : [16,24], \"key\" : \"TheSheep\" }\n\t\t]\n  }\n}"},"url":"{{BASE_URL}}/api/v2/time-entries"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"6e2246f2-bd4b-41a6-a3c9-ac8ab53cadc5"},{"name":"Find Time Entry","id":"b7e3d7a2-20fe-4c3a-b1e7-5711911bf062","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/time-entries/3","urlObject":{"path":["api","v2","time-entries","3"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"14d175b2-8847-40f5-9938-3bfe4c41e72e","name":"Found Time Entry","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/time-entries/3"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"987\",\n    \"activity\": {\n        \"id\": \"123\",\n        \"name\": \"sleeping\",\n        \"color\": \"#a1b2c3\",\n        \"integration\": \"zei\"\n    },\n    \"duration\": {\n        \"startedAt\": \"2017-01-02T03:04:05.678\",\n        \"stoppedAt\": \"2017-02-03T04:05:06.789\"\n    },\n    \"note\": {\n        \"text\": \"development Working with John on the new project\",\n        \"tags\": [\n            {\n                \"indices\": [\n                    0,\n                    11\n                ],\n                \"key\": \"development\"\n            }\n        ],\n        \"mentions\": [\n            {\n                \"indices\": [\n                    25,\n                    29\n                ],\n                \"key\": \"John\"\n            }\n        ]\n    }\n}"},{"id":"25dba117-964a-49a7-8f8c-9d992a926179","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/time-entries/3"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"dc5d7d14-0bd3-4692-9692-cf994958f5bc","name":"Time Entry not found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/time-entries/3"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"b7e3d7a2-20fe-4c3a-b1e7-5711911bf062"},{"name":"Edit Time Entry","id":"2ef8ae40-07ed-49a7-be17-114062abcf32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"activityId\" : \"1\",\n  \"startedAt\"  : \"2016-08-05T06:01:00.000\",\n  \"stoppedAt\"  : \"2016-08-05T07:01:00.000\",\n  \"note\"  : {\n\t\"text\" : \"100 sheep boring TheSheep\",\n\t\"tags\" : [],\n\t\"mentions\" : []\n  }\n}"},"url":"{{BASE_URL}}/api/v2/time-entries/3","description":"<p>With this endpoint you can edit an existing Time Entry. When changing the activity ID please note, that both the new and old activity attached to the time entry have to belong to same Integration.</p>\n<p>To remove a note, just set the complete object to null and all values within the object will be deleted too.</p>\n","urlObject":{"path":["api","v2","time-entries","3"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"07c81e03-76e9-4cc8-a586-d0376ec2fa36","name":"Edited Time Entry","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"activityId\" : \"1\",\n  \"startedAt\"  : \"2016-08-05T06:01:00.000\",\n  \"stoppedAt\"  : \"2016-08-05T07:01:00.000\",\n  \"note\"  : {\n\t\"text\" : \"100 sheep boring TheSheep\",\n\t\"tags\" : [],\n\t\"mentions\" : []\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/time-entries/3"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"987\",\n    \"activity\": {\n        \"id\": \"123\",\n        \"name\": \"sleeping\",\n        \"color\": \"#a1b2c3\",\n        \"integration\": \"zei\"\n    },\n    \"duration\": {\n        \"startedAt\": \"2017-01-02T03:04:05.678\",\n        \"stoppedAt\": \"2017-02-03T04:05:06.789\"\n    },\n    \"note\": {\n        \"text\": \"development Working with John on the new project\",\n        \"tags\": [\n            {\n                \"indices\": [\n                    0,\n                    11\n                ],\n                \"key\": \"development\"\n            }\n        ],\n        \"mentions\": [\n            {\n                \"indices\": [\n                    25,\n                    29\n                ],\n                \"key\": \"John\"\n            }\n        ]\n    }\n}"},{"id":"4f08f31d-471b-4dd9-b413-06c95c721f92","name":"Integration-related error, eg. if given integration does not exist","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"activityId\" : \"1\",\n  \"startedAt\"  : \"2016-08-05T06:01:00.000\",\n  \"stoppedAt\"  : \"2016-08-05T07:01:00.000\",\n  \"note\"  : {\n\t\"text\" : \"100 sheep boring TheSheep\",\n\t\"tags\" : [],\n\t\"mentions\" : []\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/time-entries/3"},"code":500,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"5fd3cdd7-b4a6-46f3-84ab-b229e4813627","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"activityId\" : \"1\",\n  \"startedAt\"  : \"2016-08-05T06:01:00.000\",\n  \"stoppedAt\"  : \"2016-08-05T07:01:00.000\",\n  \"note\"  : {\n\t\"text\" : \"100 sheep boring TheSheep\",\n\t\"tags\" : [],\n\t\"mentions\" : []\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/time-entries/3"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"763e5696-626e-44d6-adcb-f041434e08ba","name":"Activity or Time Entry not found","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"activityId\" : \"1\",\n  \"startedAt\"  : \"2016-08-05T06:01:00.000\",\n  \"stoppedAt\"  : \"2016-08-05T07:01:00.000\",\n  \"note\"  : {\n\t\"text\" : \"100 sheep boring TheSheep\",\n\t\"tags\" : [],\n\t\"mentions\" : []\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/time-entries/3"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"b609016b-2808-432f-a704-cc5b741cff4f","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"activityId\" : \"1\",\n  \"startedAt\"  : \"2016-08-05T06:01:00.000\",\n  \"stoppedAt\"  : \"2016-08-05T07:01:00.000\",\n  \"note\"  : {\n\t\"text\" : \"100 sheep boring TheSheep\",\n\t\"tags\" : [],\n\t\"mentions\" : []\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{BASE_URL}}/api/v2/time-entries/3"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"2ef8ae40-07ed-49a7-be17-114062abcf32"},{"name":"Delete Time Entry","id":"0719d2e0-e33a-4162-aef7-4b7590201fc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/time-entries/3","urlObject":{"path":["api","v2","time-entries","3"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"c6c64164-425d-4ab6-89c3-3bf75d229a46","name":"OK","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/time-entries/3"},"code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        \"Any error which can be ignored and did not prevented action to be performed successfully.\"\n    ]\n}"},{"id":"4c947bf1-a7c5-4207-b615-ff5365cd038d","name":"Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/time-entries/3"},"code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"a651e55c-332e-4021-9dc2-6984451643ea","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/time-entries/3"},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"},{"id":"d23f1995-75c3-419e-9c0b-b4b94ea78bdc","name":"Time Entry not found","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"body":{"mode":"raw","raw":""},"url":"{{BASE_URL}}/api/v2/time-entries/3"},"code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"0719d2e0-e33a-4162-aef7-4b7590201fc5"}],"id":"3613399c-46ae-48b5-9c08-2adacdcab993","description":"<p>Time Entries are one of the main concepts in EARLY.</p>\n<p>They represent time spent on activities. A time entry can contain a textual Note, which allows you to add some useful context.</p>\n<p>There can be only one Time Entry in any given time-frame, even if they belong to different activities. All timestamps are in the format 'YYYY-MM-DDTHH:mm:ss.SSS' in UTC, eg. '2017-12-31T23:59:59.999'.</p>\n","event":[{"listen":"prerequest","script":{"id":"2834014d-6fcf-4611-aecb-ca5bacae0284","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d42fd6af-230c-4977-8134-12216dd1fb34","type":"text/javascript","exec":[""]}}],"_postman_id":"3613399c-46ae-48b5-9c08-2adacdcab993"},{"name":"Reports","item":[{"name":"Generate Report","id":"dea2c10c-3376-4f43-a2a1-8f8c35fd46a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/report/2016-01-01T00:00:00.000/2017-12-31T23:59:59.999?timezone=Europe/Warsaw","description":"<p>Generates a report which contains all the Time Entries from inside the given time range. If some Time Entry exceeds the report’s time range, only the matching part will be included.</p>\n<p><em>Warning: For this endpoint you need a pro subscription!</em></p>\n<p>There are three optional query parameters:</p>\n<ul>\n<li>activityId (e.g. 1)</li>\n<li>noteQuery (e.g. \"sometext\")</li>\n<li>fileType (\"xlsx\" or \"csv\" - defaults to \"csv\")</li>\n</ul>\n<p>And one mandatory parameter:</p>\n<ul>\n<li>timezone (e.g. Europe/Warsaw)</li>\n</ul>\n","urlObject":{"path":["api","v2","report","2016-01-01T00:00:00.000","2017-12-31T23:59:59.999"],"host":["{{BASE_URL}}"],"query":[{"key":"timezone","value":"Europe/Warsaw"}],"variable":[]}},"response":[{"id":"7e2025f2-f08c-4e93-864c-434a7bb1b7a7","name":"Report in CSV or XLSX format","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":{"raw":"{{BASE_URL}}/api/v2/report/2016-01-01T00:00:00.000/2017-12-31T23:59:59.999?timezone=Europe/Warsaw","host":["{{BASE_URL}}"],"path":["api","v2","report","2016-01-01T00:00:00.000","2017-12-31T23:59:59.999"],"query":[{"key":"timezone","value":"Europe/Warsaw"}]}},"code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"text/plain;charset=UTF-8","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"\"Version,TimeEntryID,StartDate,StartTime,StartTimeOffset,EndDate,EndTime,EndTimeOffset,Duration,ActivityID,Activity,Username,Note,Mentions,Tags\\n\\\"3\\\",\\\"28473\\\",\\\"2016-08-05\\\",\\\"08:00:00\\\",\\\"+0200\\\",\\\"2016-08-05\\\",\\\"09:00:00\\\",\\\"+0200\\\",\\\"01:00:00\\\",\\\"123\\\",\\\"sleeping\\\",\\\"some.user@domain.com\\\",\\\"Some very fancy note.\\\",\\\"\\\",\\\"\\\"\\n\\\"3\\\",\\\"28438\\\",\\\"2017-05-25\\\",\\\"09:20:13\\\",\\\"+0200\\\",\\\"2017-05-25\\\",\\\"10:22:16\\\",\\\"+0200\\\",\\\"01:02:03\\\",\\\"123\\\",\\\"sleeping\\\",\\\"some.user@domain.com\\\",\\\"\\\",\\\"\\\",\\\"\\\"\\n\\\"3\\\",\\\"28439\\\",\\\"2017-05-25\\\",\\\"10:40:00\\\",\\\"+0200\\\",\\\"2017-05-25\\\",\\\"10:42:16\\\",\\\"+0200\\\",\\\"00:02:16\\\",\\\"123\\\",\\\"sleeping\\\",\\\"some.user@domain.com\\\",\\\"@m1 @m2 #1 #2\\\",\\\"@m1 @m2\\\",\\\"#1 #2\\\"\""},{"id":"825a8e41-3c55-4111-9e4a-04cd9f65b783","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":{"raw":"{{BASE_URL}}/api/v2/report/2016-01-01T00:00:00.000/2017-12-31T23:59:59.999?timezone=Europe/Warsaw","host":["{{BASE_URL}}"],"path":["api","v2","report","2016-01-01T00:00:00.000","2017-12-31T23:59:59.999"],"query":[{"key":"timezone","value":"Europe/Warsaw"}]}},"code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"dea2c10c-3376-4f43-a2a1-8f8c35fd46a1"}],"id":"a65b6034-1466-4d72-bcc8-3249c153b4ed","_postman_id":"a65b6034-1466-4d72-bcc8-3249c153b4ed","description":""},{"name":"Tags & Mentions","item":[{"name":"Fetch Tags & Mentions","id":"6caceffc-7c12-4e81-a7e4-3dbc7b08fca1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/tags-and-mentions","description":"<p>Tags and Mentions are created with the use of an explicit reference within the Notes of your Time Entries / Tracking.</p>\n<p>Moreover, if an activity is linked with a third party integration, such as a JIRA project, JIRA task IDs can be used as Mentions.</p>\n<p>With this endpoint, you can fetch all your Tags and Mentions.</p>\n","urlObject":{"path":["api","v2","tags-and-mentions"],"host":["{{BASE_URL}}"],"query":[],"variable":[]}},"response":[{"id":"ad712e81-24a1-491d-8585-9ce419039e0e","name":"List of Tags and Mentions","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/tags-and-mentions"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"tags\": [\n        {\n            \"id\": \"development\",\n            \"label\": \"development\"\n        },\n        {\n            \"id\": \"PROJ-1\",\n            \"label\": \"Some Jira Ticket\"\n        }\n    ],\n    \"mentions\": [\n        {\n            \"id\": \"John\",\n            \"label\": \"John Tester\"\n        }\n    ],\n    \"errors\": [\n        \"Any error which can be ignored and did not prevented action to be performed successfully.\"\n    ]\n}"},{"id":"db5a1137-f5e4-45e4-b496-79d0ee939247","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{ACCESS_TOKEN}}"}],"url":"{{BASE_URL}}/api/v2/tags-and-mentions"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Explanation of what has happened\"\n}"}],"_postman_id":"6caceffc-7c12-4e81-a7e4-3dbc7b08fca1"}],"id":"0f039fb6-3ab0-4248-a6cc-ca08d1392f52","description":"<p>Tags and Mentions are a concept for adding contextual information to time entries. You can add #tags and @mentions to a time entry's note.</p>\n","event":[{"listen":"prerequest","script":{"id":"5e005d9a-75e6-4cea-85f3-85377d47dc7e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b61c6162-3573-4f79-b48f-cbeaadf491d9","type":"text/javascript","exec":[""]}}],"_postman_id":"0f039fb6-3ab0-4248-a6cc-ca08d1392f52"}],"id":"8c2ffa77-3f5e-45d7-9308-31fb7ac4165d","_postman_id":"8c2ffa77-3f5e-45d7-9308-31fb7ac4165d","description":""}],"id":"47c84cfb-997c-4a3f-99f3-5c10e3418906","description":"<p><strong>WARNING: This is not the latest version of the API. Please use the latest version.</strong></p>\n<p>Welcome to the documentation of EARLY Public API v2.</p>\n<p>Most of the endpoints are secured.</p>\n<p>In order to access them you have to provide an Access Token. To obtain an Access Token, you have to sign-in with a pair of API Key and API Secret first. API Key &amp; API Secret can be generated on <a href=\"https://product.early.app\">https://product.early.app</a>.</p>\n<p>If you have any questions, please visit <a href=\"https://support.early.app\">https://support.early.app</a>.</p>\n<p>Happy API browsing!</p>\n","event":[{"listen":"prerequest","script":{"id":"2010936a-36c1-4a12-8d80-59b6b8eb8786","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9a52a28d-b494-4cca-8c17-46f482e63af4","type":"text/javascript","exec":[""]}}],"_postman_id":"47c84cfb-997c-4a3f-99f3-5c10e3418906"}],"event":[{"listen":"prerequest","script":{"id":"59be8b7a-9265-4f97-928b-3a061d1ef2a9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7d7289b0-48b0-4dc5-a493-b9f407d8a4ba","type":"text/javascript","exec":[""]}}]}