/mobilePush/updatePushMessage
- 1 Minute to read
- Print
- DarkLight
/mobilePush/updatePushMessage
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback!
Put
/mobilePush/updatePushMessage
Update prepared push message.
Request body example:
{
"messageId" : 1
"name" : "test name",
"appId" : "1585031493269",
"selectionPlanId" : "768E488C-45C2-4A6F-800B-C569586F1DC5",
"content" : "This is iOS test push ",
"messageTitle" : "Hello",
"description" : "description",
"notificationSound" : "sound1.mp3",
"pushActionType" : "LAUNCH_APP",
"pushActionParams" : "www.test.com",
"buttonCategory" : "apx_read_open",
"buttonActionType" : "OPEN_LANDING_PAGE",
"buttonActionParams" : "https://www.google.com/",
"mediaType" : "IMAGE", - optional
"mediaUrl" : "https://staging11.shortest-route.com/qatest/imgproxy/img/110/5ac68ca5498a5.png",
"scheduledTime" : "2020-07-31T12:44:46.966Z",
"timeZone" : "Europe/Budapest"
"messagePriority" : "high"
}
Required parameters: messageId, name, appId, content, messageTitle
pushActionType enum values [LAUNCH_APP, OPEN_LANDING_PAGE, OPEN_DEEP_LINK, OPEN_STORE]
buttonCategory enum values [apx_yes_no_open, apx_acc_dec_open, apx_buy_open, apx_read_open]
buttonActionType enum values [LAUNCH_APP, OPEN_LANDING_PAGE, OPEN_DEEP_LINK, OPEN_STORE]
mediaType enum values [IMAGE, VIDEO]
IMPORTANT: messagePriority (optional) - Please note that this feature is not activated by default. Please contact your Customer Success Manager to request activation.
Body parameters
object
messageId
integer (int64)
status
string
lastModified
string
owner
object (Owner)
firstName
string
lastName
string
email
string
name
string
description
string
appId
string
selectionPlanId
string
content
string
messageTitle
string
notificationSound
string
pushActionType
string
Valid values[ "DISMISS", "LAUNCH_APP", "OPEN_DEEP_LINK", "OPEN_LANDING_PAGE", "OPEN_STORE" ]
pushActionParams
string
buttonCategory
string
Valid values[ "apx_acc_dec_open", "apx_buy_open", "apx_read_open", "apx_yes_no_open" ]
buttonActionType
string
Valid values[ "DISMISS", "LAUNCH_APP", "OPEN_DEEP_LINK", "OPEN_LANDING_PAGE", "OPEN_STORE" ]
buttonActionParams
string
buttonLanguageCode
string
mediaType
string
Valid values[ "GIF", "IMAGE", "MUSIC", "VIDEO" ]
mediaUrl
string
scheduledTime
string
timeZone
string
contentAvailable
boolean
Defaultfalse
silentType
string
silentData
string
customFields
Array of object (CustomField)
object
key
string
value
string
messagePriority
string
archiveOnCompleted
boolean
Defaultfalse
Responses
200
Example response:
{
"messageId": 1,
"messageStatus": "SCHEDULED"
}
object
messageId
integer (int64)
messageStatus
string
errorMessage
string
400
(PushCampaign with messageId=
Was this article helpful?