---
title: "List pipeline snippets"
method: GET
path: "/v2/pipelines/{pipelineKey}/snippets"
tags: ["Snippets"]
---

# List pipeline snippets

`GET /v2/pipelines/{pipelineKey}/snippets`

## Request

- Base URL: `https://api.streak.com/api`
- URL: `https://api.streak.com/api/v2/pipelines/{pipelineKey}/snippets`
- Auth: HTTP bearer

Lists snippets shared with a pipeline, newest first. Omit limit to return all results.

## Path parameters

- `pipelineKey` string, required

## Query parameters

- `limit` integer
- `page` integer

## Response `200`

OK

- SnippetListResponseWithPaging: A page of Snippet(s), with an optional continuation cursor.
  - `hasNextPage` boolean: Whether another page is available. A page can be empty after permission filtering even when this is true.
  - `results` Snippet[], required: The Snippet(s) returned by this response, in result order.
    - `key` string, required: Key of the snippet.
    - `snippetName` string, nullable: Name of the snippet.
    - `snippetText` string, nullable: Email body, interpreted according to snippetType.
    - `snippetType` 'HTML' | 'TEXT', required
    - `subject` string, nullable: Optional email subject.
    - `snippetKeyShortcut` string, nullable: Shortcut typed to insert the snippet.
    - `userKey` string, nullable: User who owns the snippet; updates set this to the editor.
    - `pipelineKey` string, nullable: Pipeline the snippet is shared with; omitted for personal snippets.
    - `partOfPipeline` boolean, nullable: Whether the snippet is shared with a pipeline.
    - `creationDate` integer, nullable: When the snippet was created, in epoch milliseconds.
    - `lastSavedTimestamp` integer, required: When the snippet was last saved, in epoch milliseconds; zero for older records without a timestamp.
  - `cursor` string, nullable: Continuation cursor for endpoints that use cursor pagination. Pass it as cursor to request the next page. Omitted for page-number pagination and when no continuation cursor remains.

## Changes

- **2026-10-24** `0029d62629f5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/streakyc/apis/streak/changes/v2/pipelines/:pipelineKey/snippets/get.md)

---

[API](https://skmtc.dev/streakyc/apis/streak.md) - [All operations](https://skmtc.dev/streakyc/apis/streak/llms.txt) - [OpenAPI document](https://skmtc.dev/streakyc/apis/streak/revisions/3648671fd1cf?raw)
