canonical: https://jentic.com/apis/sendhq.cc/sendhq

# Sendhq Cc SendHQ API

The SendHQ API sends and receives email for a workspace: it sends single messages or batches of up to 100 individualised messages from a verified domain, and receives mail at inbound addresses it provisions on that domain. Received and sent mail can be listed, threaded, labelled, archived, marked as spam or important, and auto-filed by label rules. It also manages sending domains with SES and DNS verification, hosted templates with drafts, test sends, and immutable published releases, composer drafts with attachments, and deliverability data such as 30-day stats, sender reputation, suppressions, and blocked recipients.

## For AI agents

Send and receive email through SendHQ: send single or batch messages, read and label inbound mail and threads, publish hosted templates, verify sending domains, and check suppressions and sender reputation.

## Scope

Does not send SMS, manage marketing contact lists, or host a newsletter editor. Use for sending, receiving, and triaging workspace email on verified domains only.

## Capabilities

- Send a single email with an Idempotency-Key, or up to 100 individualised messages in one batch
- Create inbound addresses on a verified domain and forward an inbox's mail to another address
- Read a conversation thread in order and file messages with labels and auto-filing rules
- Mark received mail as read, archived, important, or spam so SendHQ learns about the sender
- Draft, render, test-send, and publish immutable releases of hosted templates
- Add a sending domain and refresh its SES and DNS verification, including a Domain Connect consent link
- Check 30-day delivery stats, sender reputation, suppressions, and blocked recipients

## Use cases

### AI agent with its own inbox

An agent handling replies needs both a sending address and a place to receive mail. Through Jentic the agent searches for 'create an inbound email address', loads the SendHQ inbox operation, and calls it with domain_id, local_part, and name, with the workspace key injected by your own Jentic One instance. It then lists received mail for that inbox, reads each thread in order, and replies with a single send.

Example prompt: Call POST /inboxes with domain_id, local_part support, and name Support, then poll GET /emails with inbox_id and direction set for received mail and read each with GET `/threads/{id}`

### Hosted template release workflow

Teams that change transactional templates want a preview and test before anything reaches customers. SendHQ keeps a draft per hosted template, renders the exact server output from a data object, sends a test snapshot, and publishes an immutable release. Archived templates can be restored, and the template record shows drafts, releases, and usage.

Example prompt: Call PUT `/templates/{id}/draft` with new content, POST `/templates/{id}/render` with sample data, POST `/templates/{id}/test`, then POST `/templates/{id}/publish`

### Sending domain setup

Before a workspace can send, its domain has to be added and verified. SendHQ adds a sending domain, reports its cached DNS state, detects the authoritative DNS provider and relative record hosts, and can create a Domain Connect consent link for one-click DNS setup. Verification is refreshed against SES and DNS on request, and inbound MX routing is provisioned and verified separately.

Example prompt: Call POST /domains for example.com, then GET `/dns/domain-connect/connect` with the domain_id, and after DNS changes call POST `/domains/{id}/verify`

### Deliverability review

A sender seeing low engagement needs to know whether mail is bouncing or being suppressed. SendHQ returns 30-day delivery statistics, reputation state per exact sender identity, workspace suppressions, and a list of bounces, complaints, and unsubscribes. An eligible bounce suppression can be removed once the address is fixed.

Example prompt: Call GET `/deliverability/stats` and GET /blocked-recipients, then summarise bounce and complaint counts per sender identity from GET `/deliverability/reputation`

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/emails` | Send one email |
| POST | `/emails/batch` | Send up to 100 messages |
| GET | `/emails` | List sent and received email |
| GET | `/threads/{id}` | Retrieve a conversation |
| POST | `/inboxes` | Create an inbound address |
| POST | `/templates/{id}/publish` | Publish a template release |
| POST | `/domains/{id}/verify` | Refresh domain verification |
| GET | `/deliverability/stats` | 30-day delivery statistics |

## Key resources

- **Emails and threads** — Send single and batch email, list and retrieve messages, update read and spam state, and read threads
- **Labels and filing rules** — Labels with message counts, auto-filing rules, and per-email label changes
- **Inbound email** — Inbound addresses, forwarding, and SES inbound provisioning and MX verification per domain
- **Hosted templates** — Template drafts, rendering, test sends, published releases, archive, and restore
- **Domains and DNS** — Sending domains, SES and DNS verification, DNS provider detection, and Domain Connect links
- **Deliverability** — 30-day stats, sender reputation, suppressions, and blocked recipients

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 68 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 98 / 100
  - Developer Experience & Jentic Compatibility: 75 / 100
  - AI-Readiness & Agent Experience: 49 / 100
  - Agent Usability: 92 / 100
  - Security: 55 / 100
  - AI Discoverability: 68 / 100
- **View full report:** https://jentic.com/apis/sendhq.cc/sendhq/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring SendHQ by hand means separating bearer-key operations from the cookie-only account ones, verifying a domain through SES and DNS, and generating an Idempotency-Key for each send. Through Jentic you install once, import SendHQ from the API Directory, store the workspace key once, and your agent calls it.
- **Permission scoping:** SendHQ puts resource ids in the URL path (`/inboxes/{id}`, `/templates/{id}`, `/domains/{id}`), so a rule can pin your agent to one inbox or one template plus the operations you pick. You choose the operations it may call, so destructive ones like DELETE `/domains/{id}` or DELETE `/emails/{id}` are not included unless you add them.
- **Credential handling:** Your SendHQ workspace key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'send an email from my domain' or 'read an email thread', and Jentic returns the matching SendHQ operation with its input schema so the agent calls the right endpoint.

## Related APIs

- **Resend** — Developer-focused transactional email API with domains and audiences
- **Postmark Server API** — Transactional email with message streams, templates, and inbound processing
- **Sendbridge** — Email address verification, mail testing, and DMARC reports

## FAQ

### What authentication does the SendHQ API use?

Per its OpenAPI spec, SendHQ uses two schemes. Most operations take a workspace API key as a bearer token in the `Authorization` header, kept server-side. A handful of account-administration operations, such as creating or revoking API keys, starting a billing checkout, and reading the profile, use the `sendhq_session_v2` browser session cookie instead, so they are not reachable with an API key. Through Jentic the workspace key is stored by your own instance and injected at call time.

### Can I receive email with the SendHQ API?

Yes. Provision inbound receiving on a verified domain with POST `/domains/{id}/inbound/setup` and check MX routing with POST `/domains/{id}/inbound/verify.` Then create an address with POST /inboxes, giving domain_id, local_part, and name, and list received mail with GET /emails filtered by inbox_id. PUT `/inboxes/{id}/forwarding` forwards an inbox's mail to another address.

### What are the rate limits for the SendHQ API?

The OpenAPI spec does not specify rate limits. GET /account reports usage and billing state for the workspace, and current limits are described in the SendHQ docs at https://sendhq.cc/docs.

### Is there a SendHQ MCP server?

You don't need an MCP server to give your agent SendHQ. Jentic connects it directly from the API Directory: import it, store your workspace key once, and your agent finds the send, inbox, and template operations it needs on demand without carrying every definition in its context.

### How do I send an email with SendHQ through Jentic?

Search Jentic for 'send an email from my domain', load POST /emails, and execute it with from, to, subject, html, and text, plus an Idempotency-Key header so a retry does not send twice. Check delivery afterwards with GET `/emails/{id}/events.` To run it on your own infrastructure, install Jentic One from its GitHub repo.

### Can I limit what my agent is allowed to do with the SendHQ API?

Yes. For a support agent, write a rule allowing GET /emails, GET `/threads/{id}`, PATCH `/emails/{id}`, and POST `/emails/{id}/labels`, so it can read, triage, and label mail but cannot send, delete domains, or change templates. Add POST /emails only if it should reply, and every call it makes is logged.
