Projects
Import Project Template
Changed onImport a project template, returning tasks, comments, reminders and applied defaults.
Requires data:read_write and permission to apply templates to the project. The project must be active and unfrozen. Workspace templates can only be imported into their associated workspace. Setup templates are rejected; use /templates/{template_id}/use. The projects array is empty.
post/api/v1/projects/{project_id}/import_template
Request
- Base URLhttps://api.todoist.com
- URLhttps://api.todoist.com/api/v1/projects/{project_id}/import_template
- Authnone declared
Path parameters
project_idstring required
ID of the project to import into.
Example:6XGgm6PHrGgMpCFX
Request body
Example request
{
"template_id": "reading-list",
"locale": "en"
}Response
Successful Response
Example response
{
"project_view_options_defaults": [
{
"project_id": "6XGgm6PHrGgMpCFX",
"calendar_settings": {
"visible_day_count": 1
}
}
],
"status": "ok",
"template_type": "project",
"projects": [
{
"access": {
"configuration": {},
"visibility": "restricted"
},
"can_assign_tasks": false,
"can_comment": true,
"child_order": 1,
"color": "lime_green",
"created_at": "2025-01-15T10:30:00Z",
"creator_uid": "1234567",
"default_order": 0,
"description": "",
"id": "6XGgm6PHrGgMpCFX",
"is_archived": false,
"is_collapsed": false,
"is_deleted": false,
"is_favorite": false,
"is_frozen": false,
"is_shared": false,
"name": "Shopping List",
"order_key": "a1V",
"public_access": false,
"public_key": "",
"role": "CREATOR",
"updated_at": "2025-01-16T10:30:00Z",
"view_style": "list"
}
],
"sections": [
{
"added_at": "2025-01-15T10:30:00Z",
"description": "Tasks for the launch plan",
"id": "6fFPHV272WWh3gpW",
"is_archived": false,
"is_collapsed": false,
"is_deleted": false,
"name": "Introductions",
"order_key": "a1V",
"project_id": "6XGgm6PHrGgMpCFX",
"section_order": 1,
"updated_at": "2025-01-16T10:30:00Z",
"user_id": "1234567"
}
],
"tasks": [
{
"added_at": "2025-01-15T10:30:00Z",
"added_by_uid": "1234567",
"checked": false,
"child_order": 1,
"completed_count": 3,
"content": "Welcome the new hire",
"day_order": -1,
"description": "",
"id": "6XGgmFVcrG5RRjVr",
"is_collapsed": false,
"is_deleted": false,
"labels": [],
"note_count": 0,
"order_key": "a1V",
"postponed_count": 1,
"priority": 1,
"project_id": "6XGgm6PHrGgMpCFX",
"section_id": "6fFPHV272WWh3gpW",
"updated_at": "2025-01-16T10:30:00Z",
"user_id": "1234567"
}
],
"comments": [
{
"content": "Great idea!",
"id": "6Xw8x1xCFFw6Q5p9",
"is_deleted": false,
"item_id": "6XGgmFVcrG5RRjVr",
"posted_at": "2025-01-15T10:30:00Z",
"posted_uid": "1234567"
}
],
"project_notes": [
{
"content": "Project kickoff notes",
"id": "6Xw8x1xCFFw6Q5q0",
"is_deleted": false,
"posted_at": "2025-01-15T10:30:00Z",
"posted_uid": "1234567",
"project_id": "6XGgm6PHrGgMpCFX"
}
],
"reminders": [
{
"due": {
"date": "2025-02-12T09:00:00",
"lang": "en",
"timezone": "Europe/Madrid"
},
"id": "6XGgmFQrx44wfGHr",
"is_deleted": false,
"is_urgent": false,
"item_id": "6XGgmFVcrG5RRjVr",
"minute_offset": 30,
"notify_uid": "1234567",
"type": "relative"
}
],
"discarded_fields": [
{
"field": "duration",
"reason": "workspace_plan_limit"
}
]
}Changes
- info
endpoint added
- info