Set target book
Change a client's target book. actions, applied in order: {op:"confirm", ids?, kind?} keeps entries (no ids: every suggested one, of that kind when given, which is "keep all"); {op:"remove", ids?, kind?} removes them (no ids: every suggested one, which is "skip": their weight moves and Q does not ask again); {op:"edit", id, name?, domain?} corrects one and confirms it; {op:"add", kind, names:[{name, domain?}]} adds confirmed entries. csv adds companies with the upload_company_list parser (a Company header, or one per line). Ids outside this client's book are refused. Never writes the ICP. Re-scores the client's latest scout from data already held (free) and returns the next move. client_id is required on a login with agency clients.
Request
curl -X POST "https://sayintel.com/api/public/v1/conference-scouts/target-book" \
-H "Authorization: Bearer $SAYINTEL_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'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.
Body
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| client_id | body | string | no | — |
| actions | body | array | no | — |
| csv | body | string | 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": "set_target_book",
"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 set_target_book. MCP setup.