---
title: "GET /instance/{InstanceId}/task/template"
method: GET
path: "/instance/{InstanceId}/task/template"
---

# GET /instance/{InstanceId}/task/template

`GET /instance/{InstanceId}/task/template`

Lists task templates for the specified Amazon Connect instance.

## Path parameters

- `InstanceId` string, required

## Query parameters

- `nextToken` string
- `maxResults` integer
- `status` 'ACTIVE' | 'INACTIVE'
- `name` string
- `MaxResults` string
- `NextToken` string

## Response `200`

Success

- ListTaskTemplatesResponse
  - `TaskTemplates` TaskTemplateMetadata[] — Provides details about a list of task templates belonging to an instance.
    - `Id` string — A unique identifier for the task template.
    - `Arn` string — The Amazon Resource Name (ARN) of the task template.
    - `Name` string — The name of the task template.
    - `Description` string — The description of the task template.
    - `Status` 'ACTIVE' | 'INACTIVE' — Marks a template as <code>ACTIVE</code> or <code>INACTIVE</code> for a task to refer to it. Tasks can only be created from <code>ACTIVE</code> templates. If a template is marked as <code>INACTIVE</code>, then a task that refers to this template cannot be created.
    - `LastModifiedTime` string, date-time — The timestamp when the task template was last modified.
    - `CreatedTime` string, date-time — The timestamp when the task template was created.
  - `NextToken` string — <p>If there are additional results, this is the token for the next set of results.</p> <important> <p>This is always returned as a null in the response.</p> </important>

## Other responses

- `480` — InvalidRequestException
- `481` — InvalidParameterException
- `482` — ResourceNotFoundException
- `483` — ThrottlingException
- `484` — InternalServiceException

---

[API](https://skmtc.net/aws/apis/connect.md) · [All operations](https://skmtc.net/aws/apis/connect/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/connect/versions/fbcf0a4faed2/schema)
