Gets a collection of expenses
/jsonapi/expensesBearer authentication. Confirm your scopes, data access and required adviser context.
Request parameters
filter query
filterarrayArray itemstringsort query
sortarrayArray itemstringpage query
sizeintegerformat: int32
numberintegerformat: int32
include query
includearrayArray itemstringExample request
Use your supplied API base URL and replace path placeholders such as {id}. These examples run in your backend or terminal, where your credentials are kept.
curl --globoff --request GET "${API_BASE_URL}/jsonapi/expenses" \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "UserId: $ADVISER_CONTACT_ID" \
--header 'Accept: application/vnd.api+json'
Responses
200 response Generated from the OpenAPI Specification with illustrative values. Shows primary data and attributes where defined; optional links, relationships and included resources are omitted. Actual values and returned fields depend on your request and access.application/vnd.api+jsonExample response body
metaobjectread onlyjsonApiobjectread onlylinksall ofread onlydataarrayrequiredincludedarray · nullableread only
For guidance beyond this operation's schema, see troubleshooting and JSON:API explained.