---
title: "Import subscribers"
method: POST
path: "/1/newsletters/{domain}/subscribers/import"
tags: ["Subscribers"]
---

# Import subscribers

`POST /1/newsletters/{domain}/subscribers/import`

Import subscribers from a upload id.

By default, if subscribers exists replace the custom fields with the new values

## Path parameters

- `domain` string, required

## Request body

- object
  - `csv_enclosure` string
  - `csv_separator` string
  - `fields` string[], required — Object keys must correspond to field's id (integer), or its description (type + name).
  - `groups` string[] — An array of valid identifiers or the names of groups to be created.
  - `ipd_uuid` string
  - `replace_fields` boolean
  - `upload_id` integer

## Response `200`

OK

- Response
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request

## Other responses

- `403` — Forbidden

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
