magnifying-glassGet 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

Fetch detailed information about a specific segment within a subscriber list using its unique segment UID.

πŸ”Ή HTTP Request

GET API-URL/segments/SEGMENT-UNIQUE-ID

πŸ”Έ URL Segments

Segment
Required
Description

SEGMENT-UNIQUE-ID

Yes

Unique identifier of the list segment.

πŸ” 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