---
title: "Export Suppressions data in CSV file"
method: GET
path: "/suppressions/csv"
tags: ["suppressions"]
---

# Export Suppressions data in CSV file

`GET /suppressions/csv`

## Request

- Base URL: `https://pro.api.serversmtp.com/api/v2`
- URL: `https://pro.api.serversmtp.com/api/v2/suppressions/csv`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `consumerKey` and API key in header `consumerSecret`

Export Suppressions data in CSV file

## Query parameters

- `from` string, date, required: Start date
- `to` string, date, required: End date
- `tz` string: Timezone Offset
- `filter` string: Query to search
- `filter_by` SuppressionSource[]: Filter by
- `smart_search` boolean, nullable: Smart search
- `orderby` 'date' | 'source' | 'recipient' | 'reason': Field to sort by
- `ordertype` 'asc' | 'desc': Order Ascending or Descending.

## Response `200`

Suppressions CSV data

## Other responses

- `401`: Unauthorized This API requires a valid API Key to be provided. (Use [/authentication/authorize](#/authentication/AuthenticationLogin) to obtain an API Key) Produces: * missing_authorization_key * invalid_authorization_key * account_is_inactive

---

[API](https://skmtc.dev/serversmtp/apis/turbosmtp-public-apis.md) - [All operations](https://skmtc.dev/serversmtp/apis/turbosmtp-public-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/serversmtp/apis/turbosmtp-public-apis/revisions/8503e099b215?raw)
