Retrieve a bulk import
Changed onThis endpoint returns information about an "import"—a file of people, events, objects, relationships, or geofences that you uploaded using the v1/imports endpoint. You can use this endpoint to check the status of imports, or find out how many rows you successfully imported from a file.
Request
- Base URLhttps://api.customer.io
- URLhttps://api.customer.io/v1/imports/{import_id}
- AuthHTTP bearer
Path parameters
The id of the import you want to lookup. This value is returned from an import that was accepted and queued for processing.
Response
Returns an import payload.
Example response
{
"import": {
"id": "30",
"name": "account-object-import",
"description": "importing accounts",
"created_at": 1706081641,
"updated_at": 1706081645,
"rows_to_import": 3,
"rows_imported": 3,
"state": "imported",
"type": "object",
"data_to_process": "all",
"people_to_process": "all",
"object_type_id": "1",
"error": "possible error - The specified Object Type does not exist."
}
}Changes
- breaking
the
/////response's property type changed fromintegertostringfor status - warning
added the new
geosetenum value to the/////response property for the response status - warning
added the new
startenum value to the/////response property for the response status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status
- breaking
- info
added the media type
application/jsonfor the response with the status
- info