Skip to main content
GET
Get expense history

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-finops-version
string<date>
required
x-organization-id
string<uuid>
required

The ID of the entity that owns the requested resource.

Example:

"9d2b4c8f-2087-4738-ba91-7359683c49a4"

Path Parameters

transaction_id
string<uuid>
required

Query Parameters

event_type
enum<string> | null

Filter by event type (e.g. status_changed)

Available options:
status_changed,
approval_action,
expense_created,
expense_updated,
submitted,
approval_requested,
auto_approved,
approvals_bypassed,
reopened,
canceled,
deleted,
receipt_matched,
receipt_unlinked,
auto_categorized,
payment_status_changed
order
enum<string>
default:desc

Sort order by timestamp

Available options:
asc,
desc
limit
integer
default:100

Maximum number of records to return

Required range: 1 <= x <= 500
offset
integer
default:0

Number of records to skip

Required range: x >= 0

Response

Successful Response

data
object[]
required
next_pagination_token
string | null

A token that can be sent in the pagination_token query parameter to get the next page of results, or null if there is no next page (i.e. you've reached the last page).

prev_pagination_token
string | null

A token that can be sent in the pagination_token query parameter to get the previous page of results, or null if there is no previous page (i.e. you've reached the first page).