---
title: "Gets all tasks for a template."
method: GET
path: "/api/template/tasks"
tags: ["Template"]
---

# Gets all tasks for a template.

`GET /api/template/tasks`

## Request

- Base URL: `https://app.checkflow.io` (the document declares no server; this is the origin it was published from)
- URL: `https://app.checkflow.io/api/template/tasks`
- Auth: none declared

If you do not know the key for the template you can use - GET: api/template/templates

Sample request:

    GET: api/template/tasks
    {
       "templateKey": "0e7ad584-7788-4ab1-95a6-ca0a5b444cbb"
    }

## Query parameters

- `templateKey` string

## Headers

- `X-API-VERSION` string
- `X-API-KEY` unknown

## Response `200`

Returns the matching tasks

## Other responses

- `401`: If the API Key could not be validated
- `404`: If no tasks are found

---

[API](https://skmtc.dev/checkflow/apis/checkflow-api.md) · [All operations](https://skmtc.dev/checkflow/apis/checkflow-api/llms.txt) · [OpenAPI document](https://skmtc.dev/checkflow/apis/checkflow-api/revisions/4004b1f66432?raw)
