Create Draft
aidelly_create_draftCreate a draft: work-in-progress content that is saved but never publishes. Requires platform or a non-empty platforms array; draft_planned_for is a planning date only and schedules nothing. Retry-safe: a repeat call with the same idempotency_key returns the original result.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional body override for endpoints with sparse parameter schemas. | |
| text | Yes | Draft content / caption. | |
| query | No | Optional query overrides for endpoints with sparse parameter schemas. | |
| title | No | Draft title (optional). | |
| brand_id | No | ||
| platform | No | Primary platform (e.g., "twitter", "instagram"). Provide `platform` or a non-empty `platforms` array — one of the two is required. | |
| platforms | No | List of platforms (optional, normalizes "x" to "twitter"). | |
| draft_kind | No | Draft composition type (default "post"). | |
| media_urls | No | Media URLs (optional). | |
| workspace_id | No | Workspace to operate in: the `id` of a workspace returned by aidelly_list_workspaces. Optional for read operations; required when creating content. | |
| idempotency_key | Yes | ||
| draft_planned_for | No | ISO 8601 date/time for calendar placement (optional, does not schedule). |