---
title: "List custom sink packs"
method: POST
path: "/api/v2/customSinkPacks/listPacks"
tags: ["Custom Sink Packs"]
---

# List custom sink packs

`POST /api/v2/customSinkPacks/listPacks`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v2/customSinkPacks/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 sink packs with their templates. Packs are curated bundles of sink declaration templates covering common security-sensitive operations.

## Request body

- CustomSinkPacksListPacksInput
  - `organizationId` string, required

## Response `200`

List of all available sink packs

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