---
title: "POST /api/v1/users/{user}/shortcuts"
method: POST
path: "/api/v1/users/{user}/shortcuts"
tags: ["ShortcutService"]
---

# POST /api/v1/users/{user}/shortcuts

`POST /api/v1/users/{user}/shortcuts`

CreateShortcut creates a new shortcut for a user.

## Path parameters

- `user` string, required

## Query parameters

- `validateOnly` boolean

## Request body

- Shortcut
  - `name` string — The resource name of the shortcut. Format: users/{user}/shortcuts/{shortcut}
  - `title` string, required — The title of the shortcut.
  - `filter` string — The filter expression for the shortcut.

## Response `200`

OK

- Shortcut
  - `name` string — The resource name of the shortcut. Format: users/{user}/shortcuts/{shortcut}
  - `title` string, required — The title of the shortcut.
  - `filter` string — The filter expression for the shortcut.

## Other responses

- `default` — Default error response

---

[API](https://skmtc.dev/usememos/apis/untitled-api.md) · [All operations](https://skmtc.dev/usememos/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usememos/untitled-api/revisions/d740073f088f/schema)
