---
title: "List enabled source template instances"
method: POST
path: "/api/v2/customSourcePacks/listTemplateInstances"
tags: ["Custom Source Packs"]
---

# List enabled source template instances

`POST /api/v2/customSourcePacks/listTemplateInstances`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v2/customSourcePacks/listTemplateInstances`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

List all custom source template instances enabled for the organization, with template and pack metadata.

## Request body

- CustomSourcePacksListTemplateInstancesInput
  - `organizationId` string, required

## Response `200`

List of enabled template instances

- CustomSourceTemplateInstance[]
  - `id` string, required
  - `templateId` string, required
  - `declarationId` string, required
  - `parameterValues` object, required
  - `template` object, required
    - `slug` string, required
    - `name` string, required
    - `pack` object, required
      - `slug` string, required
      - `name` string, required
  - `createdAt` string, date-time, required

## Other responses

- `401`: Error Response

---

[API](https://skmtc.dev/zeropath/apis/zeropath-api.md) - [All operations](https://skmtc.dev/zeropath/apis/zeropath-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zeropath/apis/zeropath-api/revisions/126e9c80ba0d?raw)
