# Quickstart

Okaytosend checks a marketing email before it goes out. Send it the exact email; it answers **HOLD**, with each problem and its evidence, or **CLEAR**. This page gets you from nothing to your first check in about two minutes.

## 1. Sign up

Create a free account at [okaytosend.com/sign-up](https://okaytosend.com/sign-up). No card. The free plan includes 25 checks a month, every month, and your workspace gets an API key straight away.

Your workspace starts with one project, named after it. A project holds one brand's facts, so an email is only ever compared with the right ones. Add more projects when you check emails for more than one brand.

## 2. Copy your key

Open [Connect your AI](https://okaytosend.com/connect-ai) and copy the key named **Default**. It starts with `ots_live_`. Keep it secret: anyone with it can use your checks.

```bash
export OKAYTOSEND_KEY="ots_live_..."
```

## 3. Check an email

```bash
curl https://okaytosend.com/api/v1/checks \
  -H "Authorization: Bearer $OKAYTOSEND_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "subject": "Hi {{first_name}}, 25% off this week",
    "html": "<p>Was $100, now $80: 25% off every workshop.</p>"
  }'
```

You don't need any sources for this one. Okaytosend's built-in marketing rules catch four problems on their own:

- `{{first_name}}` would reach readers as written (`PLACEHOLDER_LEFT`)
- $100 to $80 is 20% off, not 25% (`DISCOUNT_MATH`)
- the offer has no end date and no terms (`OFFER_NO_END`)
- a promotional email with no unsubscribe link (`NO_UNSUBSCRIBE`)

The answer is `HOLD`, with each problem quoted. Here is one of the four:

```json
{
  "id": "59c4dcfc-7b7a-4d86-8eaf-0f68ee1cd2b5",
  "verdict": "HOLD",
  "final": false,
  "result": {
    "claims": [
      { "status": "CONTRADICTED", "code": "DISCOUNT_MATH", "quote": "Was $100, now $80: 25% off", "expected": "20%" }
    ]
  }
}
```

That example is shortened. [API reference](/docs/api) has the full answer.

## 4. Add your facts

Rules catch what's wrong with any email. Your facts catch what's wrong for your brand: an old price, a moved date, last quarter's rate. Pass a page, text or a file with the check:

```json
"sources": [{ "title": "Workshop pricing", "url": "https://willowlight.example/pricing" }]
```

Or keep a source on the project so every check uses it: ask Claude to "add https://willowlight.example/pricing as a source for Willowlight Studio", or add it on the [Sources](https://okaytosend.com/sources) page.

## 5. Or let your agent do it

Connect Okaytosend to Claude, Cursor or any MCP client and your agent checks emails for you. See [Connect your agent](/docs/connect).

## What a verdict means

- **HOLD**: at least one problem. Each comes with the quote from the email and the quote from the source or rule.
- **CLEAR**: nothing wrong found on the real email.
- **CLEAR · draft**: nothing wrong found on a draft. For the final check, send a real test from your email tool to the project's check address.

Checking the same email again within 24 hours, or again after a fix, is free.
