Actions

Call the generateCampaignCopy MCP tool

Generate the campaign message copy (message 1 sent after connection is accepted, plus a follow-up message 2) using the brand-aware engine. Call this AFTER you know the goal, the target persona, and the brand (via getBrandProfile, or pass company_name/offer inline). Show the returned copy to the user for approval before creating the draft with createDraftCampaign. Writes copy only; it creates no campaign. Pass mode:"inmail" to instead write a cold InMail subject line + body.

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

Request

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

approachstring required

The campaign goal/angle (e.g. "book intro calls").

icpstring required

The chosen target persona / who we are targeting.

proof_pointstring

A concrete result or number, if known.

company_namestring

Override: sender company, when no saved brand.

offerstring

Override: what they do/sell, when no saved brand.

tonestring

Override: tone of voice, when no saved brand.

follow_up_stylestring

Optional follow-up style for message 2.

mode'outreach' | 'inmail'

Copy mode. "outreach" (default) = message 1 (after connection accepted) + follow-up message 2. "inmail" = a COLD InMail subject line + body for people the sender is NOT connected to (permission-based first touch). Use "inmail" ONLY when the campaign uses a Send InMail step.

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.