posts
Update post
Update an existing post. Only draft, scheduled, failed, and partial posts can be edited. Published, publishing, and cancelled posts cannot be modified.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
postIdstring
content?string
scheduledFor?string
Format
date-timetiktokSettings?
Root-level TikTok settings applied to all TikTok platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence.
[key: string]?any
Response Body
application/json
application/json
application/json
curl -X PUT "https://getlate.dev/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"
}
}Empty
Empty
{
"error": "Unauthorized"
}Empty
{
"error": "Not found"
}