---
title: "List all snippets"
method: GET
path: "/v1/snippets"
tags: ["Snippets"]
---

# List all snippets

`GET /v1/snippets`

Lists all current snippets in your account.

## Query parameters

- `limit` integer — Limit the number of results
- `page` number — Page number

## Headers

- `x-checkly-account` string — Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general

## Response `200`

Successful

- Snippet[]
  - `id` number
  - `name` string — The snippet name.
  - `script` string — Your Node.js code that interacts with the API check lifecycle, or functions as a partial for browser checks.
  - `created_at` string, date-time
  - `updated_at` string, date-time, nullable

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests

---

[API](https://skmtc.net/checklyhq/apis/checkly-public-api.md) · [All operations](https://skmtc.net/checklyhq/apis/checkly-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/checklyhq/checkly-public-api/revisions/9e903da4f3da/schema)
