API reference

One contract for the complete customer surface.

Customer endpoints are available under /api/v1. The legacy /api prefix remains available to the dashboard, while new server integrations should use the versioned base URL.

163 documented operations11 resource groupsOpenAPI 3.1 machine-readable contract

Authentication boundaries

Product integrations use a workspace API key, which can also read account usage, analytics, and API-key metadata. Billing changes and API-key creation or revocation require the HTTP-only browser session and are labeled accordingly.

Resources

10 operations

Emails and threads

Send, retrieve, search, reply, and inspect delivery events.

8 operations

Labels and filing rules

Organize sent and received mail into folders automatically or by hand.

9 operations

Drafts and attachments

Build composer flows with private attachment storage.

10 operations

Hosted templates

Draft, render, test, version, publish, and send reusable content.

7 operations

Domains

Provision sender identities and understand DNS verification state.

8 operations

Inbound email

Create addresses and work with received conversations.

9 operations

Deliverability

Inspect events, reputation outcomes, and blocked recipients.

10 operations

Webhooks

Receive signed, retried email events (sent, delivered, delayed, bounced, complained, failed, received) at your own endpoints.

47 operations

Campaigns

Store contacts with their consent basis, tags, and custom fields, organize them into lists with hosted double opt-in signup forms, welcome emails, and public newsletter sites, target segments, import and export CSV files, and send, test, and schedule broadcasts with merge tags, per-list one-click unsubscribe, pre-send checks, bot-filtered open and click reports, and per-recipient outcomes.

36 operations

Automations

Record what contacts do as events, and run timed sequences of emails that start on an event, stop when the contact converts, and share per-person sending limits. Create and edit automations, their emails and language versions, turn them on and off, and add or remove people. Available to enabled workspaces.

9 operations

Account and billing

Read account usage, analytics, and key metadata with an API key; billing changes and key creation or revocation require a dashboard session.

Error envelope

JSON errors use one predictable envelope. Status codes distinguish invalid input, authentication, missing resources, conflicts, payment requirements, safety blocks, and usage limits.

Error response
{
  "error": {
    "message": "The sender domain is not verified",
    "status": 403
  }
}

Versioning

The date-based API version identifies this contract. Backward-compatible fields can be added within the version. Breaking changes require a new versioned base path and a documented transition.

Discovery
{
  "version": "2026-09-07",
  "baseUrl": "https://sendhq.cc/api/v1",
  "openapi": "https://sendhq.cc/openapi.json"
}