sayintel
Endpoint

Message team

POST/api/public/v1/campaigns/{campaign_id}/team-messagewrite

Email a short note to the people working on one campaign, from sayintel's own address with your name on it ("<you> via sayintel"); replies go to you. Recipients can ONLY be the campaign's notify recipients (get_campaign_notify_recipients), its owner and the teammates who can see it; omit recipients to message all of them (up to 10). Any other address refuses the whole call and is named. body is plain text up to 4,000 characters, sent as written: blank lines split paragraphs, lines starting with "1." or "-" become a list. button is optional and kept only for an https://sayintel.com link (e.g. the conference room); any other link is dropped and reported. The owner, an Admin, a Member or a conference Editor may send; a viewer may not. A retry with the same idempotency_key never sends twice (without one, the same campaign, recipients and text count as the same message). Over OAuth the first call returns a preview with the recipients and subject. Contacts no prospect; nothing reaches HeyReach or Instantly.

Request

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

Try it out

Try it outPOST/api/public/v1/campaigns/{campaign_id}/team-messagewrite

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
recipientsbodyarraynoAddresses on this campaign to email. Omit to email everyone on it: notify recipients, the owner and teammates who can see the campaign.
subjectbodystringyes—
headingbodystringnoOptional headline above the body.
bodybodystringyes—
buttonbodyobjectnoOptional button; only an https://sayintel.com URL is kept.
confirmbodybooleannoOver an OAuth connection the send is staged until confirm=true: the first call returns a preview and the exact call that commits. Token callers send at once.
idempotency_keybodystringnoRetry guard. Reusing it never emails the same person twice. Omit and the campaign, recipients and text are the key.
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": "message_team",
  "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.
  • Same capability over MCP as the tool message_team. MCP setup.