Templates

Generate Description

Changed on

Generates an AI description from a project or saved template. Supply project_id or template_id. Requires data:read_write, access to the source and the AI template descriptions feature.

post/api/v1/templates/generate_description

Request

  • Base URL
    https://api.todoist.com
  • URL
    https://api.todoist.com/api/v1/templates/generate_description
  • Auth
    none declared

Request body

project_idstring nullable

Project to summarize. Takes precedence when template_id is also supplied.

template_idstring nullable

Saved template to summarize.

localestring

Language for the generated description.

Example request

{
  "project_id": "6XGgm6PHrGgMpCFX",
  "template_id": "UT_28Rc62VC22j439VcPJMw9xgWx2",
  "locale": "en"
}

Response

Successful Response

descriptionstring required

AI-generated template description.

Example response

{
  "description": "A weekly planning workflow."
}

Changes