Skip to main content

CreateProjectFromTemplateArgs

type CreateProjectFromTemplateArgs = {
file: Buffer | NodeJS.ReadableStream | string | Blob;
fileName?: string;
name: string;
workspaceId?: string | null;
};

Arguments for creating a project from a template file.

See

https://developer.todoist.com/api/v1/#tag/Templates/operation/create_project_from_file_api_v1_templates_create_project_from_file_post

Properties

file

file: Buffer | NodeJS.ReadableStream | string | Blob;

The template file content.


fileName?

optional fileName: string;

Optional file name (required for Buffer/Stream).


name

name: string;

Name for the new project.


workspaceId?

optional workspaceId: string | null;

Optional workspace ID.