POST/v1/contacts/import

Import contacts from a CSV upload

A completed csv upload. Columns are mapped to the contact fields (suggested from the headers when no mapping is given); columns left unmapped become attributes. Rows that cannot be identified are reported by line.

Scope contacts.manage

Body

uploadIdstringrequiredmin length 1
mappingobject

Returns

7 fields of the 200 answer
rowsintegerrequired
createdintegerrequired
updatedintegerrequired
invalidarray of objectsrequired
2 fields
lineintegerrequired
problemsarray of stringrequired
malformedLinesarray of integerrequired
mappingobjectrequired
totalintegerrequired

Responses

200Success
401Authentication required or API key invalid
403Permission or scope missing, organisation suspended
422Validation failed
429Rate limited for this API key and class; wait Retry-After seconds
otherError (RFC 9457 problem details)