---
title: "POST /gdc/dataload/internal/projects/{projectId}/csv/generateTemplates"
method: POST
path: "/gdc/dataload/internal/projects/{projectId}/csv/generateTemplates"
---

# POST /gdc/dataload/internal/projects/{projectId}/csv/generateTemplates

`POST /gdc/dataload/internal/projects/{projectId}/csv/generateTemplates`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/dataload/internal/projects/{projectId}/csv/generateTemplates`
- Auth: none declared

## Request body

- CsvTemplate
  - `csvTemplate` object, required
    - `datasets` string[], required

## Response `202`

OK - generate template from CSV

- NewAsyncTask: New taskman async task used in all new API resources. It contains `links` element in plural which complies with our API rules.
  - `asyncTask` object, required
    - `links` AsyncTaskPollLink, required
      - `poll` string, uri, required: URI of the polling resource

## Other responses

- `400`: Bad Request
- `403`: Forbidden - if current user is not the owner of the project
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/gooddata/apis/gooddata-api-documentation.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/revisions/e5dc0ee6ab00?raw)
