List task templates

Lists the active task templates (checklists) of a department.

GET https://cotlet.dev/api/v1/breezeway/templates

read

Returns each active template with its ID, name and department. The template ID goes into create_task. Templates are created in the app, under Settings > Tasks > Templates.

Parameters

Parameters: list_templates
NameTypeDescription
department string string One of housekeeping, inspection, maintenance, safety. Omit for all.

Request

cURL
curl https://cotlet.dev/api/v1/breezeway/templates \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("breezeway", "list_templates")
Node.js
const result = await cotlet.call('breezeway', 'list_templates');
CLI
cotlet call breezeway list_templates

Example response

JSON

{
  "templates": [
    {
      "template_id": 27,
      "name": "Default Inspection",
      "department": "inspection"
    },
    {
      "template_id": 31,
      "name": "Plumbing issue",
      "department": "maintenance"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.