> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Resend

> Transactional email: sent and received emails, delivery metrics, domains, request logs and usage.

![](https://mintcdn.com/webrouter/T_A5Quwg50s_JK2y/logo/data-apis/resend.webp?fit=max\&auto=format\&n=T_A5Quwg50s_JK2y\&q=85\&s=5c90f3425ff9e239624fac2ce6e986b0)

[Web Catalog · Messaging](https://docs.webrouter.net/data-apis.md?category=messaging)

Needs&#x20;

`RESEND_API_KEY`

Endpoints

8

Auth

Key in header

[Vendor docs](https://resend.com/docs/api-reference/introduction.md)

&#x20;·&#x20;

[Pricing](https://resend.com/pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `RESEND_API_KEY` | required | A Resend API key (re\_...) from resend.com/api-keys. A sending-access key can only send; reads need full access. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Rate limit: 10 requests per second per team, across all keys; a 429 carries retry-after.
* Lists page by cursor: pass the last item's id as after (or the first's as before), never both.
* Email quotas are daily and monthly per plan; GET /usage shows them.

## Endpoints

GET

List sent emails

Emails sent by the team, newest first.

[Open](#resend-emails-list)

GET

Get a sent email

One sent email with its status (last\_event).

[Open](#resend-emails-get)

GET

List received emails

Inbound emails to the team's receiving domains.

[Open](#resend-emails-received-list)

GET

Get a received email

One inbound email.

[Open](#resend-emails-received-get)

GET

Get email metrics

Delivered, bounced, complained and other counts over a date range, optionally broken down.

[Open](#resend-emails-metrics)

GET

List domains

Sending domains and their verification status.

[Open](#resend-domains-list)

GET

List API request logs

The team's API requests with status codes.

[Open](#resend-logs-list)

GET

Get usage and plan limits

Current usage against the plan's quotas.

[Open](#resend-usage-get)

### List sent emails

GET

`/emails`

`resend.emails.list`

Emails sent by the team, newest first.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        1 to 100.
      </td>
    </tr>

    <tr>
      <td>
        `after`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Cursor: items after this id.
      </td>
    </tr>

    <tr>
      <td>
        `before`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Cursor: items before this id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://resend.com/docs/api-reference/emails/list-emails.md)

```python Python theme={null}
router.call_data_api("resend.emails.list")
```

```text MCP theme={null}
call_data_api(endpoint="resend.emails.list")
```

### Get a sent email

GET

`/emails/{email_id}`

`resend.emails.get`

One sent email with its status (last\_event).

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `email_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        The email id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://resend.com/docs/api-reference/emails/retrieve-email.md)

### List received emails

GET

`/emails/receiving`

`resend.emails.received.list`

Inbound emails to the team's receiving domains.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Maximum items.
      </td>
    </tr>

    <tr>
      <td>
        `after`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Cursor: emails after this id; not with before.
      </td>
    </tr>

    <tr>
      <td>
        `before`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Cursor: emails before this id; not with after.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://resend.com/docs/api-reference/emails/list-received-emails.md) · Same job: [AgentMail](https://docs.webrouter.net/data-apis/agentmail.md#agentmail-messages-list), [AgentPhone](https://docs.webrouter.net/data-apis/agentphone.md#agentphone-numbers-messages), [Saperly](https://docs.webrouter.net/data-apis/saperly.md#saperly-messages-list), [Slack](https://docs.webrouter.net/data-apis/slack.md#slack-conversations-history), [Sprout Social](https://docs.webrouter.net/data-apis/sprout-social.md#sprout-social-messages-list), [Twilio](https://docs.webrouter.net/data-apis/twilio.md#twilio-messages-list)

```python Python theme={null}
router.call_data_api("resend.emails.received.list")
```

```text MCP theme={null}
call_data_api(endpoint="resend.emails.received.list")
```

### Get a received email

GET

`/emails/receiving/{email_id}`

`resend.emails.received.get`

One inbound email.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `email_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        The received email id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://resend.com/docs/api-reference/emails/retrieve-received-email.md)

### Get email metrics

GET

`/emails/metrics`

`resend.emails.metrics`

Delivered, bounced, complained and other counts over a date range, optionally broken down.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `start_date`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        ISO 8601 start; defaults to 6 days before end\_date.
      </td>
    </tr>

    <tr>
      <td>
        `end_date`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        ISO 8601 end; defaults to now.
      </td>
    </tr>

    <tr>
      <td>
        `timezone`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        IANA timezone for period buckets, default UTC.
      </td>
    </tr>

    <tr><td>`granularity`</td><td>string</td><td>query</td><td>Bucket size when period is a dimension. One of `hourly`, `daily`, `weekly`, `monthly`</td></tr>

    <tr>
      <td>
        `metrics`
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Metrics to include (received, delivered, bounced, complained...); all by default.
      </td>
    </tr>

    <tr>
      <td>
        `dimensions`
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Breakdown: period, domain, email or broadcast; none gives a single totals row.
      </td>
    </tr>

    <tr>
      <td>
        `domain_id`
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Only these sending domain ids, up to 100.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://resend.com/docs/api-reference/emails/get-metrics.md) · Same job: [Amplitude](https://docs.webrouter.net/data-apis/amplitude.md#amplitude-charts-query), [Close](https://docs.webrouter.net/data-apis/close-crm.md#close-crm-reports-activity), [Cloudflare](https://docs.webrouter.net/data-apis/cloudflare.md#cloudflare-analytics-graphql), [Google Analytics 4 (Data API)](https://docs.webrouter.net/data-apis/google-analytics.md#google-analytics-report-run), [Instagram Graph API](https://docs.webrouter.net/data-apis/instagram.md#instagram-user-insights), [Klaviyo](https://docs.webrouter.net/data-apis/klaviyo.md#klaviyo-campaigns-report)

```python Python theme={null}
router.call_data_api("resend.emails.metrics")
```

```text MCP theme={null}
call_data_api(endpoint="resend.emails.metrics")
```

> [!NOTE]
>
> * With no dimensions the answer is only a totals row, with no data series.

### List domains

GET

`/domains`

`resend.domains.list`

Sending domains and their verification status.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        1 to 100.
      </td>
    </tr>

    <tr>
      <td>
        `after`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Cursor: items after this id.
      </td>
    </tr>

    <tr>
      <td>
        `before`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Cursor: items before this id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://resend.com/docs/api-reference/domains/list-domains.md)

```python Python theme={null}
router.call_data_api("resend.domains.list")
```

```text MCP theme={null}
call_data_api(endpoint="resend.domains.list")
```

### List API request logs

GET

`/logs`

`resend.logs.list`

The team's API requests with status codes.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        1 to 100.
      </td>
    </tr>

    <tr>
      <td>
        `after`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Cursor: items after this id.
      </td>
    </tr>

    <tr>
      <td>
        `before`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Cursor: items before this id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://resend.com/docs/api-reference/logs/list-logs.md) · Same job: [Datadog](https://docs.webrouter.net/data-apis/datadog.md#datadog-logs-search), [Microsoft Graph (Microsoft 365)](https://docs.webrouter.net/data-apis/microsoft-graph.md#microsoft-graph-signins-list), [Sentry](https://docs.webrouter.net/data-apis/sentry.md#sentry-explore-events), [Supabase](https://docs.webrouter.net/data-apis/supabase.md#supabase-logs-query), [Vercel](https://docs.webrouter.net/data-apis/vercel.md#vercel-deployments-events)

```python Python theme={null}
router.call_data_api("resend.logs.list")
```

```text MCP theme={null}
call_data_api(endpoint="resend.logs.list")
```

### Get usage and plan limits

GET

`/usage`

`resend.usage.get`

Current usage against the plan's quotas.

Input

No inputs.

[Vendor docs](https://resend.com/docs/api-reference/rate-limit.md)

```python Python theme={null}
router.call_data_api("resend.usage.get")
```

```text MCP theme={null}
call_data_api(endpoint="resend.usage.get")
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.