> For the complete documentation index, see [llms.txt](https://api.senderwiz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api.senderwiz.com/customer/segments/get-one-list-segment.md).

# 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

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

#### 🔹 HTTP Request

```http
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

```php
// GET ONE ITEM
$response = $endpoint->getSegment('SEGMENT-UNIQUE-ID');

// DISPLAY RESPONSE
echo '<pre>';
print_r($response->body);
echo '</pre>';
```

***

#### 📦 Sample JSON Response

```json
{
  "status": "success",
  "data": {
    "record": {
      "segment_uid": "	da862njvwxc05",
      "segment_id": "15",
      "name": "My USA Segment",
      "operator_match": "any",
      "date_added": "10/23/23, 2:36 PM",
      "subscribers_count": 0,
      "conditions": [
        {
          "field_id": "96",
          "operator_id": "3",
          "value": "keyword"
        }
      ],
      "campaign_conditions": []
    }
  }
}
```

***

####
