# send

URL: /business/nouns/newsletter/send · Id: `verb:Newsletter.send` · Call: `await $.Newsletter.send({ … })` (SDK) or the `do` tool at `https://api.sb/mcp`. Inputs says what to pass, Outputs what returns, When it waits who approves.

> Send emails one issue, a piece of Content, to every subscribed Contact, and a paid issue only to those whose Offer covers it.

Send emails one issue, a piece of [Content](/business/nouns/content), to every subscribed [Contact](/business/nouns/contact), and a paid issue only to those whose [Offer](/business/nouns/offer) covers it.

## Inputs
| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `newsletter` | [Newsletter](/business/nouns/newsletter) | Yes | The Newsletter. |
| `content` | [Content](/business/nouns/content) | Yes | The issue to send. |
| `at` | `datetime` | No | When to send it. Unset: now. |

## Outputs
| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `newsletter` | [Newsletter](/business/nouns/newsletter) | Yes | The Newsletter, with the issue in its archive. |

## Effects
| Fact | Value |
| --- | --- |
| Action class | `send`, a Message to many people at once: a broadcast or a Sequence. It waits for you where a seat's approval rule names it |
| Door | One-way: it waits out its delay window, then runs |
| Modes | `try` previews it and stores nothing; `send` returns a pending Action; `do` (default) waits for the result |
| Idempotent | With a key: a repeat with the same `Idempotency-Key` returns the first Action, and a repeat without one runs again |
| Undo | [Action.undo](/business/nouns/action/undo) reverses its records |
| Emits | [`Newsletter.sent`](/business/events/Newsletter.sent) |
| Performed by | The [Marketing Lead](/agents/marketing/marketing-lead) |

- Skips Suppressions and withdrawn Consent; every email carries a one-click unsubscribe link.
- Publishes the issue to the archive on the Site, gated by the Newsletter’s Offer.

## Refuses when
| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

## When it waits
| Gate | Default |
| --- | --- |
| Decision class | Medium: one-way, bounded |
| [Delay window](/systems/trust-and-governance/controls/one-way-windows) | 1 business hour, in which a watcher can pause, redirect or cancel it; then it runs. |
| Limit | The call [Limit](/business/nouns/limit) of the [Permission](/business/nouns/permission) it runs under. |
| Over the Limit | It waits `pending` for an [Approval](/business/nouns/approval) from the [Founder](/agents/founding/founder). Approved, it runs; refused, it ends `refused` with [`limit-exceeded`](/code/api/errors/limit-exceeded); unanswered by its deadline, it ends `canceled`. |

## Example

**Ask**

```text
Send the latest newsletter with content.
```

**API**

```bash
curl -X POST https://api.sb/leaseline.app/newsletters/newsletter_FLjN3aQujc/send \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"content":"content_HYlnoorBdP"}'
```

```json
{
  "api": "https://api.sb/leaseline.app",
  "newsletter": {
    "$id": "https://api.sb/leaseline.app/newsletters/newsletter_FLjN3aQujc",
    "$type": "Newsletter",
    "name": "Leaseline notes",
    "from": "mailbox_93HvOnR17L"
  },
  "action": {
    "$id": "https://api.sb/leaseline.app/actions/act_br07HsG8MG",
    "operation": "Newsletter.send",
    "status": "done"
  },
  "links": {
    "self": "https://api.sb/leaseline.app/actions/act_br07HsG8MG"
  }
}
```

**SDK**

```ts
import { $ } from 'startup-builder'

const newsletter = await $.Newsletter.send({ newsletter: 'newsletter_FLjN3aQujc', content: 'content_HYlnoorBdP' })
```

**CLI**

```bash
npx startup-builder do Newsletter.send --json '{"newsletter":"newsletter_FLjN3aQujc","content":"content_HYlnoorBdP"}'
```

**MCP**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Newsletter.send({ newsletter: 'newsletter_FLjN3aQujc', content: 'content_HYlnoorBdP' })"
  }
}
```

Guides that call it: [Start a newsletter](/systems/marketing/start-a-newsletter).