Skip to main content

List Expenses

Retrieve a list of expenses for the authenticated business.
schema
string
required
Schema identifier. Must be expenses
page
number
Page number for pagination
limit
number
Number of records per page
date_order
string
Order records by date. Values: asc (oldest first) or desc (newest first). Default: desc

Get Expense

Retrieve a specific expense by UUID or source_uuid.
uuid
string
required
Expense UUID or source_uuid

Create Expense

Create a new expense using AI prompt.
prompt
string
required
Description of the expense to create
attachments
array
Array of attachment URLs or file references
text_attachment
string
Additional text context
curl -X POST "https://api.useadam.io/v1/adam/expenses" \
  -H "X-API-Key: your_secret_key" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Create an expense for $50 for lunch meeting with client"
  }'

Update Expense

Update an existing expense by UUID or source_uuid.
uuid
string
required
Expense UUID or source_uuid

Delete Expense

Delete an expense by UUID or source_uuid.
uuid
string
required
Expense UUID or source_uuid