Audiences
List Audiences
Audiences
List Audiences
Retrieve a list of audiences.
import { Resend } from 'resend';
const resend = new Resend('re_123456789');
resend.audiences.list();
{
"object": "list",
"data": [
{
"id": "78261eea-8f8b-4381-83c6-79fa7120f1cf",
"name": "Registered Users",
"created_at": "2023-10-06T22:59:55.977Z"
}
]
}
import { Resend } from 'resend';
const resend = new Resend('re_123456789');
resend.audiences.list();
{
"object": "list",
"data": [
{
"id": "78261eea-8f8b-4381-83c6-79fa7120f1cf",
"name": "Registered Users",
"created_at": "2023-10-06T22:59:55.977Z"
}
]
}
Was this page helpful?
import { Resend } from 'resend';
const resend = new Resend('re_123456789');
resend.audiences.list();
{
"object": "list",
"data": [
{
"id": "78261eea-8f8b-4381-83c6-79fa7120f1cf",
"name": "Registered Users",
"created_at": "2023-10-06T22:59:55.977Z"
}
]
}