---
title: "Fetching a list of Expenses"
method: GET
path: "/expenses"
tags: ["Expenses"]
---

# Fetching a list of Expenses

`GET /expenses`

## Request

- Base URL: `https://api.mavenlink.com/api/v1`
- URL: `https://api.mavenlink.com/api/v1/expenses`
- Auth: none declared

The expenses endpoint provides a list of every expense that the user making the request is allowed to see—
across all projects to which the user belongs.

The response will contain an array of expense objects, sorted by the `date` attribute in descending order,
available under the `expenses` key.


This endpoint returns structured Expense objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the `results` array
and will be indexed by ID in the `expenses` top-level JSON key.
Please see our [Response Format](#section/Response-Format) section for more information.

## Query parameters

- `approved` boolean
- `created_after` string, date-time
- `created_before` string, date-time
- `created_by` integer
- `date_expensed_between` string
- `external_reference_external_message` string
- `external_reference_external_status` string
- `external_reference_service_model` string
- `external_reference_service_model_ref` integer
- `external_reference_service_model_refs` string
- `external_reference_service_name` string
- `external_reference_status` string
- `from_archived_workspaces` boolean
- `has_external_references` boolean
- `in_active_invoice_id` integer
- `include` string
- `invoiced` boolean
- `mine` boolean
- `on_my_account` boolean
- `only` string
- `optional_fields` string[]
- `order` string
- `page` integer
- `per_page` integer
- `reimbursable` boolean
- `submitted` boolean
- `uninvoiced` boolean
- `unsubmitted` boolean
- `updated_after` string, date-time
- `updated_before` string, date-time
- `with_expense_approvals` boolean
- `with_expense_report_id` integer
- `with_recent_expense_report_ids` string
- `without_external_reference_service_name` string
- `workspace_id` integer

## Response `200`

A list of Expenses have been retrieved.

- object
  - `count` integer
  - `meta` object
    - `count` integer
    - `page_count` integer
    - `page_number` integer
    - `page_size` integer
  - `results` object[]
    - `key` string
    - `id` string
  - `expenses` object
  - `external_references` object
  - `stories` object
  - `workspaces` object
  - `users` object
  - `attachments` object
  - `expense_report_submissions` object
  - `expense_categories` object
  - `roles` object
  - `vendors` object
  - `expense_budgets` object

## Other responses

- `400`: Bad Request
- `401`: Unauthorized request
- `403`: Forbidden request
- `404`: Page Not Found
- `422`: Unprocessable Entity
- `503`: Service is unavailable

---

[API](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation.md) - [All operations](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation/revisions/9d4ebed2fa98?raw)
