Subscribers

Import subscribers

Import subscribers from a upload id.

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

post/1/newsletters/{domain}/subscribers/import

Path parameters

domainstring required

Request body

csv_enclosurestring
csv_separatorstring
fieldsstring[] required

Object keys must correspond to field's id (integer), or its description (type + name).

groupsstring[]

An array of valid identifiers or the names of groups to be created.

ipd_uuidstring
replace_fieldsboolean
upload_idinteger

Example request

{
  "fields": [
    "{\"type\": \"str\",\"name\": \"enterprise\"}"
  ]
}

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.