> 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-all-list-segment-condition-operators.md).

# Get All List Segment Condition Operators

### 🔍 Get All List Segment Condition Operators

Fetch all supported condition operators to be used in segment filters such as "is", "contains", or "starts with".

#### 🔹 HTTP Request

```http
GET API-URL/lists/segments/condition-operators
```

#### 🔐 Authorization Header

```
X-API-KEY: your-api-key-here
```

#### 💻 PHP Example

```php
// GET ALL ITEMS
$response = $endpoint->getConditionOperators();

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

#### 📦 Sample JSON Response

```json
{
  "status": "success",
  "data": {
    "count": "10",
    "records": [
      { "operator_id": "1", "name": "is", "slug": "is" },
      { "operator_id": "2", "name": "is not", "slug": "is-not" },
      { "operator_id": "3", "name": "contains", "slug": "contains" },
      { "operator_id": "4", "name": "not contains", "slug": "not-contains" },
      { "operator_id": "5", "name": "starts with", "slug": "starts" },
      { "operator_id": "6", "name": "ends with", "slug": "ends" },
      { "operator_id": "7", "name": "is greater than", "slug": "greater" },
      { "operator_id": "8", "name": "is less than", "slug": "less" },
      { "operator_id": "9", "name": "not starts with", "slug": "not-starts" },
      { "operator_id": "10", "name": "not ends with", "slug": "not-ends" }
    ]
  }
}
```
