sayintel
Endpoint

Set intel mark

POST/api/public/v1/campaigns/{campaign_id}/markswrite

Pin or hide a box on the Intel OS home for one campaign, mark a side event as going (subject = a side event id ranked for that campaign) or a field note as used. on=false removes the mark. Marks carry the campaign they belong to and never cross rooms.

Request

curl -X POST "https://sayintel.com/api/public/v1/campaigns/<campaign_id>/marks" \
  -H "Authorization: Bearer $SAYINTEL_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"kind": "<kind>", "subject": "<subject>", "on": <on>}'

Try it out

Try it outPOST/api/public/v1/campaigns/{campaign_id}/markswrite

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
campaign_idpathstringyes—

Body

NameInTypeRequiredDescription
kindbodystringpin | hide | going | note_usedyes—
subjectbodystringyes—
onbodybooleanyes—

Response

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