curl --request POST \ --url https://int-api.mx.com/users/{user_guid}/notification_deliverables \ --header 'Accept-Version: <accept-version>' \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "notification_deliverable": { "channels": [ "PUSH", "EMAIL" ], "content": "You are projected to spend $1,920.07 more than you have budgeted for Fees & Charges. You have already spent $325.67 of $716.00.", "deep_link_guid": "BGT-e386a323-e452-47f2-b2fd-1ac3c18533de", "subject": "Monthly Budget Report" }}'
import requests
url = "https://int-api.mx.com/users/{user_guid}/notification_deliverables"
payload = { "notification_deliverable": {
"channels": ["PUSH", "EMAIL"],
"content": "You are projected to spend $1,920.07 more than you have budgeted for Fees & Charges. You have already spent $325.67 of $716.00.",
"deep_link_guid": "BGT-e386a323-e452-47f2-b2fd-1ac3c18533de",
"subject": "Monthly Budget Report"
} }
headers = {
"Accept-Version": "<accept-version>",
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {
'Accept-Version': '<accept-version>',
Authorization: 'Basic <encoded-value>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
notification_deliverable: {
channels: ['PUSH', 'EMAIL'],
content: 'You are projected to spend $1,920.07 more than you have budgeted for Fees & Charges. You have already spent $325.67 of $716.00.',
deep_link_guid: 'BGT-e386a323-e452-47f2-b2fd-1ac3c18533de',
subject: 'Monthly Budget Report'
}
})
};
fetch('https://int-api.mx.com/users/{user_guid}/notification_deliverables', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://int-api.mx.com/users/{user_guid}/notification_deliverables",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'notification_deliverable' => [
'channels' => [
'PUSH',
'EMAIL'
],
'content' => 'You are projected to spend $1,920.07 more than you have budgeted for Fees & Charges. You have already spent $325.67 of $716.00.',
'deep_link_guid' => 'BGT-e386a323-e452-47f2-b2fd-1ac3c18533de',
'subject' => 'Monthly Budget Report'
]
]),
CURLOPT_HTTPHEADER => [
"Accept-Version: <accept-version>",
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://int-api.mx.com/users/{user_guid}/notification_deliverables"
payload := strings.NewReader("{\n \"notification_deliverable\": {\n \"channels\": [\n \"PUSH\",\n \"EMAIL\"\n ],\n \"content\": \"You are projected to spend $1,920.07 more than you have budgeted for Fees & Charges. You have already spent $325.67 of $716.00.\",\n \"deep_link_guid\": \"BGT-e386a323-e452-47f2-b2fd-1ac3c18533de\",\n \"subject\": \"Monthly Budget Report\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Accept-Version", "<accept-version>")
req.Header.Add("Authorization", "Basic <encoded-value>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.post("https://int-api.mx.com/users/{user_guid}/notification_deliverables")
.header("Accept-Version", "<accept-version>")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"notification_deliverable\": {\n \"channels\": [\n \"PUSH\",\n \"EMAIL\"\n ],\n \"content\": \"You are projected to spend $1,920.07 more than you have budgeted for Fees & Charges. You have already spent $325.67 of $716.00.\",\n \"deep_link_guid\": \"BGT-e386a323-e452-47f2-b2fd-1ac3c18533de\",\n \"subject\": \"Monthly Budget Report\"\n }\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://int-api.mx.com/users/{user_guid}/notification_deliverables")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Accept-Version"] = '<accept-version>'
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"notification_deliverable\": {\n \"channels\": [\n \"PUSH\",\n \"EMAIL\"\n ],\n \"content\": \"You are projected to spend $1,920.07 more than you have budgeted for Fees & Charges. You have already spent $325.67 of $716.00.\",\n \"deep_link_guid\": \"BGT-e386a323-e452-47f2-b2fd-1ac3c18533de\",\n \"subject\": \"Monthly Budget Report\"\n }\n}"
response = http.request(request)
puts response.read_body
Use this endpoint to create an API notification (API_NOTIFICATION) and one deliverable for each requested channel.
The deep_link_guid parameter applies only to PUSH deliverables, which require an MX mobile application.
The app and the user must both have every requested channel enabled. If the user has opted out of all notifications, they won’t receive any channel, including IN_APP.
Each channel needs a way to reach the user, such as a verified email address or phone number, or a device that can receive PUSH notifications. If any requested channel can’t be sent, such as if the user’s email address isn’t verified, nothing is created.
POST
/
users
/
{user_guid}
/
notification_deliverables
Create notification deliverables
curl --request POST \ --url https://int-api.mx.com/users/{user_guid}/notification_deliverables \ --header 'Accept-Version: <accept-version>' \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "notification_deliverable": { "channels": [ "PUSH", "EMAIL" ], "content": "You are projected to spend $1,920.07 more than you have budgeted for Fees & Charges. You have already spent $325.67 of $716.00.", "deep_link_guid": "BGT-e386a323-e452-47f2-b2fd-1ac3c18533de", "subject": "Monthly Budget Report" }}'
import requests
url = "https://int-api.mx.com/users/{user_guid}/notification_deliverables"
payload = { "notification_deliverable": {
"channels": ["PUSH", "EMAIL"],
"content": "You are projected to spend $1,920.07 more than you have budgeted for Fees & Charges. You have already spent $325.67 of $716.00.",
"deep_link_guid": "BGT-e386a323-e452-47f2-b2fd-1ac3c18533de",
"subject": "Monthly Budget Report"
} }
headers = {
"Accept-Version": "<accept-version>",
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {
'Accept-Version': '<accept-version>',
Authorization: 'Basic <encoded-value>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
notification_deliverable: {
channels: ['PUSH', 'EMAIL'],
content: 'You are projected to spend $1,920.07 more than you have budgeted for Fees & Charges. You have already spent $325.67 of $716.00.',
deep_link_guid: 'BGT-e386a323-e452-47f2-b2fd-1ac3c18533de',
subject: 'Monthly Budget Report'
}
})
};
fetch('https://int-api.mx.com/users/{user_guid}/notification_deliverables', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://int-api.mx.com/users/{user_guid}/notification_deliverables",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'notification_deliverable' => [
'channels' => [
'PUSH',
'EMAIL'
],
'content' => 'You are projected to spend $1,920.07 more than you have budgeted for Fees & Charges. You have already spent $325.67 of $716.00.',
'deep_link_guid' => 'BGT-e386a323-e452-47f2-b2fd-1ac3c18533de',
'subject' => 'Monthly Budget Report'
]
]),
CURLOPT_HTTPHEADER => [
"Accept-Version: <accept-version>",
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://int-api.mx.com/users/{user_guid}/notification_deliverables"
payload := strings.NewReader("{\n \"notification_deliverable\": {\n \"channels\": [\n \"PUSH\",\n \"EMAIL\"\n ],\n \"content\": \"You are projected to spend $1,920.07 more than you have budgeted for Fees & Charges. You have already spent $325.67 of $716.00.\",\n \"deep_link_guid\": \"BGT-e386a323-e452-47f2-b2fd-1ac3c18533de\",\n \"subject\": \"Monthly Budget Report\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Accept-Version", "<accept-version>")
req.Header.Add("Authorization", "Basic <encoded-value>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.post("https://int-api.mx.com/users/{user_guid}/notification_deliverables")
.header("Accept-Version", "<accept-version>")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"notification_deliverable\": {\n \"channels\": [\n \"PUSH\",\n \"EMAIL\"\n ],\n \"content\": \"You are projected to spend $1,920.07 more than you have budgeted for Fees & Charges. You have already spent $325.67 of $716.00.\",\n \"deep_link_guid\": \"BGT-e386a323-e452-47f2-b2fd-1ac3c18533de\",\n \"subject\": \"Monthly Budget Report\"\n }\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://int-api.mx.com/users/{user_guid}/notification_deliverables")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Accept-Version"] = '<accept-version>'
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"notification_deliverable\": {\n \"channels\": [\n \"PUSH\",\n \"EMAIL\"\n ],\n \"content\": \"You are projected to spend $1,920.07 more than you have budgeted for Fees & Charges. You have already spent $325.67 of $716.00.\",\n \"deep_link_guid\": \"BGT-e386a323-e452-47f2-b2fd-1ac3c18533de\",\n \"subject\": \"Monthly Budget Report\"\n }\n}"
response = http.request(request)
puts response.read_body
The unique identifier for a user, beginning with the prefix USR-.
Body
application/json
notification_deliverable
object
required
Hide child attributes
notification_deliverable.channels
enum<string>[]
required
The channels to deliver the notification on. One deliverable is created for each channel. Duplicate channels are ignored.
Minimum array length: 1
Available options:
EMAIL,
IN_APP,
PUSH,
SMS
Example:
["PUSH", "EMAIL"]
notification_deliverable.content
string
required
The main body of the notification text sent to the user. For SMS the limit is 1,600 characters. For PUSH the limit is 3,928 bytes (UTF-8), and the whole push payload must fit within 4,096 bytes after JSON escaping.
Minimum string length: 1
Example:
"You are projected to spend $1,920.07 more than you have budgeted for Fees & Charges. You have already spent $325.67 of $716.00."
notification_deliverable.subject
string
required
The notification summary text, which may be the same text used for in-app or SMS notifications.
Minimum string length: 1
Example:
"Monthly Budget Report"
notification_deliverable.deep_link_guid
string | null
The unique identifier of the object the mobile application opens when the user selects a PUSH notification. The object type is derived from the guid prefix.
Example:
"BGT-e386a323-e452-47f2-b2fd-1ac3c18533de"
Response
200 - application/json
OK
notification_deliverable
object
required
A notification, the deliverables created for it (one per channel), and its companions.
Hide child attributes
notification_deliverable.deep_link_guid
string | null
required
The unique identifier of the object the mobile application opens when the user selects a PUSH notification.
Example:
"BGT-e386a323-e452-47f2-b2fd-1ac3c18533de"
notification_deliverable.deep_link_type
string | null
required
The type of object identified by deep_link_guid (for example, Offer or Budget). This parameter returns null when there is no value for deep_link_guid.
Example:
"Budget"
notification_deliverable.guid
string
required
The unique identifier for the notification. Defined by MX.
The base fields for a user. Returned as the user companion on related resources such as members, accounts, and transactions, and as the foundation of full user responses.
Hide child attributes
notification_deliverable.user.guid
string
required
The unique identifier for the user. Defined by MX.
Example:
"USR-11141024-90b3-1bce-cac9-c06ced52ab4c"
notification_deliverable.user.id
string | null
required
The unique partner-defined identifier for the user.
Example:
"unique_id"
notification_deliverable.user.metadata
string | null
required
Additional information you can store about the user.
Example:
"some metadata"
notification_deliverable.user.self
string
required
The API URI path for the user.
Example:
"/users/USR-11141024-90b3-1bce-cac9-c06ced52ab4c"
notification_deliverable.mx_record
object
required
Timestamps for when MX created and last updated the record. Returned as the mx_record companion on all resources persisted by MX. These describe the MX record, not the underlying resource at the institution.
Hide child attributes
notification_deliverable.mx_record.created_at
string | null
required
The date and time the resource was created in MX Platform, represented in ISO 8601 format with a timestamp.
Example:
"2025-05-10T18:08:00Z"
notification_deliverable.mx_record.updated_at
string | null
required
The date and time the resource was last updated in MX Platform, represented in ISO 8601 format with a timestamp.
For categories, this field will always be null when is_default is true.