Skip to main content
Resend Docs
current

Search documentation

Type to search this documentation.

On this pageOverview

List Audiences

Retrieve a list of audiences.

<>

  {isRequired ? 
  • limit (number) — Number of audiences 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 audiences will be returned in a single response.

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

    • Maximum value: 100

    • Minimum value: 1

      </>}
      • after (string) — The ID after which we'll retrieve more audiences (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 audiences (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.audiences.list();
PHP
$resend = Resend::client('re_xxxxxxxxx');

$resend->audiences->list();
Python
import resend

resend.api_key = "re_xxxxxxxxx"

resend.Audiences.list()
Ruby
require "resend"

Resend.api_key = "re_xxxxxxxxx"

Resend::Audiences.list
Go
package main

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

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

	client.Audiences.List()
}
Java
import com.resend.Resend;
import com.resend.core.exception.ResendException;
import com.resend.services.audiences.model.ListAudiencesResponseSuccess;

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

        ListAudiencesResponseSuccess data = resend.audiences().list();
    }
}
.NET
using Resend;

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

var resp = await resend.AudienceListAsync();
Console.WriteLine( "Nr Audience={0}", resp.Content.Count );
cURL
curl -X GET 'https://api.resend.com/audiences' \
     -H 'Authorization: Bearer re_xxxxxxxxx'
Response
{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "id": "78261eea-8f8b-4381-83c6-79fa7120f1cf",
      "name": "Registered Users",
      "created_at": "2026-10-06 22:59:55.977+00"
    }
  ]
}
Suggest an edit

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

Export
Documentation menu