Parameters
| Name | Type | Required | Description |
|---|---|---|---|
brandId | string | Yes | Ocoya brand id from ocoya_list_brands. |
caption | string | No | The post’s text, as it should appear. Hashtags and links go in it too. The same text goes to every channel; Ocoya checks each network’s length limit. To tag a LinkedIn company Page, put the mention from ocoya_find_linkedin_company in the caption, written as @[Exact Page Name](urn:li:organization:<id>), or write @https://www.linkedin.com/company/<vanity> to have it looked up when the post publishes. LinkedIn shows a tag; other networks show “@Name”. Internal beta: not every brand can tag yet. |
mediaUrls | string[] | No | Optional public image or video URLs (https), copied into Ocoya. Maximum 10; several images make a carousel where the network has one. |
videoThumbnailUrl | string | No | Optional public image URL (https) to use as the cover of the video in mediaUrls, e.g. a Video Studio video’s thumbnailUrl. Instagram shows it as the Reel’s cover. |
channelIds | string[] | No | Channel ids from ocoya_list_channels to post to. Needed to schedule or publish; a draft can have none. |
scheduledAt | string | No | Optional ISO datetime in the future to publish at (e.g. 2026-12-01T09:30:00Z, or with an offset like 2026-12-01T10:30:00+01:00). Omit to save a draft. |
publishNow | boolean | No | Publish to the channels right away instead of saving a draft. Needs the posts:publish scope. |
options | object | No | Per-network settings, keyed by network. Each applies only when the post has a channel on that network; on update only the fields sent change. |
approvers | string[] | No | Optional email addresses of brand members to approve the post before it goes out, as ocoya_request_post_approval: the post is saved as Pending approval and goes out at scheduledAt only once approved. Not with publishNow. |
Request example
{
"name": "ocoya_create_post",
"arguments": {
"brandId": "cmayvq3hk00017apshay5qezu",
"caption": "Launching our summer campaign today.",
"channelIds": ["clh49poxf008x8kov4ncbjty9"],
"scheduledAt": "2026-07-01T09:00:00Z"
}
}Returns
Returns postGroupId, status, scheduledAt and approval. This tool creates content, which can reach your connected networks once it publishes.