---
title: "Export As File"
method: GET
path: "/api/v1/templates/file"
tags: ["Templates"]
---

# Export As File

`GET /api/v1/templates/file`

Get a template for a project as a CSV file

## Query parameters

- `project_id` string, required — String ID of the project to export as a template.
- `use_relative_dates` boolean — Whether to export due dates as relative dates.

## Response `200`

Successful Response

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/todoist/apis/todoist-api.md) · [All operations](https://skmtc.net/todoist/apis/todoist-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/todoist/todoist-api/revisions/69a962f1578f/schema)
