---
title: "Validates content import from a CSV file"
method: POST
path: "/api/v1/content/_import/_validate"
tags: ["Content Import", "Content"]
---

# Validates content import from a CSV file

`POST /api/v1/content/_import/_validate`

Creates and enqueues a content import job in preview mode. This validates the CSV data against the specified Content Type, language, and workflow action without actually importing content.

## Response `200`

Content import validation job successfully created and enqueued.

- ResponseEntityJobStatusView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` JobStatusResponse
    - `jobId` string
    - `statusUrl` string
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `400` — Bad Request: Invalid parameters or malformed request (e.g., missing file, invalid JSON in 'form', file not CSV).
- `401` — Unauthorized: Invalid or missing user authentication.
- `403` — Forbidden: User does not have necessary permissions for validation or workflow action.
- `404` — Not Found: Specified Content Type or Language could not be found.
- `500` — Internal Server Error: An unexpected error occurred during job creation or processing.

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
