latestOpenAPI 3.1.02026-08-211061591.1 MB

69a962f1578f

Templates

Export As Url

Get a template for a project as a shareable URL.

The URL can then be passed to https://todoist.com/api/v1/import/project_from_url?t_url=<url> to make a shareable template.

get/api/v1/templates/url

Query parameters

project_idstring required

String ID of the project to export as a template URL.

Example:6XGgm6PHrGgMpCFX
use_relative_datesboolean

Whether to export due dates as relative dates.

Example:true

Response

Successful Response

file_namestring required

Name of the exported template file.

file_urlstring uri required

Temporary URL for downloading the exported template.

Example response

{
  "file_name": "Project.csv",
  "file_url": "https://example.com/Project.csv"
}