List Expenses
Lists direct expenses.
Requires the can_view_expense permission on the key owner’s role.
Keys: secret key only.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
identitystring
The identity for the active workspace.
Query parameters
size
Optional. Number of records to return per page. Defaults to 20, capped at 50.
last_id
Optional. The last_id from the previous page’s response. Omit to fetch the first page. Must be sent together with keyset.
keyset
Optional. The keyset from the previous page’s response. Must be sent together with last_id.
Response
OK
data
page
count
pages
status
message
keyset
Send back as keyset, with last_id, to get the next page. null when there are no more records.
last_id
Send back as last_id, with keyset, to get the next page. null when there are no more records.
Errors
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error

