GET
/
v0
/
reports
/
top-expenses
Authorization
Header
Query
curl --request GET \
  --url https://api.sandbox.teal.dev/v0/reports/top-expenses \
  --header 'Authorization: <authorization>' \
  --header 'teal-instance-id: <teal-instance-id>'
{
  "entries": [
    {
      "ledger_amount": 100,
      "ledger_name": "Credit Card 3821",
      "percent_total": 83
    }
  ]
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

teal-instance-id
string
required

The Teal instance ID

Query Parameters

start_date
string
required

The start date of the cash flow report, inclusive

end_date
string
required

The end date of the cash flow report, inclusive

limit
integer
required

The number of results to return

Response

200 - application/json
entries
object[]
required