Expenses

List expenses

Expenses team members submitted, in every status but draft, newest first (created_at, then id), with their receipts as metadata. Narrow with status; drafts are never returned and status=draft is a 400.

get/v1/expenses

Request

  • Base URL: https://api.dynt.ai/v1/dynt-server.onrender.com
  • URL: https://api.dynt.ai/v1/dynt-server.onrender.com/v1/expenses
  • Auth: HTTP bearer

Query parameters

limitstring

Page size, 1 to 200. Default 50.

cursorstring

The next_cursor of the previous page. Omit for the first page.

status'pending' | 'processing' | 'sent' | 'reimbursed' | 'rejected' | 'cancelled'

Only expenses in this status. draft is not a value: drafts are never returned, and asking for them is a 400.

fromstring

Earliest expense date, inclusive (UTC; compared with date).

tostring

Latest expense date, inclusive (UTC; compared with date).

employee_idstring

Only expenses filed under this team member (employee.id).

updated_sincestring date-time

Only expenses whose updated_at is at or after this RFC 3339 date-time.

Response

OK

next_cursorstring nullable required

Pass as cursor to fetch the next page; null when this is the last page.

Changes

No recorded changes to this operation across all 1 revision of this API.