Set client integration key
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
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.
Path parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| client_id | path | string | yes | — |
| provider | path | stringheyreach | instantly | calcom | yes | — |
Body
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| api_key | body | string | yes | — |
| workspace | body | string | no | Not accepted on this tool: it acts on your own account, and naming another workspace is refused. |
| acting_account | body | string | no | Which 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.