# API reference

Every command as an HTTP request: its fields, who may call it, and what it answers.

Every command is one request: `POST /v1/<command id>` with a JSON body `{ "input": { … } }`. The answer is `{ "ok": true, "data": … }`, or `{ "ok": false, "error": { "code", "message" } }`. An SDK signs every request with your key: [Authentication](https://mailset.app/docs/authentication.md). To sign one yourself, see [Calling the API without an SDK](https://mailset.app/docs/authentication/http.md). The whole reference is also one OpenAPI 3.1 file: https://mailset.app/openapi.json

## Product email

- [Messages](https://mailset.app/docs/api/messages.md): Send email: whole messages from your product, or a person’s own.
- [Delivery](https://mailset.app/docs/api/delivery.md): Find what became of a message, recipient by recipient.
- [Event hook](https://mailset.app/docs/api/hooks.md): The webhook that hears what became of your product’s email.
- [Unsubscribes](https://mailset.app/docs/api/unsubscribes.md): Who opted out of a mailbox’s or sending domain’s promotional email.
- [App keys](https://mailset.app/docs/api/keys.md): The keys your product’s servers hold, and what each one may do.
- [Key status](https://mailset.app/docs/api/grants.md): What the key making a call may do, and when it stops.
- [API tokens](https://mailset.app/docs/api/tokens.md): A person’s own login for scripts.
- [Codes](https://mailset.app/docs/api/codes.md): The newest one-time code an address received.

## Campaigns and inbound

- [Sending domains](https://mailset.app/docs/api/sending.md): Sending-only subdomains, their suppressions, and your org’s limits.
- [Campaigns](https://mailset.app/docs/api/campaigns.md): Bulk email from a sending domain, and its event hook.
- [Inbound routes](https://mailset.app/docs/api/routes.md): Email to a subdomain, delivered to your webhook.

## Domains

- [Domains](https://mailset.app/docs/api/domains.md): Add a domain, check its records, and set its policies.
- [DNS connection](https://mailset.app/docs/api/dns.md): Let Mailset write the records in your own DNS account.
- [Postmaster](https://mailset.app/docs/api/postmaster.md): How Gmail sees each of your domains.
- [Senders](https://mailset.app/docs/api/senders.md): Photos for the addresses you send from, and who writes to you.

## Mailboxes

- [Mailboxes](https://mailset.app/docs/api/mailboxes.md): Create mailboxes, and decide who holds each one.
- [Aliases](https://mailset.app/docs/api/aliases.md): More addresses for one mailbox, catch-alls included.
- [Groups](https://mailset.app/docs/api/groups.md): One address that reaches several mailboxes.
- [Delegates](https://mailset.app/docs/api/delegates.md): Let a teammate read and send from your mailbox.
- [Forwarding](https://mailset.app/docs/api/forwarding.md): Send a mailbox’s new email on to another address.
- [Vacation replies](https://mailset.app/docs/api/vacation.md): The reply people get while you are away.
- [Imports](https://mailset.app/docs/api/imports.md): Copy a mailbox’s email over from a Google account.
- [Mailbox pictures](https://mailset.app/docs/api/avatars.md): The picture a mailbox shows inside Mailset.
- [Default address](https://mailset.app/docs/api/addresses.md): The address your new email goes out from.

## Email

- [Conversations](https://mailset.app/docs/api/threads.md): List, search, read and file conversations.
- [Drafts](https://mailset.app/docs/api/drafts.md): Save a draft, attach files, and throw one away.
- [Attachments](https://mailset.app/docs/api/attachments.md): Download a file from a message.
- [Labels](https://mailset.app/docs/api/labels.md): Your own labels for conversations.
- [Rules](https://mailset.app/docs/api/rules.md): File, label or forward new email as it arrives.
- [Tab rules](https://mailset.app/docs/api/tabrules.md): Always file a sender or a domain in one inbox tab.
- [Blocked senders](https://mailset.app/docs/api/blocks.md): Discard a sender’s new email before it is stored.
- [Notes](https://mailset.app/docs/api/notes.md): A note in a shared conversation, for the team only.
- [Follow-ups](https://mailset.app/docs/api/followups.md): Email you sent that still waits for an answer.
- [Contacts](https://mailset.app/docs/api/contacts.md): Your address book: add, merge, import and export.
- [AI](https://mailset.app/docs/api/ai.md): Summaries, drafts and sorting, and what runs them.

## Organization

- [Organizations](https://mailset.app/docs/api/orgs.md): The orgs you are in, and an org’s name.
- [Members](https://mailset.app/docs/api/members.md): Invite people, change roles, and remove someone.
- [Invites](https://mailset.app/docs/api/invites.md): Invites nobody has accepted yet.
- [Policies](https://mailset.app/docs/api/policies.md): The org’s rules on forwarding and sessions.
- [Billing](https://mailset.app/docs/api/billing.md): The plan, this month’s use, and the prepaid balance.
- [Audit log](https://mailset.app/docs/api/audit.md): What happened in an org, and who did it.
- [Paper key](https://mailset.app/docs/api/paperkey.md): The org’s way back in when every passkey is lost.

## Your account

- [Who am I](https://mailset.app/docs/api/whoami.md): Who a credential signs in as.
- [Settings](https://mailset.app/docs/api/settings.md): Your own preferences, on every device.
- [Devices](https://mailset.app/docs/api/devices.md): Where you are signed in, and signing a device out.
- [Passkeys](https://mailset.app/docs/api/passkeys.md): The passkeys that sign you in.
- [Notifications](https://mailset.app/docs/api/push.md): The devices that get push notifications.
- [Activity](https://mailset.app/docs/api/activity.md): What your account has done lately.
- [Storage](https://mailset.app/docs/api/storage.md): How much email each of your mailboxes holds.
- [Exports](https://mailset.app/docs/api/exports.md): A copy of your whole account, to download.
- [Account](https://mailset.app/docs/api/account.md): Deactivate or delete your own account.

---

© 2026 Intenseloop, Inc. Mailset’s site, docs and guides are copyrighted. You may read them and use their code to build with Mailset. Don’t republish them or use them to build a copy of Mailset. Terms: https://mailset.app/terms#content