---
title: "Import Suppressions"
method: POST
path: "/suppressions/import"
tags: ["suppressions"]
---

# Import Suppressions

`POST /suppressions/import`

## Request

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

Import Suppressions

## Request body

- SuppressionImportJson
  - `type` 'manual', required
  - `reason` string: Specifies a reason for suppressing imported email address/addresses
  - `content` string[], required: List of email addresses to suppress (at least one required).

## Response `200`

Sucess

Email Addresses were imported.

- SuppressionUploadResponse
  - `status` string
  - `valid` EmailAddress[]
  - `invalid` string[]

## Other responses

- `400`: Bad Request ###### Produces: * missing_upload_file * invalid_mail_address_list
- `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)
