latestOpenAPI 3.1.02026-08-211061591.1 MB

69a962f1578f

Templates

Import Into Project From File

A template can be imported in an existing project, or in a newly created one.

Upload a file suitable to be passed as a template to be imported into a project.

post/api/v1/templates/import_into_project_from_file

Response

Successful Response

status'ok' required

Always ok on success.

template_typestring required

Type of template that was imported.

Example response

{
  "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"
    }
  ]
}