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
goal
object
Hide child attributes
goal.account_guid
string
required
The unique identifier for an account.
Example:
"ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1"
goal.amount
number
required
The amount of the goal.
Example:
4500
goal.goal_type_name
enum<string> | null
required
The type of goal. Can be SAVE_AMOUNT or PAYOFF.
Available options:
SAVE_AMOUNT,
PAYOFF
Example:
"SAVE_AMOUNT"
goal.meta_type_name
string
required
The category of the goal.
Example:
"VACATION"
goal.name
string
required
The name of the goal.
Example:
"Save for Europe"
goal.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"
goal.has_been_spent
boolean
Determines if the goal has been spent.
Example:
false
goal.is_complete
boolean
Determines if the goal is complete.
Example:
false
goal.metadata
string
Additional information you can store about the goal.
Example:
"Additional information"
goal.position
integer
The priority of the goal in relation to multiple goals.
Example:
3
goal.targeted_to_complete_at
string
Date and time the goal is to complete. Intended for users to set their own goal completion dates.
Example:
"2026-12-08 00:00:00.000000"
Response
200 - application/json
OK
goal
object
Hide child attributes
goal.account_guid
string
The unique identifier for an account. Defined by MX.
Example:
"ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1"
goal.amount
number
The amount of the goal.
Example:
4500
goal.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"
goal.current_amount
number
The current amount of the goal.
Example:
1500
goal.goal_type_name
enum<string> | null
The type of goal.
Available options:
SAVE_AMOUNT,
PAYOFF
Example:
"SAVE_AMOUNT"
goal.guid
string
Unique identifier for the goal. Defined by MX.
Example:
"GOL-f223463-4355-48d0-rce7-fe2rb345617c"
goal.has_been_spent
boolean
Determines if the goal has been spent.
Example:
false
goal.is_complete
boolean
Determines if the goal is complete.
Example:
false
goal.metadata
string
Additional information you stored about the goal.
Example:
"Additional information"
goal.meta_type_name
string
The category of the goal.
Example:
"VACATION"
goal.name
string
The name of the goal.
Example:
"Save for Europe"
goal.position
integer
The priority of the goal in relation to multiple goals.
Example:
3
goal.projected_to_complete_at
string
Date and time the goal is projected to be completed.
Example:
"2022-06-14T16:03:53-00:00"
goal.targeted_to_complete_at
string
Date and time the goal is to complete. Intended for users to set their own goal completion dates.
Example:
"2026-12-08 00:00:00.000000"
goal.track_type_name
enum<string>
The track of the goal.
Available options:
DEBT_TRACK,
SAVINGS_TRACK,
RETIREMENT_TRACK,
EMERGENCY_FUND_TRACK
Example:
"SAVINGS_TRACK"
goal.user_guid
string
The unique identifier for the the user. Defined by MX.