---
updatedAt: 2026-05-28T16:30:44.000Z
agentTools:
  projectIndex: https://marketing.developer.dotdigital.com/llms.txt
---

# Retrieve the status of a Insight data import request

Retrieves the status of a Insight data import request and the results if available.

<span class="callRateUnlimited"></span>

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Insight data service",
    "description": "Manage Insight data collections and records at both account and contact level. Use this API to bulk-import records via asynchronous upsert, retrieve and update individual records, create and delete collections, empty collections, and poll the status of import or asynchronous operations. Insight data makes structured behavioural and transactional data — such as orders, product catalogues, and web activity — available to drive personalisation, segmentation, and product recommendations across your campaigns.\n",
    "version": "3.3.1"
  },
  "externalDocs": {
    "description": "Learn more about Dotdigital APIs",
    "url": "https://developer.dotdigital.com"
  },
  "servers": [
    {
      "url": "https://{region}-api.dotdigital.com",
      "variables": {
        "region": {
          "description": "The Dotdigital region id your account belongs to",
          "enum": [
            "r1",
            "r2",
            "r3"
          ],
          "default": "r1"
        }
      }
    }
  ],
  "security": [
    {
      "basicAuth": []
    }
  ],
  "paths": {
    "/insightData/v3/import/{importId}": {
      "get": {
        "summary": "Retrieve the status of a Insight data import request",
        "description": "Retrieves the status of a Insight data import request and the results if available.",
        "operationId": "getImportStatus",
        "parameters": [
          {
            "name": "importId",
            "in": "path",
            "description": "The import id you want the status for",
            "required": true,
            "schema": {
              "type": "string",
              "example": "d7de900d-d337-43f6-b1e1-c8ec73e1a434"
            }
          },
          {
            "name": "x-ddg-integration-token",
            "in": "header",
            "description": "If you are a partner of Dotdigital and have a [verified integration](https://developer.dotdigital.com/docs/partner-integration-verification) then include your [integration tracking token](https://developer.dotdigital.com/docs/verified-integration-tracking) here.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid",
              "example": "5a96bc79-19a7-4544-973b-e2da0c9136f9"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "required": [
                    "importId",
                    "status"
                  ],
                  "type": "object",
                  "properties": {
                    "importId": {
                      "type": "string",
                      "description": "The import request ID",
                      "example": "d7de900d-d337-43f6-b1e1-c8ec73e1a434"
                    },
                    "status": {
                      "type": "string",
                      "example": "Finished",
                      "enum": [
                        "NotStarted",
                        "Processing",
                        "Complete",
                        "Failed"
                      ]
                    },
                    "collectionName": {
                      "$ref": "#/components/schemas/collectionName"
                    },
                    "summary": {
                      "type": "object",
                      "properties": {
                        "totalRecords": {
                          "type": "integer",
                          "description": "The number of records submitted for import",
                          "format": "int32",
                          "example": 10
                        },
                        "totalImported": {
                          "type": "integer",
                          "description": "The number of records successfully imported",
                          "format": "int32",
                          "example": 9
                        },
                        "totalRejected": {
                          "type": "integer",
                          "description": "The number of records that were rejected due to an issue",
                          "format": "int32",
                          "example": 1
                        }
                      }
                    },
                    "failures": {
                      "minItems": 1,
                      "type": "array",
                      "description": "The failed to import Insight data records for the collection",
                      "items": {
                        "allOf": [
                          {
                            "description": "Details of the owner of the collection being targeted"
                          },
                          {
                            "required": [
                              "collectionOwner"
                            ],
                            "type": "object",
                            "properties": {
                              "collectionOwner": {
                                "$ref": "#/components/schemas/collectionOwner"
                              }
                            }
                          },
                          {
                            "required": [
                              "failureReason"
                            ],
                            "type": "object",
                            "properties": {
                              "failureReason": {
                                "type": "string",
                                "description": "The reason the record could not be imported",
                                "enum": [
                                  "Unknown",
                                  "InvalidClientKey",
                                  "InvalidContactIdentifier",
                                  "InvalidJson",
                                  "DuplicateKey",
                                  "ContactIdDoesNotExist",
                                  "ContactEmailDoesNotExist",
                                  "JsonContainsNestedArray",
                                  "JsonKeyTooLong",
                                  "JsonKeyInvalidCharacters",
                                  "JsonValueTooLong",
                                  "JsonValueIncompatibleWithSchema",
                                  "JsonNumberValueTooLarge"
                                ]
                              },
                              "details": {
                                "type": "array",
                                "description": "Any additional failure details",
                                "items": {
                                  "type": "string",
                                  "description": "A failure reason"
                                }
                              }
                            }
                          },
                          {
                            "$ref": "#/components/schemas/insightRecord"
                          }
                        ]
                      }
                    }
                  }
                },
                "examples": {
                  "Import in progress": {
                    "value": {
                      "importId": "d7de900d-d337-43f6-b1e1-c8ec73e1a434",
                      "status": "NotStarted"
                    }
                  },
                  "Import complete": {
                    "value": {
                      "importId": "d7de900d-d337-43f6-b1e1-c8ec73e1a434",
                      "status": "Finished",
                      "collectionName": "Orders",
                      "summary": {
                        "totalRecords": 10,
                        "totalImported": 9,
                        "totalRejected": 1
                      },
                      "failures": [
                        {
                          "collectionOwner": {
                            "ownerType": "contact",
                            "contactIdentity": {
                              "identifier": "email",
                              "value": "joe.bloggs@emailsim.io"
                            }
                          },
                          "failureReason": "Unknown",
                          "details": [
                            "Field 'name' is required but was missing",
                            "Field 'price' is expected to be a number"
                          ],
                          "key": "24938",
                          "json": {
                            "PurchaseDate": "2020-01-01T09:40:18.527Z",
                            "TotalExTax": 56,
                            "TotalIncTax": 67.2,
                            "SalesChannel": "In store",
                            "SalesSubChannel": "Manchester",
                            "Product": {
                              "Name": "Armani Jeans beanie hat",
                              "Brand": "Armani Jeans",
                              "Department": "Menswear",
                              "Category": "Hat",
                              "PriceExTax": 56,
                              "ProductID": "24938"
                            }
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/errorResponse"
                },
                "example": {
                  "errorCode": "insightData:invalidId",
                  "description": "The id value '123646' is invalid for the identifier 'email'"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Import request not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/errorResponse"
                },
                "example": {
                  "errorCode": "insightData:importNotFound",
                  "description": "The import request 'd7de900d-d337-43f6-b1e1-c8ec73e1a434' could not be found!"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "collectionName": {
        "maxLength": 255,
        "pattern": "(^[-A-Za-z_][-A-Za-z0-9_]{1,255}$)",
        "type": "string",
        "description": "Name of the Insight data collection",
        "example": "Orders"
      },
      "insightRecord": {
        "required": [
          "json",
          "key"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "The unique key for the record",
            "example": "24938"
          },
          "json": {
            "type": "object",
            "additionalProperties": true,
            "format": "json",
            "example": {
              "PurchaseDate": "2020-01-01T09:40:18.527Z",
              "TotalExTax": 56,
              "TotalIncTax": 67.2,
              "SalesChannel": "In store",
              "SalesSubChannel": "Manchester",
              "Product": {
                "Name": "Armani Jeans beanie hat",
                "Brand": "Armani Jeans",
                "Department": "Menswear",
                "Category": "Hat",
                "PriceExTax": 56,
                "ProductID": "24938"
              }
            }
          }
        },
        "description": "An Insight data record"
      },
      "collectionOwner": {
        "required": [
          "ownerType"
        ],
        "type": "object",
        "properties": {
          "ownerType": {
            "type": "string",
            "enum": [
              "account",
              "contact"
            ]
          },
          "contactIdentity": {
            "$ref": "#/components/schemas/contactIdentifier"
          }
        }
      },
      "errorResponse": {
        "required": [
          "description",
          "errorCode"
        ],
        "type": "object",
        "properties": {
          "errorCode": {
            "type": "string",
            "description": "Unique error code"
          },
          "description": {
            "type": "string",
            "description": "Description of the issue"
          },
          "details": {
            "type": "array",
            "items": {
              "required": [
                "description",
                "item"
              ],
              "type": "object",
              "properties": {
                "item": {
                  "type": "string",
                  "description": "Item the error is associated with, for example, field name, unique identifier for an entity or item in batch"
                },
                "description": {
                  "type": "string",
                  "description": "Description of the error"
                }
              }
            }
          }
        }
      },
      "contactIdentifier": {
        "required": [
          "identifier",
          "value"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "description": "The field to use to uniquely identify the contact. This can be a custom identifier or a contact identifer of contactId, email or mobileNumber",
            "example": "contactId"
          },
          "value": {
            "type": "string",
            "description": "The unique value to identify the contact or the same type as the **identifier**",
            "nullable": true,
            "example": "fred.bloggs@emailsim.io"
          }
        }
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "x-samples-languages": [
    "curl",
    "csharp",
    "java",
    "javascript",
    "node",
    "python",
    "php",
    "ruby"
  ]
}
```

# Sibling pages

* [Bulk imports Insight data](https://marketing.developer.dotdigital.com/reference/importinsightdata.md)