sayintel
Endpoint

Update client

POST/api/public/v1/clients/{client_id}write

Change a client. Only the fields you pass change; an empty string is refused rather than written. List fields (differentiators, proof_points, tone_words, banned_phrases, suppression_*) REPLACE the stored list. The change is pushed into this client's live campaigns' positioning.

Request

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

Try it out

Try it outPOST/api/public/v1/clients/{client_id}write

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—

Body

NameInTypeRequiredDescription
namebodystringno—
websitebodystringno—
one_linerbodystringno—
contextbodystringno—
differentiatorsbodyarrayno—
proof_pointsbodyarrayno—
tone_wordsbodyarrayno—
banned_phrasesbodyarrayno—
suppression_domainsbodyarrayno—
suppression_emailsbodyarrayno—
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": "update_client",
  "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 update_client. MCP setup.