posts
Update post metadata
Updates metadata of an already-published post on the specified platform without re-uploading the media. Currently only supported for YouTube videos (title, description, tags, category, privacy status). The post must have "published" status on the target platform. At least one updatable field is required.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
postIdstring
platformstring
The platform to update metadata on
Value in
"youtube"title?string
New video title (max 100 characters for YouTube)
Length
length <= 100description?string
New video description
tags?array<string>
Array of keyword tags (max 500 characters combined for YouTube)
categoryId?string
YouTube video category ID
privacyStatus?string
Video privacy setting
Value in
"public" | "private" | "unlisted"Response Body
application/json
application/json
application/json
curl -X POST "https://zernio.com/api/v1/posts/string/update-metadata" \ -H "Content-Type: application/json" \ -d '{ "platform": "youtube", "title": "Updated Video Title", "description": "New SEO-optimized description", "tags": [ "seo", "marketing", "tutorial" ] }'{
"success": true,
"message": "Video metadata updated on youtube successfully",
"updatedFields": [
"title",
"description",
"tags"
]
}Empty
{
"error": "Unauthorized"
}Empty
{
"error": "Not found"
}Empty