sayintel
Endpoint

List messages

GET/api/public/v1/messagesread

List drafted/sent messages across a campaign, with QA fields (qa_score, qa_evaluated_at, needs_human, needs_redo). A row with superseded_at set is PARKED: a repair/redraft pass rejected it and the drafter will overwrite it in place (redo_reason says why); it is not a live draft. Filter by sent. Paginated: pass next_cursor while has_more is true.

Request

curl "https://sayintel.com/api/public/v1/messages?campaign_id=<campaign_id>" \
  -H "Authorization: Bearer $SAYINTEL_TOKEN"

Try it out

Try it outGET/api/public/v1/messagesread

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.

Query parameters

NameInTypeRequiredDescription
campaign_idquerystringyes—
sentquerybooleanno—
limitquerynumberno—
cursorquerystringnoOpaque cursor from a previous call's next_cursor. Omit for the first page.
workspacequerystringnoOptional. Read this call against another account you belong to: pass the workspace_id that list_workspaces returns. Omit to use your own account. Refused for accounts where you hold only a client or conference seat.
acting_accountquerystringnoWhich 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": "list_messages",
  "kind": "read",
  "data": { ... },
  "error": null
}

Notes

  • Scope required: read. How scopes work.
  • Paginated. Pass the returned next_cursor while has_more is true.
  • Same capability over MCP as the tool list_messages. MCP setup.