openapi: 3.2.0 info: title: FreshBooks REST Time Entries API version: '2026-05-23' description: 'Best-effort OpenAPI 3.1 description of the FreshBooks accounting REST API. Scoped per account via /accounting/account/{accountId}/* paths. Generated from public documentation; not an official spec.' contact: name: FreshBooks Developer Portal url: https://www.freshbooks.com/api/start servers: - url: https://api.freshbooks.com description: Production security: - bearerAuth: [] tags: - name: Time Entries paths: /timetracking/business/{businessId}/time_entries: parameters: - in: path name: businessId required: true schema: type: string get: tags: - Time Entries operationId: listTimeEntries responses: '200': $ref: '#/components/responses/Ok' summary: List time entries x-summary-source: derived post: tags: - Time Entries operationId: createTimeEntry requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/Object' responses: '200': $ref: '#/components/responses/Ok' summary: Create time entry x-summary-source: derived components: responses: Ok: description: Successful response content: application/json: schema: $ref: '#/components/schemas/Object' schemas: Object: type: object additionalProperties: true securitySchemes: bearerAuth: type: http scheme: bearer description: OAuth 2.0 access token obtained via the FreshBooks authorization code flow.