Edit a draft or scheduled post
Replaces an editable post. Drafts remain drafts with saveAsDraft=true, publish immediately with publishNow=true, or become scheduled with scheduledFor. Scheduled posts keep their schedule.
/v1/posts/{postId}Authorization
accessKey In: header
Path Parameters
Post identifier
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/posts/string" \ -H "Content-Type: application/json" \ -d '{ "content": "string", "platforms": [ { "platform": "twitter", "accountId": "string" } ] }'{
"success": true,
"status": "draft",
"scheduledFor": "2019-08-24T14:15:22Z",
"postId": "string",
"platforms": [
{
"platform": "twitter",
"success": true,
"platformPostUrl": "string",
"error": "string",
"warningMessage": "string"
}
]
}{
"success": true,
"status": "draft",
"scheduledFor": "2019-08-24T14:15:22Z",
"postId": "string",
"platforms": [
{
"platform": "twitter",
"success": true,
"platformPostUrl": "string",
"error": "string",
"warningMessage": "string"
}
]
}{
"success": true,
"message": "string"
}{
"success": true,
"message": "string"
}{
"success": true,
"message": "string"
}{
"success": true,
"message": "string"
}{
"success": true,
"message": "string"
}{
"success": true,
"message": "string"
}