> 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/subscribers/get-unsubscribed-subscribers.md).

# Get Unsubscribed Subscribers

### 📭 Get Unsubscribed Subscribers

Fetch unsubscribed contacts from a list using list UID and pagination options.

***

#### 🔹 HTTP Request

```http
GET API-URL/lists/LIST-UNIQUE-ID/subscribers
```

***

#### 🔸 URL Segments

| Segment          | Required | Description                               |
| ---------------- | -------- | ----------------------------------------- |
| `LIST-UNIQUE-ID` | Yes      | Unique identifier of the subscriber list. |

***

#### 🔎 Query Parameters

| Parameter  | Default      | Description                            |
| ---------- | ------------ | -------------------------------------- |
| `page`     | 1            | Page number to retrieve.               |
| `per_page` | 10           | Number of subscribers per page.        |
| `status`   | unsubscribed | Filters only unsubscribed subscribers. |

***

#### 🔐 Authorization Header

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

***

#### 💻 PHP Example

```php
// GET ALL ITEMS
$response = $endpoint->getUnsubscribedSubscribers('LIST-UNIQUE-ID', $pageNumber = 1, $perPage = 10);

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

***

#### 📦 Sample JSON Response

```json
{
  "status": "success",
  "data": {
    "count": "3",
    "total_pages": 1,
    "current_page": 1,
    "next_page": null,
    "prev_page": null,
    "records": [
      {
        "subscriber_uid": "ty389plsknq01",
        "EMAIL": "amy.jackson@demo.com",
        "FNAME": "",
        "LNAME": "",
        "source": "import",
        "status": "unsubscribed",
        "ip_address": "",
        "date_added": "2025-04-17 11:03:22"
      },
      {
        "subscriber_uid": "uk472mqwzle19",
        "EMAIL": "bruce.harris@abc.org",
        "FNAME": "",
        "LNAME": "",
        "source": "import",
        "status": "unsubscribed",
        "ip_address": "",
        "date_added": "2025-04-17 11:03:18"
      },
      {
        "subscriber_uid": "ze604ndxwcu87",
        "EMAIL": "nina.collins@domain.com",
        "FNAME": "",
        "LNAME": "",
        "source": "import",
        "status": "unsubscribed",
        "ip_address": "",
        "date_added": "2025-04-17 11:03:14"
      }
    ]
  }
}
```
