ocoya_create_post
Creates a draft or scheduled social post in Ocoya. It can also publish immediately when publishNow is true.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
workspaceId | string | Yes | Workspace ID from ocoya_list_workspaces. |
caption | string | No | Post caption text. |
mediaUrls | string[] | No | Optional publicly reachable media URLs. Maximum 5. |
socialProfileIds | string[] | No | Connected social profile IDs to attach to the post. |
scheduledAt | string | No | Optional ISO datetime. Omit to save as draft. |
publishNow | boolean | No | Publish immediately through Ocoya scheduling. |
caption or mediaUrls should be provided.