{ "opencollection": "1.0.0", "info": { "name": "Hubstaff Activities Time Entries API", "version": "2.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://account.hubstaff.com/authorizations/new", "accessTokenUrl": "https://account.hubstaff.com/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Time Entries", "type": "folder" }, "items": [ { "info": { "name": "Create time entry", "type": "http" }, "http": { "method": "POST", "url": "https://api.hubstaff.com/v2/users/:user_id/time_entries", "params": [ { "name": "user_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new time entry.\n\nReturns {success: true} on success.\n\nNote: Manual time entries that require approval cannot be added through the API." } ] } ], "bundled": true }