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

# Imports content from a CSV file

`POST /api/v1/content/_import`

Creates and enqueues a new content import job. Requires a CSV file and a JSON string representing import parameters.

## Response `200`

Content import job created successfully

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

## Other responses

- `400` — Bad request due to validation errors
- `401` — Invalid user authentication
- `403` — Forbidden due to insufficient permissions
- `404` — Content type or language not found
- `500` — Internal server error

---

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