canonical: https://jentic.com/apis/smtpfa.st/smtpfa

# SMTPfast API

The SMTPfast API sends transactional email, single or in batches, with optional scheduling through scheduled_at, templates, attachments and tags, and records every delivery event in a searchable log. It also receives inbound mail into inboxes with threads, labels and drafts so a caller can read, reply to and forward messages, and it runs marketing broadcasts to contact segments with suppressions, signup forms and click tracking. Sending domains, API keys, webhooks with delivery replay, team members and analytics are all managed through the same bearer-authenticated surface.

## For AI agents

Send and schedule transactional email, read and reply to inbound mail in inboxes, run broadcasts to contact segments, and inspect delivery logs, metrics, and webhooks on SMTPfast.

## Scope

Does not handle SMS, push notifications, or calendar invitations. Use for sending, receiving, and tracking email and email broadcasts only.

## Capabilities

- Send an email with POST `/v1/emails` using from, to, subject, html or text, attachments, tags, and an optional scheduled_at
- Reschedule or cancel a scheduled email through PATCH `/v1/emails/{id}` and POST `/v1/emails/{id}/cancel`
- Search delivery events by recipient, domain, tag, or type with GET `/v1/logs`
- Read inbound mail and reply in-thread using GET `/v1/inboxes/{inbox_id}/threads` and the thread email reply operation
- Send or schedule a broadcast to a contact segment with POST `/v1/broadcasts/{id}/send` after a POST `/v1/broadcasts/{id}/test`
- Suppress addresses in bulk with POST `/v1/suppressions/batch/add`
- Replay a missed webhook event via POST `/v1/webhooks/{id}/events/{event_id}/replay`

## Use cases

### AI agent sending and tracking transactional email through Jentic

An application agent connected through Jentic searches for 'send a transactional email', receives the sendEmail operation with its schema, and posts the recipient, subject and html body with an Idempotency-Key so retries never send twice. It then reads GET `/v1/emails/{id}` or filters GET `/v1/logs` by email_id to confirm delivery, giving the agent a factual answer when a user asks whether their email arrived.

Example prompt: Search Jentic for 'send a transactional email', call POST `/v1/emails` with from 'hello@example.com', to 'ada@example.org', subject 'Reset your password' and an html body, then call GET `/v1/logs` with email_id set to the returned id to confirm delivery

### Shared support inbox triage

Teams that receive customer mail at a support address can run it through an SMTPfast inbox. GET `/v1/inboxes/{inbox_id}/threads` lists threads with folder, label and query filters, the thread email reply and forward operations answer or escalate a message, and PATCH `/v1/inboxes/{inbox_id}/threads/{thread_id}` files a thread into a folder or applies a label once it is handled.

Example prompt: Call GET `/v1/inboxes/{inbox_id}/threads` with folder 'inbox' for the support inbox, read the newest thread's emails, reply with POST `/v1/inboxes/{inbox_id}/threads/{thread_id}/emails/{email_id}/reply`, then apply the 'answered' label with PATCH `/v1/inboxes/{inbox_id}/threads/{thread_id}`

### Product update broadcasts to a segment

Marketing teams draft a broadcast with POST `/v1/broadcasts`, preview who will receive it with GET `/v1/broadcasts/audience`, send a test with POST `/v1/broadcasts/{id}/test`, and then send or schedule it with POST `/v1/broadcasts/{id}/send.` Afterwards GET `/v1/broadcasts/{id}/clicked-links` shows which links readers followed.

Example prompt: Create a broadcast draft with POST `/v1/broadcasts`, send a test with POST `/v1/broadcasts/{id}/test` to 'qa@example.com', then call POST `/v1/broadcasts/{id}/send` and later read GET `/v1/broadcasts/{id}/clicked-links`

### Deliverability monitoring and suppression hygiene

GET `/v1/emails/metrics` reports sending metrics over a start_date and end_date with granularity and dimension options, GET `/v1/logs` filters events by type and recipient to find bounces and complaints, and POST `/v1/suppressions/batch/add` stops future sends to problem addresses so the sending domain's reputation is protected.

Example prompt: Call GET `/v1/emails/metrics` with start_date '2026-11-01' and end_date '2026-11-25', then GET `/v1/logs` filtered by type for bounces, and add the bounced addresses with POST `/v1/suppressions/batch/add`

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/v1/emails` | Send an email |
| POST | `/v1/emails/batch` | Send a batch of emails |
| GET | `/v1/emails/{id}` | Get email details |
| GET | `/v1/logs` | List email events |
| GET | `/v1/inboxes/{inbox_id}/threads` | List inbox threads |
| POST | `/v1/broadcasts/{id}/send` | Send or schedule a broadcast |
| POST | `/v1/domains/{id}/verify` | Verify a sending domain |
| POST | `/v1/webhooks` | Create a webhook |

## Key resources

- **Emails** — Send single or batch emails, reschedule or cancel scheduled sends, view details, and read metrics and clicked links
- **Logs** — Search email delivery events by type, recipient, domain, tag, or email id
- **Inboxes** — Create inboxes and work with threads, thread emails, labels, and drafts, including reply and forward
- **Contacts, segments, and suppressions** — Create and export contacts, group them into segments, and suppress addresses
- **Broadcasts and templates** — Draft, test, send, schedule, and cancel broadcasts and publish reusable templates
- **Domains, API keys, and webhooks** — Add and verify sending domains, manage API keys, and configure webhooks with delivery retry and event replay

## 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:** 66 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 98 / 100
  - Developer Experience & Jentic Compatibility: 71 / 100
  - AI-Readiness & Agent Experience: 50 / 100
  - Agent Usability: 72 / 100
  - Security: 60 / 100
  - AI Discoverability: 73 / 100
- **View full report:** https://jentic.com/apis/smtpfa.st/smtpfa/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 SMTPfast by hand means creating a bearer API key, verifying a sending domain, adding Idempotency-Key headers so retries do not double-send, and paging through cursor-based lists. Through Jentic you install once, import the SMTPfast API from the API Directory, store the key once, and your agent calls it.
- **Permission scoping:** SMTPfast puts the inbox id in the URL path (`/v1/inboxes/{inbox_id}/threads`), so a rule can pin your agent to one inbox: it can read and reply to threads there and nowhere else. Outbound sends carry recipients in the body, so for POST `/v1/emails` you choose the operations it may call, and destructive ones like domain deletion or API key revocation are not included unless you add them.
- **Credential handling:** Your SMTPfast API 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 a transactional email' or 'reply to a support thread', and Jentic returns the matching SMTPfast operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Resend API** — Developer-focused transactional email sending with domains and webhooks
- **Postmark Server API** — Transactional email with message streams and bounce handling
- **Mailgun API** — Email sending, routing, and validation at volume
- **SMSGlobal REST API** — SMS sending and two-way messaging

## FAQ

### What authentication does the SMTPfast API use?

Per its OpenAPI spec, the SMTPfast API authenticates with a bearer token in the Authorization header, using an API key created in the SMTPfast dashboard or through POST `/v1/api-keys.` GET `/v1/me` reports what the current key is allowed to do. Through Jentic the key is stored encrypted by your own Jentic One instance and injected when the call runs.

### Can I schedule an email for later with the SMTPfast API?

Yes. Include scheduled_at in the POST `/v1/emails` body to queue the message. You can move it with PATCH `/v1/emails/{id}`, which requires a new scheduled_at, or stop it with POST `/v1/emails/{id}/cancel` before it sends.

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

The OpenAPI spec does not list a fixed numeric limit. It describes GET `/v1/usage` as returning usage against your plan, including the rate limit that applies to your account, so have your agent read that response for current values and check https://smtpfa.st for plan details.

### How do I send an email with the SMTPfast API through Jentic?

Install Jentic One with `curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh`, add the SMTPfast API from the Jentic API Directory, and store your SMTPfast API key. Your agent then searches for 'send a transactional email', gets POST `/v1/emails` with its schema, and sends to, from, subject and an html or text body, ideally with an Idempotency-Key header. 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 SMTPfast API?

Yes. For example, write a rule that allows only the thread list, thread email read and reply operations under your support inbox's inbox_id. The agent can then answer customers from that one inbox, but it cannot send broadcasts, delete domains, or create API keys, and every call it makes is logged.

### Can the SMTPfast API receive email as well as send it?

Yes. Inbound mail is listed with GET `/v1/emails/receiving` and organised into inboxes you create with POST `/v1/inboxes.` PATCH `/v1/domains/{id}` turns inbound receiving on or off for a domain, and received emails can be replied to, marked read, or have their attachments downloaded.

### Can I replay a webhook event my server missed?

Yes. GET `/v1/webhooks/{id}/events` lists events for a webhook, GET `/v1/webhooks/{id}/events/{event_id}/attempts` shows each delivery attempt, and POST `/v1/webhooks/{id}/events/{event_id}/replay` sends the event again. POST `/v1/webhooks/{id}/signing-secret/rotate` rotates the signing secret.
