---
title: "Fetching a single Expense"
method: GET
path: "/expenses/{id}"
tags: ["Expenses"]
---

# Fetching a single Expense

`GET /expenses/{id}`

## Request

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

You can request either `GET /api/v1/expenses.json?only=5` or
`GET /api/v1/expenses/5.json`.  In both cases, default filters will be applied. Unless you
provide the `from_archived_workspaces:true` filter you won't receive expenses from archived projects,
and will get a 404 status on the "show" route.


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.

## Path parameters

- `id` integer, required

## Query parameters

- `include` string
- `optional_fields` string[]

## Response `200`

The Expense has 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)
