# List Suppressions

> GET /suppressions — the addresses SendDart will not mail, newest first.

`GET /suppressions`

Lists your suppression list, newest first, one page at a time. Filter by how an address got there, by part of the address, or by when it was added.

> **Note:** Needs an API key with read access. This list is paginated; see [Pagination](https://www.senddart.com/docs/api/pagination).

**Query parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | number | No | Rows per page, `1` to `100`. Default `20`. |
| `after` | string | No | A suppression `id`. Returns the rows after it (the next page). Cannot be combined with `before`. |
| `before` | string | No | A suppression `id`. Returns the rows before it (the previous page). Cannot be combined with `after`. |
| `origin` | string | No | Only rows with this origin: `bounce`, `complaint`, `manual` or `unsubscribe`. |
| `search` | string | No | Case-insensitive match on any part of the address. |
| `created_after` | string | No | Only rows added at or after this time (ISO 8601). |
| `created_before` | string | No | Only rows added before this time (ISO 8601). |

**Node.js**

```js
const res = await fetch('https://www.senddart.com/api/suppressions?origin=bounce&limit=20', {
  method: 'GET',
  headers: { 'Authorization': 'Bearer mb_xxxxxxxxx' },
});
const data = await res.json();
console.log(data);
```

**Ruby**

```ruby
require 'net/http'
require 'uri'

uri = URI('https://www.senddart.com/api/suppressions?origin=bounce&limit=20')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
req = Net::HTTP::Get.new(uri)
req['Authorization'] = 'Bearer mb_xxxxxxxxx'
res = http.request(req)
puts res.body
```

**PHP**

```php
<?php
$ch = curl_init('https://www.senddart.com/api/suppressions?origin=bounce&limit=20');
curl_setopt_array($ch, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer mb_xxxxxxxxx',
        'User-Agent: my-app/1.0',
    ],
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
```

**Python**

```python
import requests

res = requests.get(
    "https://www.senddart.com/api/suppressions?origin=bounce&limit=20",
    headers={"Authorization": "Bearer mb_xxxxxxxxx"},
)
print(res.json())
```

**Go**

```go
package main

import (
    "fmt"
    "io"
    "net/http"
)

func main() {
    req, _ := http.NewRequest("GET", "https://www.senddart.com/api/suppressions?origin=bounce&limit=20", nil)
    req.Header.Set("Authorization", "Bearer mb_xxxxxxxxx")
    res, _ := http.DefaultClient.Do(req)
    defer res.Body.Close()
    out, _ := io.ReadAll(res.Body)
    fmt.Println(string(out))
}
```

**Rust**

```rust
use reqwest::Client;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let res = Client::new()
        .get("https://www.senddart.com/api/suppressions?origin=bounce&limit=20")
        .header("Authorization", "Bearer mb_xxxxxxxxx")
        .header("User-Agent", "my-app/1.0")
        .send()
        .await?;
    println!("{}", res.text().await?);
    Ok(())
}
```

**Java**

```java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

var client = HttpClient.newHttpClient();
var request = HttpRequest.newBuilder()
    .uri(URI.create("https://www.senddart.com/api/suppressions?origin=bounce&limit=20"))
    .header("Authorization", "Bearer mb_xxxxxxxxx")
    .header("User-Agent", "my-app/1.0")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
var response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
```

**.NET**

```csharp
using System.Net.Http;
using System.Text;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://www.senddart.com/api/suppressions?origin=bounce&limit=20");
request.Headers.Add("Authorization", "Bearer mb_xxxxxxxxx");
request.Headers.Add("User-Agent", "my-app/1.0");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());
```

**cURL**

```bash
curl -X GET 'https://www.senddart.com/api/suppressions?origin=bounce&limit=20' \
  -H 'Authorization: Bearer mb_xxxxxxxxx'
```

### Response

```json
{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "object": "suppression",
      "id": "48213",
      "email": "pat@example.com",
      "origin": "bounce",
      "domain": null,
      "created_at": "2026-11-20T09:14:02.000Z"
    }
  ]
}
```

An unknown `origin`, a malformed date, a `limit` outside 1–100, or `after` and `before` together returns `422 validation_error`.
