Create a single spending goal for a userAsk AIpost https://api.moneyhub.co.uk/v2.0/spending-goalsRequires spending_goals:read and spending_goals:write:all scopes.Body ParamscategoryIdstringrequiredThe id of the category for the spending goal, either from the /categories endpoint or std:allperiodTypestringenumThe period type of the goal, can be annual or monthlymonthlymonthlyannualAllowed:monthlyannualperiodStartstringYou can set a goal period to start on a certain date. DD when periodType is monthly, DD-MM when periodType is annualamountobjectrequiredamount objectResponses 200Successful Spending Goal Response 400Unsuccessful Response - Bad request - Missing query parameters - Missing body properties 401Unsuccessful Response - Not authorised - Missing authorization header - Invalid access Token 403Unsuccessful Response - Forbidden - Invalid scopesUpdated 7 months ago