TimeLodge Expenses API

Read and write workspace expenses.

GitHub OpenAPI

Operations 3

GET /expenses List expenses #
POST /expenses Create Expense #
GET /expenses/{id} Retrieve Expense #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/timelodge-com:timelodge-com-expenses-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

timelodge-com-expenses-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TimeLodge Expenses API
  version: 1.0.0
  summary: Move time, project, and commercial data without brittle exports.
  description: The TimeLodge API is a workspace-scoped JSON API for operational and reporting integrations. All dates use ISO 8601 and monetary amounts use minor units unless an endpoint says otherwise.
  contact:
    name: TimeLodge Support
  license:
    name: Proprietary
  x-logo:
    altText: TimeLodge
servers:
- url: https://timelodge.com/api/v1
  description: Production API
security:
- bearerAuth: []
tags:
- name: Expenses
  description: Read and write workspace expenses.
paths:
  /expenses:
    get:
      tags:
      - Expenses
      summary: List expenses
      operationId: listExpenses
      description: Returns a stable, ascending-by-ID page scoped to the token workspace. Requires `expenses:read`.
      parameters:
      - $ref: '#/components/parameters/Page'
      - $ref: '#/components/parameters/PerPage'
      - name: user_id
        in: query
        required: false
        schema:
          type:
          - string
          - 'null'
          format: uuid
      - name: project_id
        in: query
        required: false
        schema:
          type:
          - string
          - 'null'
          format: uuid
      - name: category_id
        in: query
        required: false
        schema:
          type:
          - string
          - 'null'
          format: uuid
      - name: expense_date
        in: query
        required: false
        schema:
          type:
          - string
          - 'null'
          format: date
      - name: status
        in: query
        required: false
        schema:
          type:
          - string
          - 'null'
      - name: updated_since
        in: query
        required: false
        schema:
          type: string
          format: date-time
      responses:
        '200':
          description: A page of expenses.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExpenseCollection'
        '401':
          description: Missing or invalid token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: The token lacks the required scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      tags:
      - Expenses
      summary: Create Expense
      operationId: createExpense
      description: Requires `expenses:write` and a unique idempotency key.
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExpenseWrite'
      responses:
        '201':
          description: The resource was created.
          headers:
            ETag:
              description: Opaque resource version.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExpenseResponse'
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: The token lacks the required scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Idempotency conflict or request in progress.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /expenses/{id}:
    get:
      tags:
      - Expenses
      summary: Retrieve Expense
      operationId: getExpense
      description: Returns the current representation and an ETag for optimistic concurrency. Requires `expenses:read`.
      parameters:
      - $ref: '#/components/parameters/ResourceId'
      responses:
        '200':
          description: The resource.
          headers:
            ETag:
              description: Opaque resource version.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExpenseResponse'
        '401':
          description: Missing or invalid token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: The token lacks the required scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ExpenseWrite:
      type: object
      properties:
        project_id:
          type:
          - string
          - 'null'
          format: uuid
        category_id:
          type:
          - string
          - 'null'
          format: uuid
        expense_date:
          type:
          - string
          - 'null'
          format: date
        notes:
          type:
          - string
          - 'null'
        amount:
          type:
          - number
          - 'null'
        currency:
          type:
          - string
          - 'null'
        conversion_rate:
          type:
          - number
          - 'null'
        tax_rate:
          type:
          - number
          - 'null'
        markup_rate:
          type:
          - number
          - 'null'
        reimbursable:
          type:
          - boolean
          - 'null'
        billable:
          type:
          - boolean
          - 'null'
      required:
      - project_id
      - category_id
      - expense_date
      - amount
      - currency
      additionalProperties: false
    Expense:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
          format: uuid
        user_id:
          type:
          - string
          - 'null'
          format: uuid
        project_id:
          type:
          - string
          - 'null'
          format: uuid
        category_id:
          type:
          - string
          - 'null'
          format: uuid
        expense_date:
          type:
          - string
          - 'null'
          format: date
        notes:
          type:
          - string
          - 'null'
        currency:
          type:
          - string
          - 'null'
        amount_minor:
          type:
          - integer
          - 'null'
        tax_minor:
          type:
          - integer
          - 'null'
        markup_minor:
          type:
          - integer
          - 'null'
        total_minor:
          type:
          - integer
          - 'null'
        reimbursable:
          type:
          - boolean
          - 'null'
        billable:
          type:
          - boolean
          - 'null'
        status:
          type:
          - string
          - 'null'
        is_locked:
          type:
          - boolean
          - 'null'
        created_at:
          type:
          - string
          - 'null'
          format: date-time
        updated_at:
          type:
          - string
          - 'null'
          format: date-time
        version:
          type: string
          readOnly: true
          description: Opaque representation version used for optimistic concurrency.
      additionalProperties: false
    ExpenseResponse:
      type: object
      required:
      - data
      properties:
        data:
          $ref: '#/components/schemas/Expense'
    ExpenseCollection:
      type: object
      required:
      - data
      - meta
      - links
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Expense'
        meta:
          $ref: '#/components/schemas/PaginationMeta'
        links:
          $ref: '#/components/schemas/PaginationLinks'
    ErrorResponse:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              example: validation_failed
            message:
              type: string
            details:
              type:
              - object
              - 'null'
              additionalProperties: true
    PaginationMeta:
      type: object
      required:
      - current_page
      - per_page
      - total
      - last_page
      properties:
        current_page:
          type: integer
        per_page:
          type: integer
        total:
          type: integer
        last_page:
          type: integer
    PaginationLinks:
      type: object
      properties:
        first:
          type:
          - string
          - 'null'
          format: uri
        last:
          type:
          - string
          - 'null'
          format: uri
        previous:
          type:
          - string
          - 'null'
          format: uri
        next:
          type:
          - string
          - 'null'
          format: uri
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: true
      description: A unique key retained for 24 hours.
      schema:
        type: string
        minLength: 8
        maxLength: 255
    ResourceId:
      name: id
      in: path
      required: true
      description: UUID resource identifier.
      schema:
        type: string
        format: uuid
    Page:
      name: page
      in: query
      description: Page number.
      schema:
        type: integer
        minimum: 1
        default: 1
    PerPage:
      name: per_page
      in: query
      description: Records per page.
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 25
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: TimeLodge token
      description: Use a workspace token beginning with `tl_live_`.
x-rate-limit:
  requests: 120
  window: 1 minute
x-idempotency:
  header: Idempotency-Key
  retentionHours: 24
x-changelog:
- version: 1.0.0
  date: '2026-08-22'
  changes:
  - Initial API and webhook release.
x-deprecation-policy: Breaking changes ship under a new version. Deprecated versions receive at least 12 months notice via response headers and this changelog.