Endpoint
Create client
POST/api/public/v1/clientswrite
Create a client on this account (an agency's company-we-write-as). Pass the name and, ideally, one_liner, context, differentiators, proof_points, tone_words and banned_phrases: a conference created for a client with no one-liner parks before research until one is added. Refuses a duplicate name. Returns the client; pass its id as client_id to create_campaign.
Request
curl -X POST "https://sayintel.com/api/public/v1/clients" \
-H "Authorization: Bearer $SAYINTEL_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"name": "<name>"}'Try it out
Try it outPOST/api/public/v1/clientswrite
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.
Body
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| name | body | string | yes | — |
| website | body | string | no | — |
| one_liner | body | string | no | — |
| context | body | string | no | — |
| differentiators | body | array | no | — |
| proof_points | body | array | no | — |
| tone_words | body | array | no | — |
| banned_phrases | body | array | no | — |
| suppression_domains | body | array | no | — |
| suppression_emails | body | array | no | — |
| 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": "create_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 create_client. MCP setup.