Skip to main content
Resend Docs
current

Search documentation

Type to search this documentation.

On this pageOverview

List Received Emails

Retrieve a list of received emails for the authenticated user.

You can list all emails received by your team. The list returns references to individual emails. If needed, you can use the id of an email to retrieve the email HTML to plain text using the Retrieve Received Email endpoint or the Retrieve Received Attachment endpoint to get an email's attachments.

<>

  {isRequired ? 
  • limit (number) — Number of emails to retrieve.

    • Default value: 20

    • Maximum value: 100

    • Minimum value: 1

: <>

Note that the limit parameter is optional. If you do not provide a limit, all emails will be returned in a single response.

  • limit (number) — Number of emails to retrieve.

    • Maximum value: 100

    • Minimum value: 1

      </>}
      • after (string) — The ID after which we'll retrieve more emails (for pagination). This ID will not be included in the returned list. Cannot be used with the before parameter.

      • before (string) — The ID before which we'll retrieve more emails (for pagination). This ID will not be included in the returned list. Cannot be used with the after parameter.

      </>

Node.js
import { Resend } from 'resend';

const resend = new Resend('re_xxxxxxxxx');

const { data, error } = await resend.emails.receiving.list();
PHP
$resend = Resend::client('re_xxxxxxxxx');

$resend->emails->receiving->list();
Python
import resend

resend.api_key = "re_xxxxxxxxx"

resend.Emails.Receiving.list()
Ruby
require "resend"

Resend.api_key = "re_xxxxxxxxx"

Resend::Emails::Receiving.list()
Go
package main

import (
	"context"

	"github.com/resend/resend-go/v4"
)

func main() {
	client := resend.NewClient("re_xxxxxxxxx")

	client.Emails.Receiving.ListWithContext(context.TODO())
}
Rust
use resend_rs::{list_opts::ListOptions, Resend, Result};

#[tokio::main]
async fn main() -> Result<()> {
  let resend = Resend::new("re_xxxxxxxxx");

  let _email = resend.receiving.list(ListOptions::default()).await?;

  Ok(())
}
Java
import com.resend.Resend;
import com.resend.core.exception.ResendException;
import com.resend.services.receiving.model.ListReceivedEmailsResponse;

public class Main {
  public static void main(String[] args) throws ResendException {
    Resend resend = new Resend("re_xxxxxxxxx");

    ListReceivedEmailsResponse response = resend.receiving().list();
  }
}
.NET
using Resend;

IResend resend = ResendClient.Create( "re_xxxxxxxxx" ); // Or from DI

var resp = await resend.ReceivedEmailListAsync();
Console.WriteLine( "Nr Received={0}", resp.Content.Data.Count );
cURL
curl -X GET 'https://api.resend.com/emails/receiving' \
     -H 'Authorization: Bearer re_xxxxxxxxx'
CLI
resend emails receiving list
Response
{
  "object": "list",
  "has_more": true,
  "data": [
    {
      "id": "a39999a6-88e3-48b1-888b-beaabcde1b33",
      "to": ["recipient@example.com"],
      "from": "sender@example.com",
      "created_at": "2026-10-09T14:37:40.951Z",
      "subject": "Hello World",
      "bcc": [],
      "cc": [],
      "reply_to": [],
      "message_id": "<111-222-333@email.example.com>",
      "attachments": [
        {
          "filename": "example.txt",
          "content_type": "text/plain",
          "content_id": null,
          "content_disposition": "attachment",
          "id": "47e999c7-c89c-4999-bf32-aaaaa1c3ff21",
          "size": 13
        }
      ]
    }
  ]
}
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu