Docs
Audience · Segments

Retrieve Segment

Get a segment.

GET/audiences/{audience_id}

Path Parameters

audience_idstringrequired
Segment ID.
import { Resend } from 'resend';

const client = new Resend('pw_xxxxxxxxx');

const { data, error } = await client.audiences.get('{audience_id}');
Try itGET/audiences/%7Baudience_id%7D

No key yet? Create one in the dashboard.