Skip to main content
GET
Get Households Savings

Authorizations

x-api-key
string
header
required

API Key authentication. Enter your API key in the format: YOUR_API_KEY

Query Parameters

start_date
string<date>
required

First day (inclusive) to return, in YYYY-MM-DD format.

end_date
string<date>
required

Last day (inclusive) to return, in YYYY-MM-DD format.

user_id
string | null

ID of the user to filter on: your own ID of the user or the NOX user_id. If not provided, all users are returned.

limit
integer
default:1000

The maximum number of items to return per page of results.

This should be used together with the next_token parameter, or the offset parameter where the endpoint offers it, to paginate through results.

Read the pagination parameter documentation for more details.

Required range: 1 <= x <= 1000
next_token
string | null

The next_token is a token used to retrieve the next page of results when there are more results than can fit in a single page(=API response).

By default, the API will return a next_token of the first page if no token was given as a parameter.

If the token is null you have reached the end of the results.

This should be used together with the limit parameter to paginate through results.

To get all results of your call, you can keep calling the same API call with the previously returned next_token until it returns null.

Pass the next_token back unchanged. A token that was altered or not issued by the API returns 400.

offset
integer | null

The number of items to skip before the first item of the page. Defaults to 0.

Use it together with the limit parameter to fetch a specific page, for example limit=100&offset=200 returns items 201 to 300.

Use either offset or next_token, not both. Sending both returns 400.

Required range: x >= 0

Response

Successful response

data
HouseholdSavingsData · object[] | null

List of household days, oldest first.

meta
HouseholdSavingsMeta · object | null

Response metadata