---
title: "Get Snippets"
method: GET
path: "/v2/snippets"
tags: ["Snippets"]
---

# Get Snippets

`GET /v2/snippets`

## Request

- Base URL: `https://api.sidequestvr.com`
- URL: `https://api.sidequestvr.com/v2/snippets`
- Auth: none declared

Lists snippets newest first. Every snippet is public. Rows omit `code` -- read a single snippet for the markup. `users_id` narrows to one owner, `q` is a case-insensitive substring search over name, slug and description. `limit` is capped at 50.

## Query parameters

- `skip` integer
- `limit` integer
- `users_id` integer
- `slug` string
- `q` string
- `sortOn` string
- `descending` string

## Response `200`

Success

- Snippet[]
  - `snippets_id` integer, required: The unique ID of the snippet
  - `users_id` integer, required: The ID of the user that owns the snippet
  - `user_name` string: The display name of the owning user
  - `name` string, required: The name of the snippet
  - `slug` string, required: The unique lowercase handle used by the public code endpoint (GET /v2/snippets/code/{slug})
  - `description` string: The description of the snippet
  - `image_url` string: A URL to the snippet's card image
  - `code` string: The snippet markup. Omitted from list rows -- read a single snippet to get it.
  - `created_at` string, date-time, required: A timestamp indicating when the snippet was created
  - `last_modified` string, date-time, required: A timestamp indicating the last time the snippet was modified

## Other responses

- `400`: The data provided to the call was incorrect or incomplete.

## Changes

- **2026-10-12** `5f62fe19531f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sidequestvr/apis/sidequest-api/changes/v2/snippets/get.md)

---

[API](https://skmtc.dev/sidequestvr/apis/sidequest-api.md) - [All operations](https://skmtc.dev/sidequestvr/apis/sidequest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sidequestvr/apis/sidequest-api/revisions/015df326911c?raw)
