Actions

Call the generatePlan MCP tool

Generate a content plan: creates planned post slots (topic + preset publish time) for the coming days. Returns the plan id and its slots. Fill a slot by drafting INTO it with updateDraftPost (post_id = the slot's post_id from this result or getPlanSlots): createDraftPost would orphan a new post and leave the slot empty. Approved slots publish via scheduleSlot at their preset time.

Called through the Actions bridge: the response is that tool's own result, wrapped as { data: <tool result> } under HTTP 200. Billing, daily-cap, and confirm-step outcomes are embedded INSIDE data, never remapped to an HTTP status (see the templated /api/v1/actions/{toolName} operation above for the full protocol, and x-mcp-actions for this tool's machine-readable scope/cap/confirm_behavior fields). Authentication, request-shape, and optional idempotency-protocol failures still use their documented non-200 statuses.

post/api/v1/actions/generatePlan

Request

  • Base URL: https://app.reachium.io
  • URL: https://app.reachium.io/api/v1/actions/generatePlan
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Optional caller-generated key (8-200 characters: letters, digits, dot, underscore, colon, or hyphen). A final tool result is replayed for the same key and body. An ambiguous result remains 409 under that key; reconcile external state before using a new key. Reuse with a different body returns 422.

Request body

linkedin_account_idstring uuid required

Which LinkedIn account to plan for.

posts_per_weekinteger required

How many posts per week.

start_datestring required

Plan start, yyyy-mm-dd.

end_datestring required

Plan end, yyyy-mm-dd (<=90 days from start).

posting_daysstring[]

Defaults to Mon-Thu.

posting_timestring

HH:MM, defaults 09:00.

Response

The result of calling this tool.

dataunknown required
errorunknown required

Changes

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