Update Scheduled Messages
POST https://{{instance_url}}/messages/schedule/update
The messages update schedule endpoint accepts updates to either the schedule
or messages
parameter or both. Your request must contain at least one of those two keys.
Request Parameters
Parameter | Required | Data Type | Description |
---|---|---|---|
schedule_id | Required | String | The schedule_id to update (obtained from the response to create schedule) |
schedule | Optional | Object | See schedule object |
messages | Optional | Object | See available message object |
Request Components
Available Messaging Objects
- Android Objects
- Apple Objects
- Content Cards Object
- Email Object
- Kindle or FireOS Object
- SMS Object
- Web Objects
- Webhook Object
- Windows Objects
Request Body
{"schedule_id"=>"schedule_identifier", "schedule"=>{"time"=>"2017-05-24T20:30:36Z"}, "messages"=>{"apple_push"=>{"alert"=>"Updated Message!", "badge"=>1}, "android_push"=>{"title"=>"Updated title!", "alert"=>"Updated message!"}, "sms"=>{"subscription_group_id"=>"subscription_group_identifier", "message_variation_id"=>"message_variation_identifier", "body"=>"This is my SMS body.", "app_id"=>"app_identifier"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Authorization | string |