Parameters

NameTypeRequiredDescription
brandIdstringYesBrand ID from ocoya_list_brands.
postGroupIdstringYesOcoya post group ID.
captionstringNoNew caption to apply to existing post variations.
scheduledAtstring or nullNoISO datetime to schedule the post, or null to make it unscheduled.
publishNowbooleanNoPublish the existing post immediately without creating a new post.
mediaUrlsstring[]NoFull replacement set of publicly reachable image or video URLs. Maximum 10. Use an empty array to remove all media.
addMediaUrlsstring[]NoPublicly reachable image or video URLs to append without removing existing media. Maximum 10 total.
clearMediabooleanNoRemove all media from the post. Ignored when mediaUrls is provided.
socialProfileIdsstring[]NoFull replacement set of connected social profile IDs from ocoya_list_social_profiles.
addSocialProfileIdsstring[]NoConnected social profile IDs to append without removing profiles already attached to the post.

Request example

{
  "name": "ocoya_update_post",
  "arguments": {
    "brandId": "cmayvq3hk00017apshay5qezu",
    "postGroupId": "cmajvvb9q0003ja5vh0538j6r",
    "addSocialProfileIds": ["clh49poxf008x8kov4ncbjty9"],
    "scheduledAt": "2026-07-01T09:00:00Z"
  }
}

Returns

Returns post action details such as post group ID, status, and schedule.