canonical: https://jentic.com/apis/sendar.app/sendar

# Sendar App Sendar public email API

The Sendar public email API sends transactional email one message at a time or in batches of up to 100, with HTML or text bodies, saved templates with variables, attachments, and optional open and click tracking. Single sends accept an Idempotency-Key so a retried request does not send twice, and can be scheduled up to 30 days ahead on Growth plans and above. Sent-email logs report each message's status, error message, and open and click counts, and a per-email event list records every open and click with its timestamp.

## For AI agents

Send transactional emails through Sendar, singly with idempotency or in batches of up to 100, then read each message's status and its open and click events.

## Scope

Does not manage sending domains, contact lists, or marketing campaigns, and does not send SMS. Use for sending and tracking transactional email only.

## Capabilities

- Send a transactional email with HTML or text, a templateId with variables, and up to five attachments
- Send up to 100 emails in a single batch request
- Retry a single send safely by reusing the same Idempotency-Key and payload
- Schedule an email for later delivery with scheduledAt
- Read an email's status, error message, and open and click counts
- List the open and click events recorded for a sent email, newest first

## Use cases

### AI agent sending transactional notices

An agent that completes a task for a user, such as confirming a booking, needs to send the confirmation email without a hand-built client. Through Jentic the agent searches for 'send a transactional email', loads the Sendar send operation with its schema, and posts from, to, subject, and html, with the bearer key injected by your own Jentic One instance. Passing an Idempotency-Key means a retry after a timeout cannot send the message twice.

Example prompt: Call POST /emails with from, to set to one recipient, subject Booking confirmed, an html body, and an Idempotency-Key header derived from the booking id

### Templated receipts and alerts

Apps that send the same message shape repeatedly keep the layout in a template and pass only the changing values. Sendar sends with a templateId and a variables object, and batch sends deliver up to 100 templated emails in one request. The spec warns that batches have no idempotency guarantee, so uncertain batch sends should be checked in the email logs rather than retried blindly.

Example prompt: Call POST `/emails/batch` with an array of items that share a templateId and carry per-recipient variables, then confirm results with GET /emails

### Delivery and engagement checks

Support teams need to answer whether a customer actually got and opened an email. Sendar's email log returns status, errorMessage, openCount, clickCount, openedAt, and clickedAt for a message, and the events list returns each open and click with the clicked url and occurredAt time. The spec notes that provider acceptance is not proof of inbox delivery.

Example prompt: Call GET `/emails/{id}` for a message and GET `/emails/{id}/events`, then report its status and whether any open or click was recorded

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/emails` | Send an email |
| POST | `/emails/batch` | Send up to 100 emails |
| GET | `/emails` | List sent emails |
| GET | `/emails/{id}` | Get an email log |
| GET | `/emails/{id}/events` | List open and click events |

## Key resources

- **Emails** — Send single or batch emails and list sent-email logs
- **Email logs** — Per-message status, error message, tracking flags, and open and click counts
- **Email events** — Open and click events for a sent email with url and occurredAt

## 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:** 67 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 100 / 100
  - Developer Experience & Jentic Compatibility: 69 / 100
  - AI-Readiness & Agent Experience: 48 / 100
  - Agent Usability: 94 / 100
  - Security: 60 / 100
  - AI Discoverability: 65 / 100
- **View full report:** https://jentic.com/apis/sendar.app/sendar/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 Sendar by hand means creating a private key in the dashboard, sending it as a bearer token, and generating a valid Idempotency-Key for every single send so retries stay safe. Through Jentic you install once, import Sendar from the API Directory, store the key once, and your agent calls it.
- **Permission scoping:** Sendar carries recipients inside the request body, so rules bound which operations your agent may call, not who it emails. You choose the operations it may call, so sending operations like POST `/emails/batch` are not included unless you add them, and a read-only agent can stay on the log endpoints.
- **Credential handling:** Your Sendar 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 'check if an email was opened', and Jentic returns the matching Sendar operation with its input schema so the agent sends the right fields.

## Related APIs

- **Resend** — Developer-focused transactional email API with domains and audiences
- **Postmark Server API** — Transactional email with message streams, templates, and bounce handling
- **SendGrid Email Validation** — Validate email addresses before sending

## FAQ

### What authentication does the Sendar email API use?

The Sendar public email API authenticates with a bearer token per its OpenAPI spec: a private API key created in the Sendar dashboard and sent as `Authorization: Bearer`. The spec says to use it server-side, and returns 401 for a missing, invalid, or revoked key. Through Jentic the key is stored by your own instance and injected at call time, so it never appears in the agent's context.

### How do I avoid sending duplicate emails with the Sendar API?

Send an Idempotency-Key header on POST /emails: 16 to 128 letters, digits, underscores, colons, or hyphens, reused with the exact same payload for the same event. A 409 response or a timeout may mean an uncertain outcome, so inspect the email history instead of retrying with a new key. Batch sends on POST `/emails/batch` have no documented idempotency support.

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

The OpenAPI spec does not publish numeric rate limits; it returns 429 when a quota or request rate limit is hit and 403 for plan feature restrictions. Check https://sendar.app for the current limits on your plan.

### Is there a Sendar MCP server?

You don't need an MCP server to give your agent Sendar. Jentic connects it directly from the API Directory: import it, store your API key once, and your agent calls the send and log operations it needs.

### How do I check whether a Sendar email was opened through Jentic?

Search Jentic for 'check if an email was opened', load GET `/emails/{id}/events`, and execute it with the email id returned when you sent it. The events come back newest first, each with a type of open or click and an occurredAt time. 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 Sendar API?

Yes. A reporting agent can get a rule allowing only GET /emails, GET `/emails/{id}`, and GET `/emails/{id}/events`, so it can read delivery status and engagement but cannot send anything. A sending agent can be allowed POST /emails without POST `/emails/batch`, keeping it to one message per call, and every call is logged.
