# List Sent Emails

> Emails the workspace has sent, newest first.

Requires an API key with the `read` scope.

Warmup mail is left out unless `emailType` is `warmup`. Each row carries the full body.

## Query Parameters

<ParamField query="page" type="integer">
  Page number, starting at 1.
</ParamField>

<ParamField query="pageSize" type="integer">
  Results per page, 1 to 100. Default 50.
</ParamField>

<ParamField query="emailType" type="string">
  Filter by type, for example `campaign` or `warmup`.
</ParamField>

<ParamField query="campaignId" type="string">
  Only emails from this campaign.
</ParamField>

<ParamField query="accountId" type="string">
  Only emails sent from this email account.
</ParamField>

<ParamField query="search" type="string">
  Match the recipient address or subject.
</ParamField>

## Response

Returns a paginated list in `data` with `meta.page`, `meta.pageSize`, `meta.total` and `meta.totalPages`.

<RequestExample>
```bash cURL
curl -X GET "https://api.foxreach.io/api/v1/inbox/sent?campaignId=cmp_def456&pageSize=20" \
  -H "X-API-Key: otr_your_key"
```

```python Python SDK
from foxreach import FoxReach

client = FoxReach(api_key="otr_your_key")
page = client.inbox.list_sent(campaign_id="cmp_def456", page_size=20)
```

```typescript TypeScript SDK
import { FoxReach } from "foxreach";

const client = new FoxReach({ apiKey: "otr_your_key" });
const page = await client.inbox.listSent({ campaignId: "cmp_def456", pageSize: 20 });
```

</RequestExample>

<ResponseExample>
```json
{
  "data": [
    {
      "id": "log_abc123",
      "accountId": "acc_1",
      "campaignId": "cmp_def456",
      "leadId": "cld_xyz789",
      "toEmail": "john@acme.com",
      "fromEmail": "outreach@yourcompany.com",
      "subject": "Quick question",
      "bodyPreview": "Hi John, ...",
      "body": "<p>Hi John, ...</p>",
      "status": "sent",
      "emailType": "campaign",
      "sequenceStep": 1,
      "openedAt": null,
      "clickedAt": null,
      "createdAt": "2026-11-04T09:30:00+00:00"
    }
  ],
  "meta": { "page": 1, "pageSize": 20, "total": 1, "totalPages": 1 }
}
```
</ResponseExample>

## Errors

| Status | Description |
|--------|-------------|
| `401` | Missing, invalid, revoked or expired API key |
| `403` | API key does not have the required scope: `read` |

## Rate Limit

- **300 requests per minute, shared by every `read` call in your workspace.** Fixed 60-second window.
- Every response includes `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` (unix epoch seconds) and `X-RateLimit-Bucket` (`read`).
- A `429` response includes a `Retry-After` header (seconds until the bucket resets).

For client-side patterns, see [Rate Limiting](/rate-limiting).
