See what a CSV import would do without importing it (always a dry run)
post/crm/bulk/import/preview
See what a CSV import would do without importing it (always a dry run). The import itself needs a key with the contacts:admin scope.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
contacts:write- Graphql
Mutation.contactsBulkImportPreview- Sdk
contacts.bulkImport.preview- Cli
contacts bulk import preview
Request bodyapplication/json, required
- csvstringrequiredAt most 20000000 characters.
- mappingobject
- onExistingstringOne of: skip, fill, overwrite.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring