List Topics
GET
/
topics
import { Resend } from 'resend';
const resend = new Resend('re_xxxxxxxxx');
const { data, error } = await resend.topics.list();$resend = Resend::client('re_xxxxxxxxx');
$resend->topics->list();import resend
resend.api_key = "re_xxxxxxxxx"
resend.Topics.list()require "resend"
Resend.api_key = "re_xxxxxxxxx"
Resend::Topics.list()package main
import (
"context"
"github.com/resend/resend-go/v4"
)
func main() {
client := resend.NewClient("re_xxxxxxxxx")
client.Topics.ListWithContext(context.TODO(), nil)
}use resend_rs::{list_opts::ListOptions, Resend, Result};
#[tokio::main]
async fn main() -> Result<()> {
let resend = Resend::new("re_xxxxxxxxx");
let _list = resend.topics.list(ListOptions::default()).await?;
Ok(())
}import com.resend.Resend;
import com.resend.core.exception.ResendException;
import com.resend.services.topics.model.ListTopicsResponseSuccess;
public class Main {
public static void main(String[] args) throws ResendException {
Resend resend = new Resend("re_xxxxxxxxx");
ListTopicsResponseSuccess response = resend.topics().list();
}
}using Resend;
IResend resend = ResendClient.Create( "re_xxxxxxxxx" ); // Or from DI
var resp = await resend.TopicListAsync();
Console.WriteLine( "Nr Topics={0}", resp.Content.Data.Count );curl -X GET 'https://api.resend.com/topics' \
-H 'Authorization: Bearer re_xxxxxxxxx'resend topics list{
"object": "list",
"has_more": false,
"data": [
{
"id": "b6d24b8e-af0b-4c3c-be0c-359bbd97381e",
"name": "Weekly Newsletter",
"description": "Weekly newsletter for our subscribers",
"default_subscription": "opt_in",
"visibility": "public",
"created_at": "2026-04-08 00:11:13.110779+00"
}
]
}import { Resend } from 'resend';
const resend = new Resend('re_xxxxxxxxx');
const { data, error } = await resend.topics.list();$resend = Resend::client('re_xxxxxxxxx');
$resend->topics->list();import resend
resend.api_key = "re_xxxxxxxxx"
resend.Topics.list()require "resend"
Resend.api_key = "re_xxxxxxxxx"
Resend::Topics.list()package main
import (
"context"
"github.com/resend/resend-go/v4"
)
func main() {
client := resend.NewClient("re_xxxxxxxxx")
client.Topics.ListWithContext(context.TODO(), nil)
}use resend_rs::{list_opts::ListOptions, Resend, Result};
#[tokio::main]
async fn main() -> Result<()> {
let resend = Resend::new("re_xxxxxxxxx");
let _list = resend.topics.list(ListOptions::default()).await?;
Ok(())
}import com.resend.Resend;
import com.resend.core.exception.ResendException;
import com.resend.services.topics.model.ListTopicsResponseSuccess;
public class Main {
public static void main(String[] args) throws ResendException {
Resend resend = new Resend("re_xxxxxxxxx");
ListTopicsResponseSuccess response = resend.topics().list();
}
}using Resend;
IResend resend = ResendClient.Create( "re_xxxxxxxxx" ); // Or from DI
var resp = await resend.TopicListAsync();
Console.WriteLine( "Nr Topics={0}", resp.Content.Data.Count );curl -X GET 'https://api.resend.com/topics' \
-H 'Authorization: Bearer re_xxxxxxxxx'resend topics list{
"object": "list",
"has_more": false,
"data": [
{
"id": "b6d24b8e-af0b-4c3c-be0c-359bbd97381e",
"name": "Weekly Newsletter",
"description": "Weekly newsletter for our subscribers",
"default_subscription": "opt_in",
"visibility": "public",
"created_at": "2026-04-08 00:11:13.110779+00"
}
]
}Was this page helpful?
⌘I