Actions

Call the draftPost MCP tool

Draft a LinkedIn post from a topic with the house copywriting engine, grounded in the brand profile. It spends credits (check the balance with getCreditBalance). Creates a DRAFT only: it never schedules or publishes. Returns post_id, the draft body and the artifact ids of the editable copy (read or revise them with getArtifact / updateArtifact, sending back the version you read). Pass post_id to draft INTO an existing planned slot from generatePlan instead of creating a new post; hook steers the angle; account_id attributes the draft. Edit with updateDraftPost, approve with approvePost, schedule with schedulePost.

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/draftPost

Request

  • Base URL: https://app.reachium.io
  • URL: https://app.reachium.io/api/v1/actions/draftPost
  • 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

topicstring

What the post should be about, in a sentence or two. Required when creating a new draft; optional when drafting into an existing planned slot via post_id (topic can come from the slot).

hookstring

Optional angle/hook direction for the post.

account_idstring uuid

Optional LinkedIn account UUID to attribute the draft to (use one returned by getLinkedInAccounts). Omit if unknown.

idea_idstring uuid

Optional: an existing idea id from getContent or generateIdeas to draft from.

post_idstring uuid

Draft into an EXISTING planned slot (from generatePlan / the calendar) instead of creating a new ad-hoc draft. Omit for a normal new draft.

Response

The result of calling this tool.

dataunknown required
errorunknown required

Changes

No recorded changes to this operation across all 3 revisions of this API.