sayintel
Endpoint

Decide

POST/api/public/v1/decisions/{decision_id}/decidewrite

Act on one decision from list_decisions. action 'primary' on a reply marks the meeting booked (speakers.reply_status = booked); on a row that opens a screen (QA hold, calibration, set aside) it is refused with the href to open instead. action 'dismiss' puts any open row away. Either can be taken back with undo_decision within 12 seconds. Nothing here approves or sends a message.

Request

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

Try it out

Try it outPOST/api/public/v1/decisions/{decision_id}/decidewrite

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

Body

NameInTypeRequiredDescription
actionbodystringprimary | dismissyes—
confirmbodybooleannoOver an OAuth connection this write is staged until confirm=true: the first call returns a preview and the exact call that commits. Token callers run it at once.
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": "decide",
  "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 decide. MCP setup.