Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Use an API key from https://nuntly.com/api-keys. Required on every endpoint.

Headers

Idempotency-Key
string

Unique key to ensure the request is processed at most once. UUIDv4 recommended.

Required string length: 1 - 255

Body

application/json
onConflict
enum<string>

What to do with a row whose address matches an existing contact: update it (upsert) or leave it unchanged (skip). Defaults to upsert.

Available options:
upsert,
skip
format
enum<string>

The file format. Defaults to csv.

Available options:
csv
declaredFileSize
number

The size of the file you will upload, in bytes, at most 20971520. The upload accepts no larger file.

columnMapping
object

Maps a header of the file to its target. Headers are compared after removing surrounding whitespace, letter case significant. Exactly one header maps to the email. Unmapped columns are ignored.

Example:
segments
object[]

Segments every imported contact is added to, at most 25. Duplicates are collapsed.

topics
object[]

Topic states applied to every imported contact, at most 25. Identical entries are collapsed; a topic listed with two states is refused.

Response

Created.

data
object
required