Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Hubstaff Time Off API

Time off requests, policies, and balances.

Hubstaff Time Off API is one of 19 APIs that Hubstaff publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Time Off. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, and API documentation.

This API exposes 7 operations across 4 paths. It is described by OpenAPI 3.0.3, at version 2.0.

Requests are made against a single base URL, https://api.hubstaff.com.

7 operations 4 paths 0 schemas 1 DELETE4 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
2.0
Base URL
https://api.hubstaff.com/v2
Authentication
OAuth 2.0, HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 2

Hubstaff Time Off API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 2 scopes. It accepts HTTP bearer tokens (personalAccessToken). By default, every request must be authenticated.

  • oauth2 — Hubstaff Account OpenID Connect / OAuth 2.0 authentication. Scopes are hubstaff:read and hubstaff:write.
  • personalAccessToken — Access token obtained by exchanging a personal access token (created at https://developer.hubstaff.com/personalaccesstokens) via the OAuth 2.0 refresh token gr…

Paths & Operations 7

Across 4 paths, the API surfaces 7 operations — 1 DELETE, 4 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Time Off 7

Time off requests, policies, and balances.

GET
/v2/organizations/{organization_id}/time_off_requests
List organization time off requests
getV2OrganizationsOrganizationIdTimeOffRequests 11 params → 200400401403404429
POST
/v2/organizations/{organization_id}/time_off_requests
Create time off request
postV2OrganizationsOrganizationIdTimeOffRequests 1 param body → 201400401403404429
GET
/v2/time_off_requests/{time_off_request_id}
Get time off request
getV2TimeOffRequestsTimeOffRequestId 1 param → 200400401403404429
PUT
/v2/time_off_requests/{time_off_request_id}
Update time off request
putV2TimeOffRequestsTimeOffRequestId 1 param body → 200400401403404429
DELETE
/v2/time_off_requests/{time_off_request_id}
Delete time off request
deleteV2TimeOffRequestsTimeOffRequestId 1 param → 204400401403404429
GET
/v2/organizations/{organization_id}/time_off_policies
List organization time off policies
getV2OrganizationsOrganizationIdTimeOffPolicies 4 params → 200400401403404429
GET
/v2/organizations/{organization_id}/time_off_balances
List organization time off balances
getV2OrganizationsOrganizationIdTimeOffBalances 8 params → 200400401403404429

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hubstaff-time-off-api-openapi.yml Raw ↑

Other APIs Hubstaff publishes across the network.

Hubstaff Activities API
Hubstaff App & URL Tracking API
Hubstaff Attendance API
Hubstaff Client Invoices API
Hubstaff Clients API
Hubstaff Invites API
Hubstaff Members API
Hubstaff Organizations API
Hubstaff Projects API
Hubstaff Screenshots API
Hubstaff Tasks API
Hubstaff Team Payments API