sayintel
Endpoint

Create heyreach campaign

POST/api/public/v1/campaigns/{campaign_id}/heyreach/campaignswrite

Create a HeyReach campaign and lead list for this conference, sending as one LinkedIn account from list_heyreach_senders, and link it. Same core as the campaign page's Create HeyReach campaign button. Refuses when a destination is already linked, or the sender is not on this conference's key. dry_run=true (default) shows the name and the sender and creates nothing. Does not push leads, approve copy, or turn auto-send on or off. Those stay a separate explicit step.

Request

curl -X POST "https://sayintel.com/api/public/v1/campaigns/<campaign_id>/heyreach/campaigns" \
  -H "Authorization: Bearer $SAYINTEL_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"sender_id": <sender_id>}'

Try it out

Try it outPOST/api/public/v1/campaigns/{campaign_id}/heyreach/campaignswrite

Sent as a bearer token to this site only, and kept in this tab's session storage. It is never written to disk or sent anywhere else.

Paste an API key to run.

Path parameters

NameInTypeRequiredDescription
campaign_idpathstringyes—

Body

NameInTypeRequiredDescription
sender_idbodynumberyes—
dry_runbodybooleannotrue (default): show what would change and write nothing. false: do it.
workspacebodystringnoNot accepted on this tool: it acts on your own account, and naming another workspace is refused.
acting_accountbodystringnoWhich sayintel login this call acts on: an account_id or email from list_accounts. Required once logins are linked to this connection.

Response

{
  "ok": true,
  "tool": "create_heyreach_campaign",
  "kind": "write",
  "data": { ... },
  "error": null
}

Notes

  • Scope required: write. How scopes work.
  • Accepts Idempotency-Key. A retry with the same key replays the first result instead of repeating the work.
  • Accepts dry_run: true and always returns cost_preview before spending anything.
  • Same capability over MCP as the tool create_heyreach_campaign. MCP setup.