---
title: "Upload Do Not Contact list from file"
method: POST
path: "/v3/user-api/do-not-contact/upload"
tags: ["Do Not Contact"]
---

# Upload Do Not Contact list from file

`POST /v3/user-api/do-not-contact/upload`

## Request

- Base URL: `https://api.nureply.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nureply.com/v3/user-api/do-not-contact/upload`
- Auth: none declared. Required headers: `x-personal-api-key`

Upload a CSV or TXT file containing email addresses or domains (one per line) to add to your Do Not Contact list. All entries will use the same reason and notes.

## Headers

- `x-personal-api-key` string, required

## Request body `multipart/form-data`

- UploadDNCFileDto
  - `file` string, binary, required: CSV or TXT file with one email/domain per line
  - `reason` 'unsubscribe' | 'bounce' | 'spam_complaint' | 'manual' | 'invalid' | 'other', required: Reason for blocking all entries in the file
  - `notes` string: Optional notes (max 500 characters)

## Response `200`

- UploadDNCFileResponseDto
  - `message` string, required
  - `data` DNCUploadResultDataDto, required
    - `totalProcessed` number, required
    - `added` number, required
    - `duplicates` number, required
    - `invalid` number, required
    - `duplicateValues` string[], required
    - `invalidValues` string[], required

## Other responses

- `400`
- `401`

---

[API](https://skmtc.dev/nureply/apis/nureply-api.md) - [All operations](https://skmtc.dev/nureply/apis/nureply-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nureply/apis/nureply-api/revisions/a754b8b5eb0a?raw)
