import { Resend } from 'resend';
const resend = new Resend('re_xxxxxxxxx');
const { data, error } = await resend.contacts.list();
$resend = Resend::client('re_xxxxxxxxx');
$resend->contacts->list();
import resend
resend.api_key = "re_xxxxxxxxx"
resend.Contacts.list()
require "resend"
Resend.api_key = "re_xxxxxxxxx"
Resend::Contacts.list()
package main
import "github.com/resend/resend-go/v3"
func main() {
client := resend.NewClient("re_xxxxxxxxx")
client.Contacts.List()
}
use resend_rs::{Resend, Result, list_opts::ListOptions};
#[tokio::main]
async fn main() -> Result<()> {
let resend = Resend::new("re_xxxxxxxxx");
let _contacts = resend
.contacts
.list(
ListOptions::default(),
)
.await?;
Ok(())
}
import com.resend.*;
public class Main {
public static void main(String[] args) {
Resend resend = new Resend("re_xxxxxxxxx");
ListContactsResponseSuccess data = resend.contacts().list();
}
}
using Resend;
IResend resend = ResendClient.Create( "re_xxxxxxxxx" ); // Or from DI
var resp = await resend.ContactListAsync();
Console.WriteLine( "Nr Contacts={0}", resp.Content.Data.Count );
curl -X GET 'https://api.resend.com/contacts' \
-H 'Authorization: Bearer re_xxxxxxxxx'
resend contacts list
{
"object": "list",
"has_more": false,
"data": [
{
"id": "e169aa45-1ecf-4183-9955-b1499d5701d3",
"email": "steve.wozniak@gmail.com",
"first_name": "Steve",
"last_name": "Wozniak",
"created_at": "2026-10-06 23:47:56.678+00",
"unsubscribed": false
}
]
}
List Contacts
Show all contacts.
GET
/
contacts
import { Resend } from 'resend';
const resend = new Resend('re_xxxxxxxxx');
const { data, error } = await resend.contacts.list();
$resend = Resend::client('re_xxxxxxxxx');
$resend->contacts->list();
import resend
resend.api_key = "re_xxxxxxxxx"
resend.Contacts.list()
require "resend"
Resend.api_key = "re_xxxxxxxxx"
Resend::Contacts.list()
package main
import "github.com/resend/resend-go/v3"
func main() {
client := resend.NewClient("re_xxxxxxxxx")
client.Contacts.List()
}
use resend_rs::{Resend, Result, list_opts::ListOptions};
#[tokio::main]
async fn main() -> Result<()> {
let resend = Resend::new("re_xxxxxxxxx");
let _contacts = resend
.contacts
.list(
ListOptions::default(),
)
.await?;
Ok(())
}
import com.resend.*;
public class Main {
public static void main(String[] args) {
Resend resend = new Resend("re_xxxxxxxxx");
ListContactsResponseSuccess data = resend.contacts().list();
}
}
using Resend;
IResend resend = ResendClient.Create( "re_xxxxxxxxx" ); // Or from DI
var resp = await resend.ContactListAsync();
Console.WriteLine( "Nr Contacts={0}", resp.Content.Data.Count );
curl -X GET 'https://api.resend.com/contacts' \
-H 'Authorization: Bearer re_xxxxxxxxx'
resend contacts list
{
"object": "list",
"has_more": false,
"data": [
{
"id": "e169aa45-1ecf-4183-9955-b1499d5701d3",
"email": "steve.wozniak@gmail.com",
"first_name": "Steve",
"last_name": "Wozniak",
"created_at": "2026-10-06 23:47:56.678+00",
"unsubscribed": false
}
]
}
Path Parameters
import { Resend } from 'resend';
const resend = new Resend('re_xxxxxxxxx');
const { data, error } = await resend.contacts.list();
$resend = Resend::client('re_xxxxxxxxx');
$resend->contacts->list();
import resend
resend.api_key = "re_xxxxxxxxx"
resend.Contacts.list()
require "resend"
Resend.api_key = "re_xxxxxxxxx"
Resend::Contacts.list()
package main
import "github.com/resend/resend-go/v3"
func main() {
client := resend.NewClient("re_xxxxxxxxx")
client.Contacts.List()
}
use resend_rs::{Resend, Result, list_opts::ListOptions};
#[tokio::main]
async fn main() -> Result<()> {
let resend = Resend::new("re_xxxxxxxxx");
let _contacts = resend
.contacts
.list(
ListOptions::default(),
)
.await?;
Ok(())
}
import com.resend.*;
public class Main {
public static void main(String[] args) {
Resend resend = new Resend("re_xxxxxxxxx");
ListContactsResponseSuccess data = resend.contacts().list();
}
}
using Resend;
IResend resend = ResendClient.Create( "re_xxxxxxxxx" ); // Or from DI
var resp = await resend.ContactListAsync();
Console.WriteLine( "Nr Contacts={0}", resp.Content.Data.Count );
curl -X GET 'https://api.resend.com/contacts' \
-H 'Authorization: Bearer re_xxxxxxxxx'
resend contacts list
{
"object": "list",
"has_more": false,
"data": [
{
"id": "e169aa45-1ecf-4183-9955-b1499d5701d3",
"email": "steve.wozniak@gmail.com",
"first_name": "Steve",
"last_name": "Wozniak",
"created_at": "2026-10-06 23:47:56.678+00",
"unsubscribed": false
}
]
}
Was this page helpful?
⌘I