Skip to main content

Hubstaff
Hubstaff API, Webhooks, CLI and MCP Server: Limits and Fields

Active; CLI newActive plan; higher limits on Enterprise
By Saif Hamdi, Tool Tester· Published November 28, 2026
We checked every fact on this page against Hubstaff's own pages, help center and developer docs between November 2 to 7, and November 28, 2026. We have not tested each integration ourselves. This page contains affiliate links. Here's how we test.

When no native integration fits, Hubstaff offers four ways to reach your data: the REST API (v2), webhooks, a command-line tool and a read-only MCP server for AI assistants. This page collects the limits, the fields and what the developer docs leave out.

For the other Hubstaff connections, see the Hubstaff integrations overview.

What you need

  • An organization on an active plan. API endpoints answer "API access is only for organizations on an active plan" otherwise.
  • A personal access token or an OAuth app from the Hubstaff developer portal
  • For the MCP server, an owner or manager to enable it, and an AI client such as Claude, ChatGPT or Codex CLI

How to start

  1. Create a personal access token in the developer portal, or register an OAuth app.
  2. Exchange the refresh token for an access token, which lasts 24 hours, and refresh it before it expires.
  3. Call the v2 endpoints. Hubstaff's API guide says v1 is deprecated, and every reference endpoint is under /v2/.
  4. For events, create a webhook instead of polling, and save the ID it returns.

API v2 can read and write users, activities, reports, tasks, integrations, job sites and more, according to Hubstaff's API guide.

Rate limits

LimitValueSource
API requests120 per minute per access token across most endpoints; activities and screenshots are lower. Over the limit returns HTTP 429 with a Retry-After headerDeveloper portal, pagination and rate limits
Token refresh5 attempts per hour per refresh token; going over returns HTTP 400 with a rate_limit errorDeveloper portal, authentication
Access token life24 hoursDeveloper portal, authentication
Personal access token (refresh token) life90 days, reset to 90 days on every successful refresh; the old refresh token stops workingDeveloper portal, authentication
OAuth app refresh token life30 days, slidingDeveloper portal, authentication
Organization access tokensNever, 30, 60 or 90 days, chosen at creationDeveloper portal, authentication
Request timeout30 secondsAPI Evangelist profile, third party, July 2026
Higher rate limitEmail support@hubstaff.com with your use case. The help center says increases are generally reserved for Enterprise organizations with a demonstrated needDeveloper portal; API FAQ

Each response carries X-Rate-Limit-Limit, X-Rate-Limit-Remaining and X-Rate-Limit-Reset headers. Hubstaff's advice for staying under the limit is to use page_limit 500, cache members and projects, use the daily activities endpoints instead of raw activities, use webhooks instead of polling, and wait for the Retry-After header before retrying.

1,000 an hour or 120 a minute?

Hubstaff's API FAQ says the default limit is 1,000 requests per hour, per app, and to email api@hubstaff.com for more. The developer portal's rate-limit page says 120 requests per minute per access token, lower on heavy endpoints, and to email support@hubstaff.com. We follow the developer portal, because it is the API's own reference, but read the X-Rate-Limit headers on your first calls to see which applies to you.

What happens in Hubstaff: time entries and activities

The API reference documents one time entry endpoint, Create time entry, and it lists request fields only. It shows no full time entry object, so there is no documented field that links a time entry to an external item. Tracked time is otherwise read from activity records, and external IDs live on tasks. Hubstaff's FAQ adds that there is no endpoint that returns tracked time as start and stop sessions; use daily activities for totals. All timestamps are in UTC.

Data that moves

Time entry request fields, POST /v2/users/{user_id}/time_entries:

FieldTypeRequiredMeaning
project_idintegerYesProject the time belongs to
start_timestringYesStart time in ISO 8601
trackedintegerYesSeconds tracked
task_idintegerNoTask the time belongs to
billablebooleanNoDefaults to the project setting
notestringRequired by defaultReason for the entry. The Require Reason setting can make it optional
  • Not synced: manual entries that need approval cannot be added through the API. Tasks in a project connected to Hubstaff Tasks or a third-party tool such as Asana, Trello or Jira cannot be created, updated or deleted through the API (error 11000, "Can not create a task for a project with a task integration"); they can still be read.
  • Direction: read and write through the API; read-only through MCP; outbound events through webhooks.
  • Edits: only simple to-dos can be updated or deleted through the API. Activity records carry immutable and timesheet_locked flags; what they block through the API is not documented.
  • Timing: organization activity data may be delayed up to 20 minutes. Activity queries cover up to 7 days per request and go back 6 months; daily activities cover up to 31 days per request and go back 3 years.
  • Who is matched: everything is keyed by Hubstaff IDs (user_id, project_id, task_id).
  • Role and plan: an active plan for the API. Higher rate limits are generally reserved for Enterprise.
  • Duplicates: not documented for time entries; test before you backfill.

API fields

Activity records

FieldMeaning
id, date, created_at, updated_atRecord ID, organization date and timestamps
time_slot, starts_atThe 10-minute slot and when tracking started inside it
user_id, project_id, task_idWho, which project and which task
trackedTotal seconds worked
keyboard, mouse, overallSeconds of keyboard, mouse and either input
input_tracked, tracks_inputSeconds worked with input tracking, and whether the source tracked input
location_typeRemote, on-site or unknown
billable, paidBillable and paid flags
client_invoiced, team_invoicedInvoiced to the client, invoiced for the team member
immutableLocked against changes
timesheet_id, timesheet_lockedTimesheet link and whether a timesheet locks the record
time_type, clientType of activity and the client it came from

Task fields that link to another tool

FieldMeaning
integration_idID of the integration the task belongs to
remote_idID of the task in the external system
remote_alternate_idSecondary ID in the external system
lock_versionConcurrency control value, used when updating a task or its metadata
global_todo_idRelated Global To-Do
metadataCustom key-value data on the task. Set it with the update_metadata endpoint

Tasks in projects connected to a third-party tool must be created in that tool. The reference does not say which external field each integration puts in remote_id or remote_alternate_id.

Webhooks

Webhooks let Hubstaff notify your app when supported events happen. The Webhooks page lists 21 events. You can subscribe to chosen events or to all of them with an asterisk.

EventMeaning
timer.start, timer.stopTracking started or stopped
project.create, client.createProject or client created
task.create, task.assign, task.unassignTask created, assigned or unassigned
schedule.create, schedule.update, schedule.deleteSchedule changes
shift.ontime, shift.early, shift.late, shift.missed, shift.abandonedShift start outcome
work_break.createBreak started
activity.create, activity.update, activity.deleteActivity changes, available on request
idle_time.startIdle time started, beta
billing.occupied_seatsOccupied seats snapshot, up to the previous UTC day
  • Payload: every delivery has id, event, created_at and payload. Only timer.start has documented payload fields: organization_id, project_id, project_name, task_id, user_id, user_name and tracking_started_at.
  • Scope: the organization, one project or the current user. No event-level filters are documented. Creating, activating and deleting needs the hubstaff:write scope; reading needs hubstaff:read.
  • Setup: create the webhook with events and target_url. Within about 15 seconds Hubstaff sends a verification ping with an X-Hook-Secret header; return 200 and echo it, then activate the webhook with that secret. Check each delivery with the X-Hook-Signature header, an HMAC-SHA256 of the raw body.
  • Failures: 5xx responses, timeouts and connection errors are retried. A persistent 404 or 410, or a failed verification ping, disables the webhook, and a disabled webhook has to be deleted and recreated.

Save the webhook ID

Hubstaff has no endpoint to list existing webhooks. The reference offers create (per scope), get, delete and activate only, so keep the ID returned when you create one. You need it to update or delete the webhook later.

Hubstaff CLI

Hubstaff announced its command-line tool on July 24, 2026. It wraps the public API and builds its command list from the API's own schema each time it runs. Hubstaff's CLI help article says it supports both read and write requests, depending on the endpoint and your permissions. You need a Hubstaff account and a personal access token from the developer portal. Install it with Homebrew, a shell installer or a PowerShell command, then run the set-pat config command to store your token.

Hubstaff MCP server

The Hubstaff MCP server lets an AI assistant read your organization, members, projects, tasks, daily activity summaries and detailed time and activity data. It is read-only: connected apps cannot create, change or delete anything, and they can only see what your Hubstaff account can access. For writes, use the API.

  1. An owner or manager opens Settings, then Integrations, finds Hubstaff MCP and clicks Set up.
  2. In the Claude app, open Customize, then Connectors, click +, search for Hubstaff and click Connect. On Claude Team and Enterprise, a Claude owner has to add Hubstaff under Organization settings, then Connectors, first.
  3. In Claude Code, run claude mcp add --transport http hubstaff https://mcp.hubstaff.com/. In Codex CLI, run codex mcp add hubstaff --url https://mcp.hubstaff.com/.
  4. In ChatGPT, install the Hubstaff plugin; on Enterprise and Edu workspaces an admin approves it first. Other MCP clients use the remote server URL https://mcp.hubstaff.com/.
  5. Each member signs in with their own Hubstaff account.

Who can use the MCP server

When we first researched this page, a search snippet of Hubstaff's MCP article said owners and managers, while the page text said any member. On November 28, 2026 the article said owners and managers enable it, and "any organization member" can use it once the connector is available in their AI workspace. We follow the live article. Hubstaff's MCP page also names Gemini, which the help article does not cover. Neither page lists the server's tools or a plan requirement. Several unofficial Hubstaff MCP servers also exist on community directories; they ask for a personal access token, and we have not reviewed them.

Importing projects and members

Hubstaff documents two importers, both run from the web app. You get an email when processing ends, which usually takes about a minute. The pages mention CSV, XLS and XLSX files, but the steps describe CSV.

Project import

ColumnMaps toValues
NameProject nameFree text
Billable? (Yes/No)Whether the project is billableYes or No
Record activity? (Yes/No)Whether activity is recordedYes or No

Member import

ColumnMaps toValues
NameMember nameText
EmailWhere the invitation goesEmail address
RoleMember roleUser or Manager
TeamsExisting teamsComma-separated names. New teams are not created
ProjectsExisting projectsComma-separated names. New projects are not created
Require timesheet approvalApproval settingYes or No
Hourly Pay ratePay rateNumber, currency not specified
Pay periodPay periodNone, Weekly, Twice per month, Bi-weekly or Monthly

Imported members get an invitation and must accept it. Creating accounts without an invitation needs the Account Provisioning feature on the Enterprise plan. We found no Hubstaff importer for time entries, tasks or another tracker's export.

Which source we used

Rate limits, tokens, webhooks and fields come from the Hubstaff developer portal, which shows no page dates, re-checked on November 28, 2026. The API FAQ, MCP article and member import article were re-read the same day. The API guide, the CLI help article and the project import article were read on November 2, 2026; they rate-limited our re-check, so the v1 deprecation, CLI install steps and project columns are from that first reading. We did not call the API or connect the MCP server ourselves.

What Hubstaff's developer docs do not say

AreaNot documentedHow to check it
Time entryThe full time entry object; the reference shows only the create requestCreate an entry on a test account and read it back through the activity endpoints.
TasksWhich external field each integration stores in remote_id and remote_alternate_idRead a synced task through the tasks endpoint and compare it with the source item.
TasksAllowed values of project_type and status in the task objectList tasks with each filter value and note the results.
TasksWhat lock_version means in practiceUpdate a simple to-do twice and observe the value.
Rate limitsThe exact lower limits for activities and screenshotsRead the X-Rate-Limit-Limit header on those endpoints.
WebhooksPayload fields for every event except timer.startCreate a test webhook for each event you need and log the first delivery.
WebhooksEvent-level filters, such as one project inside an organizationCreate a project-scoped webhook and compare it with an organization one.
WebhooksThe full webhook object returned by getCall get on a test webhook and record the response.
WebhooksWhether the activity events are available on your accountAsk Hubstaff support before you build on them.
MCPThe number and names of the tools the server exposesConnect it in a test workspace and list its tools.
ImportersRequired columns, who can import, and which plan the project import needsImport a file with one column blank, as a manager.
ImportersRow and file limits, failed-row and duplicate handlingImport a file with a duplicate and an invalid row.
ImportersAny importer for time entries, tasks or another tracker’s exportSearch the help center again; we found none on November 28, 2026.

Sources

Other Hubstaff integrations