Update post
Update an existing post. Only draft, scheduled, failed, and partial posts can be edited. Published, publishing, and cancelled posts cannot be modified.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
date-timeRoot-level TikTok settings applied to all TikTok platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence.
Configure automatic post recycling (reposting at regular intervals). After the post is published, the system creates new scheduled copies at the specified interval until expiration conditions are met. Supports weekly or monthly intervals. Maximum 10 active recycling posts per account. YouTube and TikTok platforms are excluded from recycling. Content variations are recommended for Twitter and Pinterest to avoid duplicate flags.
Response Body
application/json
application/json
application/json
curl -X PUT "https://zernio.com/api/v1/posts/string" \ -H "Content-Type: application/json" \ -d '{ "content": "Updated content for our launch post!", "scheduledFor": "2024-11-02T14:00:00Z" }'{
"message": "Post updated successfully",
"post": {
"_id": "65f1c0a9e2b5af0012ab34cd",
"content": "Updated content for our launch post!",
"status": "scheduled",
"scheduledFor": "2024-11-02T14:00:00Z"
}
}{
"error": "Unauthorized"
}{
"error": "Not found"
}