---
title: "Retrieve all saving goals for a user"
method: GET
path: "/savings-goals"
tags: ["savings goals"]
---

# Retrieve all saving goals for a user

`GET /savings-goals`

Requires **savings_goals:read** scope.

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- object
  - `data` SavingsGoals[]
    - `id` string, required — Unique id of the saving goal.
    - `name` string, required — Name for the savings goal.
    - `amount` object, required
      - `value` integer, required — The target amount in minor unit in minor units of the currency, eg. pennies for GBP.
      - `majorUnits` integer — The major units of the value, based on the values currency, eg. pounds for GBP.
      - `minorUnits` integer — The minor units of the value, based on the values currency, eg. pennies for GBP.
      - `currency` string, required — The currency of the amount
    - `targetDate` string, date — The target date for the savings goal. Format YYYY-MM-DD
    - `dateCreated` string, date-time, required — The date at which the savings goal was added.
    - `imageUrl` string
    - `notes` string — Arbitrary text that a user can add about a savings goal.
    - `progressPercentage` number — Progress achieved towards the target amount represented in percentage.
    - `progressAmount` object — Progress achieved towards the target amount by adding up the balances of the selected accounts.
      - `value` integer — The amount of the transaction in minor units of the currency, eg. pennies for GBP, negative means money going out of an account, positive means money coming into an account.
      - `majorUnits` integer — The major units of the value, based on the values currency, eg. pounds for GBP.
      - `minorUnits` integer — The minor units of the value, based on the values currency, eg. pennies for GBP.
      - `currency` string — The currency of the amount
    - `accounts` object[], required — Accounts that will be taken into account towards the target amount.
      - `id` string, required — Id of the account
  - `links` Links
    - `next` string, uri — The url to retrieve the next page of results from
    - `prev` string, uri — The url to retrieve the previous page of results from
    - `self` string, uri, required — The url of the current resource(s)
  - `meta` object

## Other responses

- `401` — Unsuccessful Response - Not authorised - Missing authorization header - Invalid access Token
- `403` — Unsuccessful Response - Forbidden - Invalid scopes

---

[API](https://skmtc.net/moneyhub/apis/moneyhub-data-api.md) · [All operations](https://skmtc.net/moneyhub/apis/moneyhub-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/moneyhub/moneyhub-data-api/revisions/f2eb965eb9af/schema)
