sayintel
Endpoint

Set intent lead selected

POST/api/public/v1/intent-leads/{lead_id}/selectedwrite

Mark an intent lead as selected (true) or excluded (false).

Request

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

Try it out

Try it outPOST/api/public/v1/intent-leads/{lead_id}/selectedwrite

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
lead_idpathstringyes

Body

NameInTypeRequiredDescription
selectedbodybooleanyes

Response

{
  "ok": true,
  "tool": "set_intent_lead_selected",
  "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_intent_lead_selected. MCP setup.