To authenticate with the Platform API, include your Base64-encoded client_id and api_key in the Authorization header of every request:
-H 'Authorization: Basic BASE_64_ENCODING_OF{client_id:api_key}'
Headers
Accept-Version
string
default:v20250224
required
MX Platform API version.
Example:
"v20250224"
Path Parameters
user_guid
string
required
The unique identifier for a user, beginning with the prefix USR-.
Body
application/json
goals
object[]
Hide child attributes
goals.guid
string
required
The unique identifier for the goal. Defined by MX.
Example:
"GOL-97665947-235c-b213-ca25-8cf0174774f5"
goals.position
integer
required
The priority of the goal in relation to multiple goals.
Example:
1
Response
200 - application/json
OK
goals
object[]
Hide child attributes
goals.account_guid
string
The unique identifier for an account. Defined by MX.
Example:
"ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1"
goals.amount
number
The amount of the goal.
Example:
4500
goals.current_amount
number
The current amount of the goal.
Example:
1500
goals.guid
string
The unique identifier for the goal. Defined by MX.
Example:
"GOL-524ca5db-a2d5-44f3-b048-16de16059024"
goals.goal_type_name
enum<string> | null
The type of goal.
Available options:
SAVE_AMOUNT,
PAYOFF
Example:
"SAVE_AMOUNT"
goals.meta_type_name
string
The category of the goal.
Example:
"VACATION"
goals.name
string
The name of the goal.
Example:
"Save for Europe"
goals.completed_at
string
Date and time the goal was completed, represented in ISO 8601 format with a timestamp.
Example:
"2025-08-15T10:30:00+00:00"
goals.has_been_spent
boolean
Determines if the goal has been spent.
Example:
false
goals.is_complete
boolean
Determines if the goal is complete.
Example:
false
goals.metadata
string
Additional information you stored about the goal.
Example:
"Additional information"
goals.position
integer
The priority of the goal in relation to multiple goals.
Example:
3
goals.projected_to_complete_at
string
The date on which the project was completed.
Example:
"2022-06-14T16:03:53-00:00"
goals.targeted_to_complete_at
string
Date and time the goal is to complete, represented in ISO 8601 format with timestamp. Intended for users to set their own goal completion dates.
Example:
"2026-12-08 00:00:00.000000"
goals.track_type_name
enum<string>
The track of the goal.
Available options:
DEBT_TRACK,
SAVINGS_TRACK,
RETIREMENT_TRACK,
EMERGENCY_FUND_TRACK
Example:
"SAVINGS_TRACK"
goals.user_guid
string
The unique identifier for the the user. Defined by MX.