Hubstaff API
15 endpoints for Hubstaff, each at its own method and path, called with your API key. Open an endpoint for its inputs, examples and response.
- Base URL
- https://cotlet.dev/api/v1/hubstaff
- Connects with
- Your own Hubstaff login on app.hubstaff.com. Approvals, projects and member changes need an owner or manager role, and what your agent can do follows that role. You sign in in your own browser and keep your 2-step verification.
- Integration page
- Hubstaff
Read (8)
Return data and change nothing in the account.
| Endpoint | Description |
|---|---|
| GET | Organizations you belong to, with ID, name and your role in each. |
| GET | Members of an organization with user ID, name, email and role. |
| GET | Projects in an organization with status, billable default and client. |
| GET | Tasks in a project with status, assignees and due date. |
| GET | Timesheets for a pay period with member, status, tracked time and activity levels. |
| GET | Manual time requests with member, project, times, reason and status. |
| GET | Time off requests with member, policy, dates and status. |
| GET | Tracked time and activity levels per day, member, project and task. |
Write (7)
Change the account. Calls marked Confirm wait for the user to approve them.
| Endpoint | Description |
|---|---|
| POST | Approve a submitted timesheet so its hours count for payroll. |
| POST | Deny a timesheet with a reason so the member can fix it. |
| POST | Approve or deny one manual time request that is waiting for review. |
| POST | Add manual time to a member on a project. |
| POST | Create a project with a billable default and its members. |
| POST | Add a task to a project and assign it to members. |
| POST | Add a member to a project or change their role on it. |