---
title: "Public Get Import Mapping Preview"
method: GET
path: "/imports/{import_id}/mapping-preview"
tags: ["Campaigns"]
---

# Public Get Import Mapping Preview

`GET /imports/{import_id}/mapping-preview`

## Request

- Base URL: `https://public.outreach2day.com`
- URL: `https://public.outreach2day.com/imports/{import_id}/mapping-preview`
- Auth: HTTP bearer

## Path parameters

- `import_id` string, required

## Query parameters

- `workspaceId` integer, required

## Response `200`

Successful Response

- CampaignImportMappingEnvelopeOut
  - `import` CampaignImportJobOut
    - `id` integer, nullable
    - `importId` string, nullable
    - `workspaceId` integer, nullable
    - `campaignId` string, nullable
    - `status` string, nullable
    - `filename` string, nullable
    - `contentType` string, nullable
    - `filePath` string, nullable
    - `fileSizeBytes` integer, nullable
    - `totalRows` integer, nullable
    - `processedRows` integer, nullable
    - `successRows` integer, nullable
    - `failedRows` integer, nullable
    - `invalidRows` integer, nullable
    - `mappingStatus` string, nullable
    - `mappingVersion` integer, nullable
    - `idempotencyKey` string, nullable
    - `rowIdempotencyScope` string, nullable
    - `errorCode` string, nullable
    - `errorMessage` string, nullable
    - `meta` object
    - `queuedAt` string, date-time, nullable
    - `startedAt` string, date-time, nullable
    - `completedAt` string, date-time, nullable
    - `createdAt` string, date-time, nullable
    - `updatedAt` string, date-time, nullable
  - `mapping` CampaignImportMappingOut
    - `id` integer, nullable
    - `importJobId` integer, nullable
    - `version` integer, nullable
    - `status` string, nullable
    - `sourceHeaders` string[]
    - `targetSchema` object[]
    - `suggestions` object
    - `mapping` object
    - `conflicts` object[]
    - `explain` object
    - `confidenceAvg` number, nullable
    - `autoConfirmable` boolean, nullable
    - `confirmedByUserId` integer, nullable
    - `createdAt` string, date-time, nullable
    - `confirmedAt` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/outreach2day/apis/outreach-today-public-api.md) · [All operations](https://skmtc.dev/outreach2day/apis/outreach-today-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/outreach2day/apis/outreach-today-public-api/revisions/0e5471143371?raw)
