Using APNS HTTP2 Delivery Channel in a Campaign
Delivery Channels are specified per-message in the campaign editor. To configure a message for APNS, the sending mode must be “SMS Only” and the Delivery Channel should be the APNS Delivery Channel configured above.
In the message content screen, specify a content URL that produces a JSON payload that can be consumed by APNS. Static content or scripted static content URLs may use Connect merge tags.
An example JSON payload is shown below. The "<%[First Name]%>" merge tag will be replaced with the first name from each customer record.
{
"aps"
: {
"alert"
: {
"loc-key"
:
"Dear <%[First Name]%>, %@ has risen to %@"
,
"loc-args"
:[
"HBC"
,
"99"
]},
"badge"
:
42
} }