write

Create a content plan

Saves a content plan for a channel in AwrAiter, for requests like 'create a content plan', 'make a plan for the channel' or 'draft a posting schedule'. A plan saved here appears in the team's panel and calendar; a plan written only in chat does not. Creates the plan as a draft: config + a deterministic grid of empty slots, each seeded with a topic-hook you write. slotsCount = daysOfWeek.length * postsPerDay * periodInWeeks; pass exactly slotsCount hooks (one topic per slot) plus at least one rubric name. The server writes no copy and spends no AI — hooks/rubrics are yours. Slots are created empty (state 'idle'); fill them afterwards with the fill-slots flow. Fails if a plan already exists for the channel.

post/api/v1/create_content_plan

Request

  • Base URL: https://awraiter.ai
  • URL: https://awraiter.ai/api/v1/create_content_plan
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Retry key (≤ 200 characters). A repeated call with the same key returns the first call's result instead of acting twice. Without it the server hashes the arguments, which catches retries but treats a deliberate repeat within 24 hours as one too.

Request body

channelIdnumber required
daysOfWeeknumber[] required
postsPerDaynumber required
periodInWeeksnumber required
startDatestring required
hooksstring[] required
rubricsstring[] required
channelThemestring
targetAudiencestring
blockedKeywordsstring
masterPromptstring
zonestring
enableEmojiboolean
enableContextboolean

Response

The tool's result in data.

okunknown required
dataobject required

Not declared by the tool yet; treat the shape as informational.

Changes

No recorded changes to this operation across all 1 revision of this API.