API reference
1026 operations, generated from the maintained contract. Pick a group.
AI governance
7 · The account's AI policy (read: everyone; change: `ai:manage`), the model registry as the account sees it, the AI audit log (metadata; kept content only for `ai:manage` when the account opted in), ratings and the quality report. Keys need the `account` scope.
Actions
13 · The Universal Action Engine and the Action Center: the catalogue (Record Sender's own actions and the partner platforms' confirmed capabilities; proposed ones are coming soon and never run), suggestions for an email, contact, notification or record found in mail, and the person's own actions — propose, approve with the parameters' hash (any change invalidates an approval), deny, change, execute, cancel, retry. Payments above the account's threshold also need the person's approval in Authpermit (step-up). Actions belong to one person: nobody else sees or decides them. Scopes `actions:read` and `actions:write`.
Activity and insights
13 · The activity feed and its AI digest (docs/activity.md), communication insights (docs/communication-intelligence.md) and the workspace home: notes and pins (docs/workspaces.md). Reads need `activity:read`; changes and AI requests need `meetings:write` (app session tokens have every scope). AI requests are paid in credits (402 `insufficient_credits`); the numbers are free.
Address books
10 · The address books the person may open, sharing at read / edit / manage, auto-merge rules and duplicate scans (docs/contacts.md).
AgentOS
5 · Ask once; the orchestrator routes the request to domain agents (mail, contacts, calendar, documents, knowledge, tasks, money and the partner platforms the person connected), runs one EmailTAG run per domain on the person's AI assistant and composes their answers. Domain agents only read and propose: every action waits in the person's Action Center. AI is paid credits (the cost comes first from `route`); routing and composing are free. Scopes `emailtag:read` / `emailtag:write`.
Agents Hub
5 · Every AI agent the person can reach from Record Sender, in two groups that never mix: our partner agents (Su, Chef Wood, Agent Law, Dr. Heal, AgentTax, AgentLoad, Bond, AI Attorney, Lulu, agentDate) with their honest state, and the person's external assistants (Muse, Instinct — other companies' AI, never partners, with no API Record Sender could call). A question to a connected partner agent is proposed to the Action Center; an external assistant is added one by one.
Assistant
15 · The AI email assistant: summaries, reply drafts, rewrites, extracted commitments, agent proposals a person approves, and notifications (docs/assistant.md).
Billing
11 · The plan, subscription, invoices, billing profile and AI credits. Keys need the `account` scope (app session tokens have every scope). Invoices, the billing profile and the account's usage need `billing:read`; changes and credit purchases need `billing:manage` (403 `billing_forbidden`). Subscriptions renew automatically; there are no refunds.
Blog
3 · Record Sender's Blog, published through its CMS: articles (with their HTML and plain blocks for native apps), categories and tags. Public content, read-only, the same for every key. Scope `learn:read`. Feeds: /blog/feed.xml (RSS) and /blog/atom.xml (Atom).
Brain
5 · The account's Infinite Brain: answers with citations from mail, documents, contacts and memory, hybrid knowledge search, organizational memory and the knowledge graph. AI answers are paid in AI credits.
BrainSync
18 · The person's BrainSync: the federated synchronisation of their Record Sender brain with the independent brains of the partner platforms — never a central brain. Opt-in per platform (mode off, manual, scheduled, event, automatic) and per category (off, references, full; sensitive categories at most references and summaries; private personal mail never). Every synced record carries its provenance (source, authority, knowledge class, ownership, versions, freshness). Conflicts wait for the person; an AI suggestion is paid in AI credits (402 without). A business account's admins set a ceiling. Scopes `brainsync:read` and `brainsync:write`; a key or token acts for its person only.
Calendar
42 · Calendars and their sharing, feeds, subscriptions, ICS import / export; events, answers and attachments; free/busy and find-a-time; rooms and resources; booking pages; calendar settings; invitations found in mail (docs/calendar.md).
Chat
37 · Team chat: channels, DMs and group DMs, messages, threads, reactions, pins, bookmarks, attachments, search, presence, status, guests and the MongooseIM client config. DMs and private channels are their members' only, admins included.
Connections
14 · A person's connections to the partner platforms through Authpermit: several accounts per platform, permission profiles and scopes, the nine lifecycle states, BulkConnect (one Authpermit consent for many platforms, per-platform results, retry), revoke at the provider, Connection Templates. Personal connections are visible only to their person. Scopes `integrations:read` and `integrations:write`.
Contacts
38 · Contacts with every field, folders, categories, lists, relationships, history and restore, photos, the mail timeline, duplicates and merges, imports and exports (docs/contacts.md).
Daily briefing
6 · The key's person's day: mail, tasks, decisions waiting, calendar, money activity and the news — free facts read as the person; an AI summary on request (paid credits, 402 without them); the daily email's settings; and which Digital HQ widgets they show. Scopes `station:read` / `station:write`.
Data exchange
14 · Record Sender connects to the partner platforms without becoming a central store: each platform stays authoritative for its records. The Data Ownership and Authority Registry says, per data domain, who is the source of truth, what Record Sender may hold (none, reference, summary, cached, full), what happens when a connection ends and what an export contains. For the key's person: what is held from each platform, ownership labels and provenance of their own items (another person's item answers 404), sync cursors and health, deletion receipts, removal and exports (a zip of JSON and CSV with provenance, downloaded through a signed link that lasts 5 minutes). Scopes `data_exchange:read` and `data_exchange:write`.
Data fabric
9 · The data catalog (every dataset: whose it is, classification, purpose, legal basis, retention, what an export and an erasure do, where it comes from), lineage, and data products — counts over time from organization datasets (never a person's own data, never rows), versioned, with every read recorded. Scopes `data_fabric:read` / `data_fabric:write`; defining products needs `governance:manage`.
Deliverability
11 · Sending domains (DNS records, DKIM keys, DMARC, MTA-STS, BIMI), sending stats, reputation, bounces, complaints and DMARC reports (docs/deliverability.md).
Developers
44 · Apps and installations, webhook subscriptions and the delivery log, sandboxes, MCP servers, extensions, usage and the AI developer hub. Scope `developers`; an OAuth app's token manages its own webhook subscriptions without it.
Digital HQ and EmailStation
57 · The landing page's summary — every partner platform with the person's own connection and account state and the actions that fit, grouped by Digital HQ group, the person's layout (pinned and hidden apps) and the widgets — and EmailStation: its sections with counts, the transactions, orders and trips found in the person's own mail by free rules (confirm or dismiss them), the sister feeds of a section, spreadsheets and BrainSync's state. A personal mailbox's records are visible only to its owner. Scopes `station:read` and `station:write`.
Docs Emailer
48 · The universal document gateway: channels in (docs addresses, Telenaas numbers, scanners and printers), print jobs, fax / SMS / email sends, suppressions, routing rules, the inbox with its processing results and tasks.
Docs Emailer devices
6 · Called by scanners, POS / thermal printers and the print agent with their own device token (`Authorization: Bearer rsd_…`). A token reaches only its device's jobs and files into its device's inbox.
Documents
5 · The account's stored documents (uploads, attachments, scans), malware-scanned before they are served.
Documents Hub
33 · Documents, spreadsheets and presentations edited in Actionable Docs / Sheets: create, import, export, editor sessions, versions, templates, approvals, signatures, PDF annotations and document AI. A document's `id` is its Files node id; the person's Files levels decide what they may do.
Domains
6 · Custom domains (ownership and mail DNS records) and the account's data region (docs/domains.md, docs/regions.md).
E-sign
19 · Send documents for e-signature on Record Sender's signing engine and show your own screens: envelopes with your `external_ref`, signers in order or in parallel (signer, approver, cc), fields placed on a PDF's pages, signed callbacks (`esign.*`), embedded signing links, the signed PDF and the certificate, verify and erasure. Scopes `esign:read` and `esign:write`. A credential sees the envelopes it made (and its person's own).
Email settings
11 · Email Settings beyond the preferences (`/mail/settings`): the signature each sending address uses for new mail and for replies, importing a SenderStudio design as a signature, a mailbox's blocked and safe senders (they run before the mailbox's rules), and the person's quick steps (several actions on a message in one go). Everything is the person's own, in this account only; a key that acts for no person is refused (403 `no_person`).
EmailTAG
33 · AI team members: their grants, skills, tasks and meetings, runs with their steps, ratings, the skills catalogue and marketplace, oversight and the kill switch. An API key acts as its person: it can ask an agent and propose, but approving an agent's proposal stays a person's.
External apps
3 · Apps that are not our partners, registered by a business account's admin one at a time with the roles they declare. Their key is external:<id>; they carry their own role catalogue for member platform roles and are never offered by BulkConnect, Bulk Account Creation or workspace provisioning.
Federation
16 · Organizations on Record Sender find each other in a directory, make trust agreements (proposed → active → suspended / ended) and share chosen things — their people directory, free/busy, file view links, data products — under a data-sovereignty rule (any region, the same region, or listed regions) checked on every read. Mail scope makes each side's verified domains count as inside for data-leak prevention. Business accounts. Scopes `federation:read` / `federation:write`; `federation:manage` decides changes.
Files
47 · The Files Hub: spaces and group folders, listing, uploads (simple and resumable), downloads, folders, move / copy, Trash, versions, shares, external links, comments, activity, search, the change feed and the Documents inbox. The person's levels (view < comment < edit < manage) decide what each call may do.
Flows
31 · Automation flows: CRUD and flows as code (JSON or YAML definitions), versions, publish and roll back, runs with their steps, test runs, the webhook, credentials (metadata only — a secret goes in once and never comes back), templates, the n8n / JSON importer and process mining.
Global News
3 · What's trending on NaasNews (our news platform) by category — at most 100 stories each, every story linking to its page on naasnews.com — and the weather forecast for a place, only ever from a real provider. Free, no AI, read-only; nothing about the key's person is sent to NaasNews. Scope `station:read`.
Integrations
14 · The partner-platform registry (24 platforms plus Langaat and GuiderMaps) with categories and availability, capability manifests (provider-verified and proposed — a proposed capability never runs) and their versions, the Integration Health Center, connectors and sync jobs. Scopes `integrations:read` and `integrations:write`.
Knowledge
27 · The Knowledge Access API: retrieval, answers, memory and the graph scoped by knowledge space, always as the authenticated person; space management; expert finding and entity timelines; entity resolution; EKEP peers. query, ask, memory, graph, experts and timeline are rate limited per key or person (default 120 a minute).
MCP
2 · Record Sender's MCP server: JSON-RPC 2.0 over Streamable HTTP (protocol 2025-06-18). Tools are listed at /api/v1/developers/mcp/tools and in the portal.
Mail hub
45 · Rules and Sieve, vacation, forwarding, labels, identities, signatures, delegates, shared-inbox threads and notes, snooze, undo send, recall, tracking, read receipts, templates and mail settings (docs/mail.md).
Mail merge
9 · One template with `{{field}}` placeholders sent as an individual message to every row of a Contacts list or an Actionable Sheets sheet (docs/mail-merge.md).
Me
2 · Who the credential acts as: the account, role, scopes, mailboxes and workspaces.
Media header
6 · Every email and chat message box's media header (owner rule 2026-12-04; docs/mail.md "Media header", docs/native.md): voice, video and screen recordings, screenshots, camera photos and videos and uploaded files go into the person's Files Hub (`Mail media` / `Chat media` in My files, on the account's storage — Burmeel by default, or the account's own S3) and the message carries only a link (an external view link honouring the sharing policy, expiry, restricted files and the access log) and a card. No attachment bytes go in the email. `mail:send` or `chat:write`; a key that acts for no person is refused (403 `no_person`).
Meetings and calls
38 · Video meetings (Telenaas rooms) and their hosts' controls, phone calls, call routing and settings, voicemail, recordings and transcripts (docs/meetings.md, docs/calls.md). A seat (`media`) is a Telenaas grant: open `socket_url?token=…&vsn=2.0.0` and `phx_join` the `topic`.
Member platform roles
6 · Each business member's roles on each connected app: our partners' (Performara: buyer, approver, procurement manager, receiving, AP officer; Qualitreo: quality manager, inspector, commercial, …) from their manifests, and an external app's own. Nothing stored means the derived default from the member's Record Sender role, so nothing changes until an owner or admin edits. Changes are sent to the app at once over the same signed provisioning path, audited, and shown with their sync state. Spending and approval limits stay in each app.
Message box
3 · What every email and chat message box offers (owner rule 2026-12-04; docs/assistant.md "AI writing and voice in every message box"), for the native apps' boxes: AI writing (write, reply, rewrite, shorten, expand, fix grammar, tone, translate), speech to text, and the emoji rail's dataset. AI is paid in AI credits (402 without them). It writes text for the box and never sends anything. A key that acts for no person is refused (403 `no_person`).
Messages
6 · Reading a mailbox, sending mail, marking messages read or flagged (docs/mail.md).
Mobile account
23 · The signed-in person in the native apps (`/api/mobile/v1`, an app session token only): who am I, the account and workspace switchers, the browser hand-off, two-step sign-in, phone keys, passkeys and every signed-in device. Errors are flat `{error: <code>, message}`; 429 `locked` carries `retry_after` and a `Retry-After` header.
Mobile navigation
1 · The native apps' drawer and bottom navigation (`/api/mobile/v1`, an app session token only) — the web drawer's own tree and the web's phone tab bar, so the order, labels, icons and levels never drift.
Mobile sign-in
13 · Passwordless sign-in for the native apps (`/api/mobile/v1/auth/*`): email PIN or magic link (either signs up a new address), passkeys, phone keys (Face ID / fingerprint, pattern, phone PIN), Authpermit Authorizer and the two-step (authenticator) step. Every sign-in takes `app` (`user` | `business`) or `kind` (`individual` | `business`), optionally `account_id` and a `device` object, and ends in a Bearer session token that also works on `/api/v1` and `/mcp`. A first factor for somebody with two-step sign-in on answers `second_step_required` instead of a token. Errors here are flat: `{error: <code>, message: <a sentence to show>}` (+ extra fields such as `remaining`, `retry_after`, `account_type`); 409 `wrong_account_type` when the person has no account of the app's kind; 429 `locked` with a `Retry-After` header. Limits: 30 / 10 min per IP and 10 / 10 min per identifier.
Money
5 · Pay, send and receive with the person's Malaleem wallet: what Malaleem lets Record Sender do now (each action's state, and the Malaleem endpoint that's missing when it doesn't), the recent money activity, and proposals to the Action Center. Nothing moves from here: the person confirms each payment in Record Sender, and Authpermit approves it as the owner's rule says (above the account's threshold today).
Native pages
19 · What a web page shows, as JSON, for the same person — the Graph page (laid out by the server), the Infinite Brain's side and its chat, Memory, Microbrains, a business's Administration pages (account overview, members, organization, workspaces, shared mailboxes, the sending policy, the audit log) and a certificate's check. Nothing more than the page shows. These are a person's pages: a key that acts for no person (an integration's key) is refused with 403 `no_person`.
Notifications
20 · The Notification Hub: the signed-in person's notices in the credential's account, read pointers, preferences, mutes, the account's defaults, push devices and test pushes. Every call is about a person: a key without one gets 403 `person_required`.
OAuth
12 · The OAuth 2.1 authorization server: authorization code + PKCE, refresh rotation, client credentials, the device grant, revocation and introspection. Errors are RFC 6749 `{error, error_description}`.
Partner accounts
17 · A person's accounts on the partner platforms (the Sister Identity Registry), Bulk Account Creation — one Authpermit consent of kind account for several apps, each app's terms version, per-platform results, partial success, retry — and Universal Workspace Provisioning: an admin asks a workspace's members, each member consents for themselves. Personal accounts are visible only to their person. Scopes `integrations:read` and `integrations:write`.
Privacy
9 · The key's own person's GDPR rights in this account: a copy of their data (Art. 15, 20; a zip of JSON, kept 7 days), erasure (Art. 17; scheduled 7 days ahead and cancellable, waits while a legal hold covers the data), consents (Art. 7; an append-only ledger) and what the account keeps about them (the data catalog). Scopes `privacy:read` / `privacy:write`.
Readers
1 · Physical fingerprint / hand / face readers. Each submission is an AuthpermitScanners `Device` envelope signed with the reader's HMAC key; signature, clock and replay are checked first. Answers `{outcome, message}`.
Retention and legal holds
12 · Retention policies (delete or archive mail after N days) and legal holds with their exports (docs/retention.md).
School
12 · The Record Sender School for the key's person: free courses on Record Sender itself, lessons, quizzes and exams graded at once, certificates with a public verification code, and each course's AI teacher — paid from the key account's prepaid AI credits (its price is in GET …/tutor first; 402 when empty, nothing charged). Reads `learn:read`, learning `learn:write`; progress is the person's own.
Search
10 · One search across mail, contacts, calendar, files, documents, chat, meetings, tasks and people; suggestions as you type; saved and recent searches (the person's own); content-free analytics. Permission filtering happens inside every domain's query.
Security and governance
25 · The compliance report, rule-based data-leak prevention (free; no AI reads anything), the tamper-evident hash-chained audit trail and its signed anchors, SIEM export (signed NDJSON / CEF download and HTTPS forwarding), the account's own encryption keys (rotate, destroy retired versions), device trust and the secrets inventory. Counts and metadata only — never a person's mail or files. Scopes `governance:read` / `governance:write`; the role decides (`governance:manage`, or `audit:read` to read).
SenderStudio
20 · Record Sender's own design studio for email templates, signatures and email graphics: designs made of blocks (`doc`), the email-client-safe HTML (tables and inline styles, sanitised) and plain text made from them, versions, export, sharing and locking in a business, **use as template** (a Compose template) and **use as signature** (an Email Settings signature), the starters, the brand kit and the paid AI. Everything is the person's, in this account only (personal and business never cross); a key that acts for no person is refused (403 `no_person`).
Sessions
1 · Signing an app out.
Shopping lists
10 · The key's person's shopping lists — Record Sender's own (weekly groceries, a party, the office…), never another person's, kept when a food platform is disconnected. Items are typed, read from an email, a ChefWood recipe or an earlier order; FoodByNation finds them (read only) and sending them to the basket is an action the person confirms. Each list and item carries a `version` for devices that work offline. Scopes `station:read` and `station:write`.
Storage
4 · Where the account's files are stored (Burmeel or the account's own S3 bucket), usage, quota and moving files. Changes need `storage:manage`; secrets are never answered.
Sync
1 · Delta sync for local-first clients: everything changed since a cursor (`server_time`).
Verify
4 · Email verification (deliverability, disposable, role, accept-all) and the suppression list.
eDiscovery
11 · Two-person-approved exports of employees' own mailboxes under an active legal hold (business accounts, docs/retention.md "eDiscovery").