Get One List Segment
Retrieve the full details of a single segment, including conditions, match type, subscriber count, and creation timestamp. Ideal for viewing dynamic list filters configured for targeted sending.
π Get One List Segment
πΉ HTTP Request
GET API-URL/segments/SEGMENT-UNIQUE-IDπΈ URL Segments
Segment
Required
Description
π Authorization Header
X-API-KEY: your-api-key-hereπ» PHP Example
// GET ONE ITEM
$response = $endpoint->getSegment('SEGMENT-UNIQUE-ID');
// DISPLAY RESPONSE
echo '<pre>';
print_r($response->body);
echo '</pre>';π¦ Sample JSON Response
Last updated