Create contact import
Registers an already-uploaded CSV as a pending import and returns at once.
Only the first bytes are read in the request, to settle the file’s
encoding and check the mapped columns against its header row: a
200.000-row file cannot be walked inside an HTTP round-trip, so the
response is an acknowledgement and a background scheduler picks the job up
within seconds. Poll
GET /contacts/imports/:importID (or listen for the socket event) for
progress.
Authorizations
Behalf of an Operator (default). A JWT issued by Talqui Core when an operator signs in, scoped to every tenant that operator belongs to. Send as Authorization: Bearer <jwt-token>.
Path Parameters
The tenant the contacts are imported into.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Body
fileID of the CSV the browser uploaded to talqui-services-storage (namespace "contact-imports", private, this tenant).
1 - 128CSV header → contact field. Targets: contactFullName, contactFirstname, contactLastname, contactPhone, contactEmail, or contactMeta..
Original file name, shown back to the operator.
1 - 255Tags applied to every imported contact, on top of the generated import tag.
201 - 64ISO country used to normalise phones typed without an international prefix.
2Column separator of the uploaded file: any single character except ", CR, LF and NUL.
1Text encoding of the uploaded file. Detected from its bytes when absent; a byte-order mark or a UTF-16 NUL pattern overrides a conflicting value.
utf-8, utf-16le, utf-16be, windows-1252, macintosh, ibm850 Line ending of the uploaded file. auto lets the parser detect it.
auto, lf, crlf, cr Response
Response for status 200.