Start a data import
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The type of record to import.
One or more tabular data files. Each row is one record; columns must match the fields of the chosen record type. At least one file part is required, but the form-part name itself is not significant — every uploaded file is processed regardless of the field name used (it need not literally be files).
Optional JSON object (sent as a string) with import options. See the Import options schema for the available settings.
{"allow_empty_phone": true}The import has been queued. Use the returned identifier to track it.
Identifier of the started import.
3f2a1c9e8b7d4a6f9c0e1d2b3a4c5e6fThe request could not be accepted — for example an unknown record type, or no data file was uploaded. Individual rows are validated while the import runs, not here; row-level problems appear via the errors endpoint.
Authentication credentials were missing or invalid.
The account does not have staff (admin) permission.
The import options could not be read as JSON.
POST /api/remote/1/migrations/start/{migration_key}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 61
{
"files": [
"binary"
],
"params": "{\"allow_empty_phone\": true}"
}{
"migration_id": "3f2a1c9e8b7d4a6f9c0e1d2b3a4c5e6f"
}Last updated
Was this helpful?

