latestOpenAPI 3.0.32026-08-23410223.0 KB
c93447ba6b9d
publishing
Updates a scheduled post. The post must be in scheduled state to be updated. You can update the scheduled time or change the post contents.
Updates a scheduled post by ID. You can update the draft content, the scheduled time, or both. The scheduled time must be a valid ISO 8601 date in the future. When the scheduled time is changed, the post is re-queued for publishing at the new time.
patch/v2/schedules/{id}
Path parameters
idstring required
The ID of the schedule to update.
Request body
Example request
{
"patch": {
"draft": {
"accountId": "1",
"content": {
"text": "My text",
"mediaUrls": [
"https://database.blotato.io/some-image-path.jpg"
],
"platform": "twitter",
"additionalPosts": [
{
"text": "My text",
"mediaUrls": [
"https://database.blotato.io/some-image-path.jpg"
]
}
]
},
"target": {
"targetType": "webhook",
"url": "https://example.com/webhook"
}
}
}
}Response
Default Response
object required