Actions

Call the updateDraftPost MCP tool

Edit an existing draft/planned/approved/scheduled post: replace the body (content), rename it (topic), and/or move it to a different LinkedIn account (account_id, draft/planned/approved only; unschedulePost a scheduled post first). Pass any combination. Refuses published posts; failed and stuck-publishing posts must go through revertPostToDraft first. Editing a draft/planned/approved post is single-call, no confirmation needed. Editing a SCHEDULED post is two-step: it still auto-publishes to LinkedIn at its existing scheduled time (this never moves that time, only the body that goes out), so the FIRST call (no confirm_token) returns a preview naming the scheduled time and does NOT save anything; call again with the same post_id and content plus confirm_token to actually save the edit.

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

Request

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

post_idstring uuid required
contentstring

The full replacement post body (max 3000 characters, the LinkedIn limit). Optional when only changing topic or account_id.

topicstring
account_idstring uuid

Bind or REASSIGN the publishing account (from getLinkedInAccounts). Works on draft/planned/approved posts; keeps the body, image, and approval.

confirm_tokenstring

Only needed when editing a SCHEDULED post: from that preview response, resend with the same post_id and content to execute. Not needed for draft/planned/approved edits.

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.