Skip to main content

ImportTemplateIntoProjectArgs

type ImportTemplateIntoProjectArgs = {
file: Buffer | NodeJS.ReadableStream | string | Blob;
fileName?: string;
projectId: string;
};

Arguments for importing a template file into an existing project.

See

https://developer.todoist.com/api/v1/#tag/Templates/operation/import_into_project_from_file_api_v1_templates_import_into_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).


projectId

projectId: string;

The project ID to import into.