Company logoTrust Center Documentation

Get an import

Retrieve one import session with its counters and review state. While the import is in progress the response carries `previewRows` for review; once it…

GET
/api/v1/imports/{id}

Retrieve one import session with its counters and review state. While the import is in progress the response carries previewRows for review; once it reaches completed those are replaced by commitResult.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Import session identifier

Formatuuid

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/imports/550e8400-e29b-41d4-a716-446655440000"
{  "import": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "sourceType": "spreadsheet",    "sourceLabel": "string",    "state": "created",    "phase": "string",    "mapping": {      "question": "string",      "answer": "string"    },    "defaults": {      "access_level": "public"    },    "rowCount": 0,    "validCount": 0,    "warningCount": 0,    "errorCount": 0,    "progressCurrent": 0,    "progressTotal": 0,    "aiSkipped": true,    "requiresLessRestrictiveConfirmation": true,    "accessLevelSummary": {      "property1": 0,      "property2": 0    },    "previewRows": [      {        "rowIndex": 0,        "status": "valid",        "codes": [          "string"        ],        "suggested_access_level": "public"      }    ],    "commitResult": {},    "lastErrorCode": "string"  }}

How is this guide?