sayintel
Endpoint

Set client integration key

POST/api/public/v1/clients/{client_id}/integrations/{provider}send

Connect a provider to ONE client workspace: save that client's HeyReach, Instantly or Cal.com API key. The key is checked with the provider first (a rejected key saves nothing), then stored on the client; Instantly and Cal.com also register sayintel's reply/booking webhook. A client that is not this account's is refused; a key is never saved on the account from here. The key is never returned or logged: the result carries the provider, the client's name and the verification time. Send-scoped: a swapped key re-points where that client's outreach goes, so it needs a token minted with the send scope on the Connections page.

Request

curl -X POST "https://sayintel.com/api/public/v1/clients/<client_id>/integrations/<provider>" \
  -H "Authorization: Bearer $SAYINTEL_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"api_key": "<api_key>"}'

Try it out

Try it outPOST/api/public/v1/clients/{client_id}/integrations/{provider}send

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
client_idpathstringyes—
providerpathstringheyreach | instantly | calcomyes—

Body

NameInTypeRequiredDescription
api_keybodystringyes—
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": "set_client_integration_key",
  "kind": "send",
  "data": { ... },
  "error": null
}

Notes

  • Scope required: send. 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 set_client_integration_key. MCP setup.