All notifications created through the API will be of notification type API_NOTIFICATION, channel PUSH, and will not be associated to an entity. No other channels are supported. This will only have an effect for clients using an MX mobile application.
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
notification
object
Hide child attributes
notification.content
string
required
The main body of the notification text sent to the user.
Example:
"You're projected to spend $1,920.07 more than you've budgeted for Fees & Charges. You've already spent $325.67 of $716.00."
notification.subject
string
required
The notification summary text. Usually the same text used for “in-app” or SMS notifications.
Example:
"Monthly Budget Report"
Response
200 - application/json
OK
notification
object
Hide child attributes
notification.channel
enum<string> | null
The way the notification will be delivered to the user.
All notifications created through the API will be of notification type API_NOTIFICATION, channel PUSH, and will not be associated to an entity. No other channels are supported.
Available options:
EMAIL,
SMS,
PUSH,
IN_APP
Example:
"EMAIL"
notification.content
string
The main body of the notification text sent to the user.
Example:
"You're projected to spend $1,920.07 more than you've budgeted for Fees & Charges. You've already spent $325.67 of $716.00."
notification.created_at
string
The date and time the notification was created, represented in ISO 8601 format with a timestamp.
Example:
"2025-02-13T18:08:00+00:00"
notification.deep_link_guid
any
The unique identifier for objects that directly trigger a notification. For example, TRANSACTION_FEE_CHARGE and TRANSACTION_EXPENSE_LARGE notification types will have a transaction guid in this field.
Example:
"BGT-e386a323-e452-47f2-b2fd-1ac3c18533de"
notification.delivered_at
any
Date and time the notification was delivered, represented in ISO 8601 format with timestamp.
Example:
null
notification.entity_guid
any
The unique identifier of the entity that the notification is attached to.
Example:
"BGT-e386a323-e452-47f2-b2fd-1ac3c18533de"
notification.guid
any
Unique identifier for the notification. Defined by MX.
Example:
"NTF-b53294f5-2356-4782-9f81-ae064c42b40a"
notification.has_been_delivered
any
Indicates if the notification has been delivered to the user.
Example:
true
notification.has_been_viewed
any
Indicates if the notification has been viewed by the user.