Publishing · Posts

Update post metadata

Updates post metadata.

POSThttps://api.pozy.ai/v1/posts/{postId}/update-metadata
updatePostMetadata

Guides: Create a post, Edit, unpublish and delete, YouTube

Request

Send your API key as Authorization: Bearer pz_live_.... Read-only keys cannot call it. Keys with the publishing resource group disabled get 403 resource_group_disabled. Authentication

Path parameters

NameTypeNotes
postIdrequiredstring

Request body

application/json, required

  • platformstringrequired

    One of youtube.

  • videoIdstring
  • accountIdstring
  • titlestring

    Up to 100 characters.

  • descriptionstring
  • tagsarray of string

    Each item: up to 100 characters.

  • categoryIdstring
  • privacyStatusstring

    One of public, private, unlisted.

  • thumbnailUrlstring (URL)
  • madeForKidsboolean
  • containsSyntheticMediaboolean
  • playlistIdstring

Example

curl -X POST "https://api.pozy.ai/v1/posts/6108a2cc742cb4e991051e0c/update-metadata" \
  -H "Authorization: Bearer $POZY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "platform": "youtube"
}'

Response

200 on success

  • successboolean
  • messagestring
  • videoIdstring
  • updatedFieldsarray of string
200 response
{
  "success": true,
  "message": "Hello from Pozy",
  "videoId": "65fd297a0da74ab358dd11e9",
  "updatedFields": [
    "2026-10-02T09:00:00.000Z"
  ]
}

Errors

Errors use one shape: { error, type, code, param?, details? }. The ones you are most likely to see here:

400invalid_request_errorA parameter or body field is missing or invalid. param names it.
401authentication_errorThe API key is missing, revoked or expired.
403permission_errorThe key is read-only, scoped to other profiles, or has this resource group disabled.
404not_foundNothing with that id exists in your workspace.
429rate_limit_errorToo many requests this minute. Wait for Retry-After seconds.

Every code is listed in Errors.

More in Posts