---
title: "List custom source packs"
method: POST
path: "/api/v2/customSourcePacks/listPacks"
tags: ["Custom Source Packs"]
---

# List custom source packs

`POST /api/v2/customSourcePacks/listPacks`

## Request

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

List all available custom source packs with their templates. Packs are curated bundles of source declaration templates covering common untrusted data entry points.

## Request body

- CustomSourcePacksListPacksInput
  - `organizationId` string, required

## Response `200`

List of all available source packs

- CustomSourcePack[]
  - `id` string, required
  - `slug` string, required
  - `name` string, required
  - `description` string, required
  - `longDescription` string, nullable, required
  - `sortOrder` integer, required
  - `templates` CustomSourcePackTemplate[], required
    - `id` string, required
    - `slug` string, required
    - `name` string, required
    - `description` string, required
    - `sourceBody` string, required
    - `parameterSchema` object, required
      - `parameters` object[], required
        - `name` string, required
        - `label` string
        - `type` string
        - `default` string
        - `description` string
        - `required` boolean
    - `defaultGlobPattern` string, required
    - `defaultSourceTypes` string[], required
    - `defaultEnabled` boolean, required
    - `sortOrder` integer, 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)
