Create import
POST/v1/imports
Import contacts from a CSV or JSON file (multipart, field file) or a JSON body {contacts}, with mapping_id, mapping or template.
The worker applies it.
Request body
A CSV or JSON file as multipart field file, or a JSON body with contacts. Name the columns with mapping_id, mapping or template.
Response
202Success
Response fields
import_idstringRequiredstatusstringRequiredsourcestringRequiredmapping_idstringRequired- May be null
total_countintegerRequiredcreated_countintegerRequiredupdated_countintegerRequiredrejected_countintegerRequiredprocessed_countintegerRequirederror_codestringRequired- May be null
created_atstringRequiredstarted_atstringRequired- May be null
finished_atstringRequired- May be null
Errors
401unauthorized. The key is missing, unknown or revoked403insufficient_scope. The key lacks the scope above403forbidden, orinsufficient_scope404not_found. the saved mapping409idempotency_conflict413file_too_large, orfile_invalidwithtoo_many_rows415unsupported_media_type422validation_error,file_invalidormapping_invalid503unavailable. file storage is not configured
Every error has the same shape. See Errors.